mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
22 lines
605 B
Nix
22 lines
605 B
Nix
{ lib, fetchCrate, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "moon-phases";
|
|
version = "0.3.3";
|
|
|
|
src = fetchCrate {
|
|
inherit pname version;
|
|
hash = "sha256-8ZdtM246aqc49Q3ygMGk51LIzRA8RIdlaistbKUj3yY=";
|
|
};
|
|
|
|
cargoHash = "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";
|
|
};
|
|
}
|