about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/moon-phases/default.nix
blob: c1b58c7cce1aed282853ab1ccc7d1a74420e6907 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, fetchCrate, rustPlatform }:

rustPlatform.buildRustPackage rec {
  pname = "moon-phases";
  version = "0.3.3";

  src = fetchCrate {
    inherit pname version;
    hash = "sha256-8ZdtM246aqc49Q3ygMGk51LIzRA8RIdlaistbKUj3yY=";
  };

  cargoSha256 = "sha256-5JKM+GnigkpuX4qeGQAjDz/X48ZxXtCfYVwGco13YRM=";

  meta = with lib; {
    description = "Command-line/WM bar tool to display the moon phase at a certain date";
    homepage = "https://github.com/mirrorwitch/moon-phases";
    license = licenses.acsl14;
    maintainers = with maintainers; [ mirrorwitch ];
  };
}