nixpkgs/pkgs/development/tools/clog-cli/default.nix
Benjamin Hipple eb11feaa0b treewide: change fetchCargoTarball default to opt-out
Changes the default fetcher in the Rust Platform to be the newer
`fetchCargoTarball`, and changes every application using the current default to
instead opt out.

This commit does not change any hashes or cause any rebuilds. Once integrated,
we will start deleting the opt-outs and recomputing hashes.

See #79975 for details.
2020-02-13 22:41:37 -08:00

29 lines
734 B
Nix

{ fetchFromGitHub, rustPlatform, stdenv }:
with rustPlatform;
buildRustPackage rec {
pname = "clog-cli";
version = "0.9.3";
src = fetchFromGitHub {
owner = "clog-tool";
repo = "clog-cli";
rev = "v${version}";
sha256 = "1wxglc4n1dar5qphhj5pab7ps34cjr7jy611fwn72lz0f6c7jp3z";
};
# Delete this on next update; see #79975 for details
legacyCargoFetcher = true;
cargoSha256 = "1i1aq7bwkx8sqrlpxq24ldh908j72lwi2r3sg9zaz5p8xq1xgq6p";
meta = {
description = "Generate changelogs from local git metadata";
homepage = https://github.com/clog-tool/clog-cli;
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.unix;
maintainers = [stdenv.lib.maintainers.nthorne];
};
}