diff options
author | Thomas Le Duc <dev@tleduc.de> | 2022-12-19 07:31:08 +0100 |
---|---|---|
committer | Thomas Le Duc <dev@tleduc.de> | 2022-12-19 07:31:08 +0100 |
commit | 1e72eb2712011bdcd7fe75f597c7b54a5643934a (patch) | |
tree | 973657b3141e67f8e2e4959ca3777452cefb11f6 /pkgs/tools/misc/uair | |
parent | 5eee84537197f12e976d3d38744d88936b3f7bf8 (diff) |
uair: init at 0.4.0
Diffstat (limited to 'pkgs/tools/misc/uair')
-rw-r--r-- | pkgs/tools/misc/uair/default.nix | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/tools/misc/uair/default.nix b/pkgs/tools/misc/uair/default.nix new file mode 100644 index 0000000000000..cdada5e4697f7 --- /dev/null +++ b/pkgs/tools/misc/uair/default.nix @@ -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 ]; + }; +} |