depot/third_party/nixpkgs/pkgs/tools/misc/moon-phases/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

21 lines
607 B
Nix

{ 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 ];
mainProgram = "moon-phases";
};
}