nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ fetchFromGitHub, rustPlatform, lib }:
2
3with rustPlatform;
4
5buildRustPackage rec {
6 pname = "clog-cli";
7 version = "0.9.3";
8
9 src = fetchFromGitHub {
10 owner = "clog-tool";
11 repo = "clog-cli";
12 rev = "v${version}";
13 sha256 = "1wxglc4n1dar5qphhj5pab7ps34cjr7jy611fwn72lz0f6c7jp3z";
14 };
15
16 cargoSha256 = "0xcgzlcmlk5ycw4kklprm8lzs72j2zp8xm3dcpy606z4r9qn0c6a";
17
18 meta = {
19 description = "Generate changelogs from local git metadata";
20 homepage = "https://github.com/clog-tool/clog-cli";
21 license = lib.licenses.mit;
22 platforms = lib.platforms.unix;
23 maintainers = [lib.maintainers.nthorne];
24 mainProgram = "clog";
25 };
26}