depot/pkgs/by-name/wh/when-cli/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

24 lines
571 B
Nix

{
lib,
fetchCrate,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "when-cli";
version = "0.4.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-LWssrLl2HKul24N3bJdf2ePqeR4PCROrTiVY5sqzB2M=";
};
cargoHash = "sha256-9emY0yhAKVzuk1Tlzi0kW8oR9jRqLdg8wbTcJMBrxMw=";
meta = {
description = "Command line tool for converting between timezones";
homepage = "https://github.com/mitsuhiko/when";
mainProgram = "when";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ loicreynier ];
};
}