nixpkgs/pkgs/tools/misc/didu/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
626 B
Nix
Raw Normal View History

2022-07-20 01:04:49 +00:00
{ 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=";
};
cargoHash = "sha256-O1kkfrwv7xiOh3wCV/ce6cqpkMPRRzcXOFESYMAhiKA=";
2022-07-20 01:04:49 +00:00
meta = with lib; {
description = "Duration conversion between units";
homepage = "https://codeberg.org/annaaurora/didu";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ annaaurora ];
2023-11-27 01:17:53 +00:00
mainProgram = "didu";
2022-07-20 01:04:49 +00:00
};
}