blob: 47c4d7631da29b1a45f96f22b1dd9886a471199f (
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
|
{ fetchFromGitHub
, installShellFiles
, lib
, rustPlatform
, scdoc
}:
rustPlatform.buildRustPackage rec {
pname = "uair";
version = "0.6.1";
src = fetchFromGitHub {
owner = "metent";
repo = pname;
rev = "v${version}";
hash = "sha256-cxSNBxs6ixbjWMUYzOnwI+vavkfyaQx3/OmVdTCr7M0=";
};
cargoHash = "sha256-cDIF4RvJ7K6t18GPgiRV6NDoD/x3II/3wCHW3KK2/os=";
nativeBuildInputs = [ installShellFiles scdoc ];
preFixup = ''
scdoc < docs/uair.1.scd > docs/uair.1
scdoc < docs/uair.5.scd > docs/uair.5
scdoc < docs/uairctl.1.scd > docs/uairctl.1
installManPage docs/*.[1-9]
'';
meta = with lib; {
description = "Extensible pomodoro timer";
homepage = "https://github.com/metent/uair";
license = licenses.mit;
maintainers = with maintainers; [ thled ];
};
}
|