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