mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
didu: init at 2.5.2
This commit is contained in:
parent
bde2513c62
commit
714182c27e
23
pkgs/tools/misc/didu/default.nix
Normal file
23
pkgs/tools/misc/didu/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -516,6 +516,8 @@ with pkgs;
|
||||
inherit (darwin.apple_sdk.frameworks) AppKit;
|
||||
};
|
||||
|
||||
didu = callPackage ../tools/misc/didu { };
|
||||
|
||||
diffPlugins = (callPackage ../build-support/plugins.nix {}).diffPlugins;
|
||||
|
||||
dieHook = makeSetupHook {} ../build-support/setup-hooks/die.sh;
|
||||
|
Loading…
Reference in New Issue
Block a user