2023-10-09 19:29:22 +00:00
|
|
|
{ lib, fetchCrate, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "moon-phases";
|
|
|
|
version = "0.3.3";
|
|
|
|
|
|
|
|
src = fetchCrate {
|
|
|
|
inherit pname version;
|
|
|
|
hash = "sha256-8ZdtM246aqc49Q3ygMGk51LIzRA8RIdlaistbKUj3yY=";
|
|
|
|
};
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
cargoHash = "sha256-5JKM+GnigkpuX4qeGQAjDz/X48ZxXtCfYVwGco13YRM=";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
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 ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "moon-phases";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
}
|