didu: init at 2.5.2

This commit is contained in:
annaaurora 2022-07-20 03:04:49 +02:00
parent bde2513c62
commit 714182c27e
No known key found for this signature in database
GPG Key ID: 99BFC62AD99A79E9
2 changed files with 25 additions and 0 deletions

View File

@ -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 ];
};
}

View File

@ -516,6 +516,8 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) AppKit; inherit (darwin.apple_sdk.frameworks) AppKit;
}; };
didu = callPackage ../tools/misc/didu { };
diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins; diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins;
dieHook = makeSetupHook {} ../build-support/setup-hooks/die.sh; dieHook = makeSetupHook {} ../build-support/setup-hooks/die.sh;