Something went wrong. Try again.
Nix Packages collection & NixOS github.com/NixOS/nixpkgs
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ lib, fetchPypi, buildPythonPackage,
# build-system setuptools_80, setuptools-scm,
# tests pytest8_3CheckHook,}:
buildPythonPackage rec { pname = "makefun"; version = "1.16.0"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-4UYBgxVwv/H21+aIKLzTDS9YVvJLrV3gzLIpIc7ryUc="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail '"setuptools>=39.2,<72"' '"setuptools"' '';
build-system = [ setuptools_80 setuptools-scm ];
nativeCheckInputs = [ pytest8_3CheckHook ];
pythonImportsCheck = [ "makefun" ];
meta = { homepage = "https://github.com/smarie/python-makefun"; description = "Small library to dynamically create python functions"; license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ veehaitch ]; };}