diff options
author | Gustavo Coutinho de Souza <dev@onemoresuza.mailer.me> | 2023-10-25 19:50:31 -0300 |
---|---|---|
committer | Gustavo Coutinho de Souza <dev@onemoresuza.mailer.me> | 2023-10-26 08:02:21 -0300 |
commit | 82ee010f3e7a9ae0943c411ac48cdcfae9aa7421 (patch) | |
tree | 17cafa57dedbd4bf814dc17e0e28683852177930 /pkgs/by-name/ab | |
parent | 566a1ef74baae96c9488d1021d08260ac621ad0a (diff) |
aba: init at 0.7.0
Diffstat (limited to 'pkgs/by-name/ab')
-rw-r--r-- | pkgs/by-name/ab/aba/package.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/by-name/ab/aba/package.nix b/pkgs/by-name/ab/aba/package.nix new file mode 100644 index 0000000000000..4e62d4da8d0ce --- /dev/null +++ b/pkgs/by-name/ab/aba/package.nix @@ -0,0 +1,53 @@ +{ fetchFromSourcehut +, just +, lib +, nix-update-script +, rustPlatform +, scdoc +}: +let + version = "0.7.0"; +in +rustPlatform.buildRustPackage { + pname = "aba"; + inherit version; + + src = fetchFromSourcehut { + owner = "~onemoresuza"; + repo = "aba"; + rev = version; + hash = "sha256-YPE5HYa90BcNy5jdYbzkT81KavJcbSeGrsWRILnIiEE="; + domain = "sr.ht"; + }; + + cargoSha256 = "sha256-wzI+UMcVeFQNFlWDkyxk8tjpU7beNRKoPYbid8b15/Q="; + + nativeBuildInputs = [ + just + scdoc + ]; + + # There are no tests + doCheck = false; + + dontUseJustBuild = true; + dontUseJustCheck = true; + dontUseJustInstall = true; + + postInstall = '' + just --set PREFIX $out install-doc + ''; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "An address book for aerc"; + homepage = "https://sr.ht/~onemoresuza/aba/"; + changelog = "https://git.sr.ht/~onemoresuza/aba/tree/main/item/CHANGELOG.md"; + downloadPage = "https://git.sr.ht/~onemoresuza/aba/refs/${version}"; + maintainers = with lib.maintainers; [ onemoresuza ]; + license = lib.licenses.isc; + platforms = lib.platforms.unix; + mainProgram = "aba"; + }; +} |