2022-04-27 09:35:20 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitea }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "dabet";
|
|
|
|
version = "3.0.0";
|
|
|
|
|
|
|
|
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}";
|
|
|
|
sha256 = "sha256-B5z2RUkvztnGCKeVsjp/yzrI8m/6mjBB0DS1yhFZhM4=";
|
|
|
|
};
|
|
|
|
|
|
|
|
cargoSha256 = "sha256-v1lc2quqxuNUbBQHaTtIDUPPTMyz8nj+TNCdSjrfrOA=";
|
|
|
|
|
|
|
|
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
|
|
|
};
|
|
|
|
}
|
|
|
|
|