python3Packages.fullmoon: init at 1.0.2 && doge: 3.8.0 -> 3.9.0 (#397494)

This commit is contained in:
Sandro
2025-08-12 01:06:11 +02:00
committed by GitHub
3 changed files with 51 additions and 8 deletions
+16 -8
View File
@@ -5,27 +5,35 @@
}:
python3Packages.buildPythonApplication rec {
pname = "doge";
version = "3.8.0";
version = "3.9.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Olivia5k";
repo = "doge";
rev = version;
hash = "sha256-CZw9Pz9YPVmDMOfDp5yIp/yStOvXEzAgb/HvKpxhQ8I=";
tag = version;
hash = "sha256-aJ1SFehjKiSc7osf5BOB1xjDnrkVXp37PQ5bNpbv1Mk=";
};
pyproject = true;
nativeBuildInputs = [ python3Packages.setuptools ];
propagatedBuildInputs = [ python3Packages.python-dateutil ];
build-system = [ python3Packages.hatchling ];
dependencies = with python3Packages; [
python-dateutil
fullmoon
];
meta = {
homepage = "https://github.com/Olivia5k/doge";
description = "Wow very terminal doge";
longDescription = ''
Doge is a simple motd script based on the slightly stupid but very funny doge meme.
It prints random grammatically incorrect statements that are sometimes based on things from your computer.
'';
homepage = "https://github.com/Olivia5k/doge";
license = lib.licenses.mit;
mainProgram = "doge";
maintainers = with lib.maintainers; [
Gonzih
quantenzitrone
];
mainProgram = "doge";
};
}
@@ -0,0 +1,33 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage {
pname = "fullmoon";
version = "1.0.2";
pyproject = true;
src = fetchFromGitHub {
owner = "jr-k";
repo = "python-fullmoon";
rev = "702b94d9924cce8c156a3d7951bea65b19022358";
hash = "sha256-d0OL5z2DCOp0xSYBAdaMHZV9wmZJ6jiQTl7NZjMYJRA=";
};
build-system = [ setuptools ];
checkPhase = ''
runHook preCheck
python example.py
runHook postCheck
'';
meta = {
description = "Determine the occurrence of the next full moon or to determine if a given date is/was/will be a full moon";
homepage = "https://github.com/jr-k/python-fullmoon";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ quantenzitrone ];
};
}
+2
View File
@@ -5536,6 +5536,8 @@ self: super: with self; {
fugashi = callPackage ../development/python-modules/fugashi { };
fullmoon = callPackage ../development/python-modules/fullmoon { };
func-timeout = callPackage ../development/python-modules/func-timeout { };
funcparserlib = callPackage ../development/python-modules/funcparserlib { };