mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-02 18:47:58 +03:00
Merge pull request #168553 from auroraanna/didu
This commit is contained in:
commit
9c0f0e88ee
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 ];
|
||||
};
|
||||
}
|
@ -520,6 +520,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