diff options
author | annaaurora <anna@annaaurora.eu> | 2022-07-20 03:04:49 +0200 |
---|---|---|
committer | annaaurora <anna@annaaurora.eu> | 2022-07-20 03:04:49 +0200 |
commit | 714182c27ef985ffb59631fa70359ac7497b86a0 (patch) | |
tree | 5f912714f1b3440fc64b6ac2d05d8c78c468de2e /pkgs/tools/misc/didu | |
parent | bde2513c62acb7ca54bb18751c98b76d5e6dfabb (diff) |
didu: init at 2.5.2
Diffstat (limited to 'pkgs/tools/misc/didu')
-rw-r--r-- | pkgs/tools/misc/didu/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/misc/didu/default.nix b/pkgs/tools/misc/didu/default.nix new file mode 100644 index 0000000000000..8a29cdb2d346b --- /dev/null +++ b/pkgs/tools/misc/didu/default.nix @@ -0,0 +1,23 @@ +{ lib, rustPlatform, fetchFromGitea }: + +rustPlatform.buildRustPackage rec { + pname = "didu"; + version = "2.5.2"; + + src = fetchFromGitea { + domain = "codeberg.org"; + owner = "annaaurora"; + repo = pname; + rev = "v${version}"; + sha256 = "szYWRN1NZbfpshipwMMJSWJw/NG4w7I+aqwtmqpT0R0="; + }; + + cargoSha256 = "O1kkfrwv7xiOh3wCV/ce6cqpkMPRRzcXOFESYMAhiKA="; + + meta = with lib; { + description = "Duration conversion between units"; + homepage = "https://codeberg.org/annaaurora/didu"; + license = licenses.lgpl3Only; + maintainers = with maintainers; [ annaaurora ]; + }; +} |