about summary refs log tree commit diff
path: root/pkgs/by-name/ad/adrs/package.nix
blob: 0b4d49fbea22e20e8d1acbaf25b1bab25d18ee4c (plain) (blame)
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
{ lib
, rustPlatform
, fetchFromGitHub
}:

rustPlatform.buildRustPackage rec {
  pname = "adrs";
  version = "0.2.8";

  src = fetchFromGitHub {
    owner = "joshrotenberg";
    repo = "adrs";
    rev = "v${version}";
    hash = "sha256-5rvdW2UntseSsKFndrDj9ogH/qYN+KymuOsuqS0/C3M=";
  };

  cargoHash = "sha256-WqsZ+ICfKrackQ5dMs/WvF3inJX+k9LhxAJkXmaVAtY=";

  meta = {
    description = "A command-line tool for managing Architectural Decision Records";
    homepage = "https://github.com/joshrotenberg/adrs";
    license = with lib.licenses; [ mit asl20 ];
    maintainers = with lib.maintainers; [ dannixon ];
    mainProgram = "adrs";
  };
}