lol
1{ lib, rustPlatform, fetchFromGitea }:
2
3rustPlatform.buildRustPackage rec {
4 pname = "dabet";
5 version = "3.0.1";
6
7 src = fetchFromGitea {
8 domain = "codeberg.org";
9 owner = "annaaurora";
10 repo = pname;
11 rev = "v${version}";
12 hash = "sha256-BYE+GGwf84zENf+lPS98OzZQbXxd7kykWL+B3guyVNI=";
13 };
14
15 cargoHash = "sha256-kguQmCXP5+E6e8CSKP18faa93VKToU2pcQixDOBrd+8=";
16
17 meta = with lib; {
18 description = "Print the duration between two times";
19 homepage = "https://codeberg.org/annaaurora/dabet";
20 license = licenses.lgpl3Only;
21 maintainers = with maintainers; [ annaaurora ];
22 };
23}
24