nixpkgs/pkgs/development/tools/clog-cli/default.nix

25 lines
646 B
Nix

{ fetchFromGitHub, rustPlatform, lib }:
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];
mainProgram = "clog";
};
}