- Output
tag = "...";instead ofrevfor all supported fetchers (#395). To adapt to this change, instead of--overwrite(-str) rev <VALUE>, use--overwrite-rev <VALUE>or--overwrite-rev-str <VALUE>, which also works forfetchCrateandfetchHex. fetchhgandfetchsvnnow outputhashinstead ofsha256
fetchurl,fetchzip,fetchpatch, andfetchpatch2support (#420)- Use a GitHub token for authorization if it exists (#388)
--overwrite-revand--overwrite-rev-stras alternatives to--overwrite-rev(-str) (rev|tag|version)(#419)fetchFromGitLabsupport for https://framagit.org (#428)fetchFromGiteasupport for https://git.lix.systems (#428)- More colorful errors
- Add
flakesto extra experimental features (#220) - Support subgroups with
fetchFromGitLab(#410) - Group escaping with Nix 2.18+ and
fetchFromGitLab - Fetch submodules correctly with
fetchhg
- Output a final newline with
--exprwhen printing to a terminal
- Switch from
--experimental-featuresto--extra-experimental-features(#147)
- output a final newline when printing to a terminal (#94)
- remove workaround for "cannot find git revision"
--exprto get the hash of arbitrary fixed-output derivations
- Let git-based fetchers fallback to FOD to work around nixos/nix#5128
- Fix outdated Cargo.lock
- Optimize
fetchPypiwith extension specified - Optimize converting hashes from base32 to SRI
--submodulesto fetch submodules instead of using the fetcher's default (#9)--nixpkgsto override the nixpkgs used for fixed-output derivations- Recognize
invent.kde.orgas a GitLab instance - Recognize
repo.palemoon.orgas a Gitea instance
--fallbackto specify a fetcher to fall back tofetchPypisupportbuiltins.fetchGitsupport
--hashto only output the hash--parseto parse the URL into JSON without fetching the hashfetchCratesupportfetchHexsupport
- Correctly handle GitLab URLs that point to something other than the root (e.g. issues) of a project without a group
- Support fetching the latest revision for
fetchFromGitHub,fetchFromGitLab, andfetchFromGitea - Allow hyphen-separated values for
--lisp-sep - Recognize
salsa.debian.orgas a GitLab instance
- Correctly handle trailing
.gitwithfetchFromGitLab
- Fix
fetchhgoutput:hash->sha256
- Support GitLab repositories under groups
--list-septo print out the listed fetchers with the specified separatorfetchsvnsupportfetchFromGiteasupport for https://gitea.com and https://notabug.org- Better support for URL schemes
- Lots of tests
- Correctly fetch with FOD when
--arg-stris specified for URL fetchers
- with
--json, values specified by--argare wrapped like this:{"type": "nix", "value": "<Nix expression>"}to differentiate from strings
- Correctly handle git:// URLs
--arg-strto additional arguments to pass to the fetcher as strings--overwriteto overwrite arguments in the final output (#2)--overwrite-strto overwrite arguments in the final output as strings (#2)
- Correctly set
experimental-featuresfor Nix calls - Fetch submodules for
fetchgit
- Typos
fetchFromGitHubnow correctly setsgithubBasewhen domain is not github.com
--argto pass extra rguments to the fetcher--jsonto output in json format--list-fetchersto list all available fetchers--list-possible-fetchersto list all fetchers that can be generated without--fetcher- Support for the following fetchers
fetchFromBitbucket(https://bitbucket.org)fetchFromGitea(and https://codeberg.org)fetchFromGitiles(and https://googlesource.com)fetchFromRepoOrCz(https://repo.or.cz)
- Man page
- Shell completions
- Nix flake
- Colored output
First release