summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/wh/when-cli/package.nix
blob: 38ddafd80644dca41b3756f97e568b721dd7ab79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  lib,
  fetchCrate,
  rustPlatform,
}:
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "when-cli";
  version = "0.4.0";

  src = fetchCrate {
    inherit (finalAttrs) pname version;
    hash = "sha256-LWssrLl2HKul24N3bJdf2ePqeR4PCROrTiVY5sqzB2M=";
  };

  cargoHash = "sha256-ArrKKcTPfp71ltLh1eeEmanFa7B3nLj+jgj4CzINBY0=";

  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 ];
  };
})