nixpkgs/pkgs/by-name/ad/adrs/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
645 B
Nix
Raw Normal View History

2024-04-26 19:10:37 +00:00
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "adrs";
2024-09-01 13:47:28 +00:00
version = "0.2.9";
2024-04-26 19:10:37 +00:00
src = fetchFromGitHub {
owner = "joshrotenberg";
repo = "adrs";
rev = "v${version}";
2024-09-01 13:47:28 +00:00
hash = "sha256-a1vxo2Zw2fvCJeGaatNqf2h74t7pvWppYS2l2gbCF5k=";
2024-04-26 19:10:37 +00:00
};
2024-09-01 13:47:28 +00:00
cargoHash = "sha256-eVADcCXf6hl9o9pApp3inU7kZAKA3k5mM3+vy7cq5u8=";
2024-04-26 19:10:37 +00:00
meta = {
description = "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";
};
}