summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/cl/clog-cli/package.nix
blob: 58feba94321c1aa4b38c50d2274d302a41fde9a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
  fetchFromGitHub,
  rustPlatform,
  lib,
}:

rustPlatform.buildRustPackage {
  pname = "clog-cli";
  version = "0.10.0";

  src = fetchFromGitHub {
    owner = "clog-tool";
    repo = "clog-cli";
    # Tag seems to be missing:
    # https://github.com/clog-tool/clog-cli/issues/128
    rev = "7066cba2bcbaea0f62ea22c320d48dac20f36a38";
    sha256 = "sha256-d1csT7iHf48kLkn6/cGhoIoEN/kiYc6vlUwHDNmbnMI=";
  };

  cargoHash = "sha256-b8/n3y6fTqP5+rZySEDEb8Z5DPHQ2jUasp5SvaJJlGo=";

  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";
  };
}