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

25 lines
611 B
Nix
Raw Normal View History

2022-04-13 19:34:06 +00:00
{ lib, rustPlatform, fetchFromGitea }:
rustPlatform.buildRustPackage rec {
pname = "dabet";
2023-09-09 08:16:33 +00:00
version = "3.0.1";
2022-04-13 19:34:06 +00:00
src = fetchFromGitea {
domain = "codeberg.org";
2022-07-19 23:47:30 +00:00
owner = "annaaurora";
2022-04-13 19:34:06 +00:00
repo = pname;
rev = "v${version}";
2023-09-09 08:16:33 +00:00
hash = "sha256-BYE+GGwf84zENf+lPS98OzZQbXxd7kykWL+B3guyVNI=";
2022-04-13 19:34:06 +00:00
};
2023-09-09 08:16:33 +00:00
cargoHash = "sha256-kguQmCXP5+E6e8CSKP18faa93VKToU2pcQixDOBrd+8=";
2022-04-13 19:34:06 +00:00
meta = with lib; {
description = "Print the duration between two times";
2022-07-19 23:47:30 +00:00
homepage = "https://codeberg.org/annaaurora/dabet";
2022-04-13 19:34:06 +00:00
license = licenses.lgpl3Only;
2022-07-19 23:47:30 +00:00
maintainers = with maintainers; [ annaaurora ];
2022-04-13 19:34:06 +00:00
};
}