Files
nixpkgs/pkgs/by-name/ua/uair/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

42 lines
837 B
Nix

{
fetchFromGitHub,
installShellFiles,
lib,
rustPlatform,
scdoc,
}:
rustPlatform.buildRustPackage rec {
pname = "uair";
version = "0.6.3";
src = fetchFromGitHub {
owner = "metent";
repo = "uair";
rev = "v${version}";
hash = "sha256-VytbtTQch8O5hCg3L3ANNOfFOyiQY1V7DvGMEKr1R04=";
};
cargoHash = "sha256-5/CvyN/uOMIEhOg7uqon6bQd5EQDPVrfi7XnJF9mZyg=";
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 ];
};
}