uair: init at 0.4.0

This commit is contained in:
Thomas Le Duc 2022-12-19 07:31:08 +01:00
parent 5eee845371
commit 1e72eb2712
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ fetchFromGitHub
, installShellFiles
, lib
, rustPlatform
, scdoc
}:
rustPlatform.buildRustPackage rec {
pname = "uair";
version = "v0.4.0";
src = fetchFromGitHub {
owner = "metent";
repo = pname;
rev = version;
hash = "sha256-xGPc371Dfo455rnfacXVDgC9SXU5s8jqw4ttSCBqWyk=";
};
cargoHash = "sha256-tHcMR8ExIlzYZzacBYyyk2d5by20jG4ihM0yU0K6Xhg=";
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 = "An extensible pomodoro timer";
homepage = "https://github.com/metent/uair";
license = licenses.mit;
maintainers = with maintainers; [ thled ];
};
}

View File

@ -12498,6 +12498,8 @@ with pkgs;
ua = callPackage ../tools/networking/ua { };
uair = callPackage ../tools/misc/uair { };
ubidump = python3Packages.callPackage ../tools/filesystems/ubidump { };
ubridge = callPackage ../tools/networking/ubridge { };