mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
uair: init at 0.4.0
This commit is contained in:
parent
5eee845371
commit
1e72eb2712
37
pkgs/tools/misc/uair/default.nix
Normal file
37
pkgs/tools/misc/uair/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user