depot/third_party/nixpkgs/pkgs/tools/misc/dabet/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

24 lines
615 B
Nix

{ lib, rustPlatform, fetchFromGitea }:
rustPlatform.buildRustPackage rec {
pname = "dabet";
version = "3.0.0";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "annaaurora";
repo = pname;
rev = "v${version}";
sha256 = "sha256-B5z2RUkvztnGCKeVsjp/yzrI8m/6mjBB0DS1yhFZhM4=";
};
cargoSha256 = "sha256-v1lc2quqxuNUbBQHaTtIDUPPTMyz8nj+TNCdSjrfrOA=";
meta = with lib; {
description = "Print the duration between two times";
homepage = "https://codeberg.org/annaaurora/dabet";
license = licenses.lgpl3Only;
maintainers = with maintainers; [ annaaurora ];
};
}