11 rustPlatform.buildRustPackage {
15 src = fetchFromSourcehut {
16 owner = "~onemoresuza";
19 hash = "sha256-Sz9I1Dw7wmoUPpTBNfbYbehfNO8FK6r/ubofx+FGb04=";
23 cargoSha256 = "sha256-Ihoh+yp12qN74JHvJbEDoYz+eoMwPOQar+yBEy+bqb0=";
31 # Suppress messages of command not found. jq is not needed for the build, but just calls it anyway.
32 sed -i '/[[:space:]]*|[[:space:]]*jq -r/s/jq -r .*/: \\/' ./justfile
33 # Let only nix strip the binary by disabling cargo's `strip = true`, like buildRustPackage does.
34 sed -i '/strip[[:space:]]*=[[:space:]]*true/s/true/false/' ./Cargo.toml
39 PREFIX=${builtins.placeholder "out"}
40 MANIFEST_OPTS="--frozen --locked --profile=release"
41 INSTALL_OPTS=--no-track
47 dontUseJustCheck = true;
49 passthru.updateScript = nix-update-script { };
52 description = "An address book for aerc";
53 homepage = "https://sr.ht/~onemoresuza/aba/";
54 changelog = "https://git.sr.ht/~onemoresuza/aba/tree/main/item/CHANGELOG.md";
55 downloadPage = "https://git.sr.ht/~onemoresuza/aba/refs/${version}";
56 maintainers = with lib.maintainers; [ onemoresuza ];
57 license = lib.licenses.isc;