mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +00:00
e7d5c84166
Co-authored-by: Callum Leslie <github@cleslie.uk> Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
25 lines
571 B
Nix
25 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 ];
|
|
};
|
|
}
|