blob: 4e62d4da8d0ce0085e8eda842cd51eb55a33a403 (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
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";
};
}
|