11 rustPlatform.buildRustPackage {
15 src = fetchFromSourcehut {
16 owner = "~onemoresuza";
19 hash = "sha256-2zVQNchL4DFh2v2/kwupJTBSmXiKqlxzUMrP9TbfCMs=";
22 cargoHash = "sha256-YhSzbfcEIJjKWlyYq1lK70qt4f/Z71n7hgaaZ/D/U80=";
30 # Let only nix strip the binary by disabling cargo's `strip = true`, like
31 # buildRustPackage does when not using just's setup hooks.
32 sed -i '/strip[[:space:]]*=[[:space:]]*true/s/true/false/' ./Cargo.toml
37 PREFIX=${builtins.placeholder "out"}
38 MANIFEST_OPTS="--frozen --locked --profile=release"
39 INSTALL_OPTS="--no-track"
45 dontUseJustCheck = true;
47 passthru.updateScript = nix-update-script { };
50 description = "Address book for aerc";
51 homepage = "https://sr.ht/~onemoresuza/aba/";
52 changelog = "https://git.sr.ht/~onemoresuza/aba/tree/main/item/CHANGELOG.md";
53 downloadPage = "https://git.sr.ht/~onemoresuza/aba/refs/${version}";
54 maintainers = with lib.maintainers; [ onemoresuza ];
55 license = lib.licenses.isc;