Files
nixpkgs/pkgs/development/python-modules/fortune/default.nix
T
2026-02-04 11:04:59 -03:00

32 lines
602 B
Nix

{
lib,
buildPythonPackage,
fetchFromCodeberg,
setuptools,
}:
let
version = "1.1.2";
in
buildPythonPackage {
pname = "fortune";
inherit version;
pyproject = true;
src = fetchFromCodeberg {
owner = "jamesansley";
repo = "fortune";
tag = "v${version}";
hash = "sha256-XEWO1B+o0p7mpHprvbdBgfSQrqPuUTaotulcP3FS/Mg=";
};
build-system = [ setuptools ];
meta = {
description = "A rewrite of fortune in python";
mainProgram = "fortune";
homepage = "https://codeberg.org/jamesansley/fortune";
license = lib.licenses.asl20;
maintainers = [ ];
};
}