Merge pull request #206104 from thled/uair

uair: init at 0.4.0
This commit is contained in:
Nick Cao 2023-01-27 18:41:09 +08:00 committed by GitHub
commit 8d7451792f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 45 additions and 0 deletions

View File

@ -14230,6 +14230,12 @@
githubId = 3268082;
name = "Thibaut Marty";
};
thled = {
name = "Thomas Le Duc";
email = "dev@tleduc.de";
github = "thled";
githubId = 28220902;
};
thyol = {
name = "thyol";
email = "thyol@pm.me";

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

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