nixpkgs/pkgs/development/tools/clog-cli/default.nix
Daniël de Kok 85f96822a0 treewide: fix cargoSha256/cargoHash
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in
which cargo vendor erroneously changed permissions of vendored
crates. This was fixed in Rust
1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all
cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are
potentially broken.

This change updates cargoSha256/cargoHash tree-wide.

Fixes #121994.
2021-05-08 00:36:37 -07:00

26 lines
627 B
Nix

{ fetchFromGitHub, rustPlatform, lib }:
with rustPlatform;
buildRustPackage rec {
pname = "clog-cli";
version = "0.9.3";
src = fetchFromGitHub {
owner = "clog-tool";
repo = "clog-cli";
rev = "v${version}";
sha256 = "1wxglc4n1dar5qphhj5pab7ps34cjr7jy611fwn72lz0f6c7jp3z";
};
cargoSha256 = "0xcgzlcmlk5ycw4kklprm8lzs72j2zp8xm3dcpy606z4r9qn0c6a";
meta = {
description = "Generate changelogs from local git metadata";
homepage = "https://github.com/clog-tool/clog-cli";
license = lib.licenses.mit;
platforms = lib.platforms.unix;
maintainers = [lib.maintainers.nthorne];
};
}