Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
738 B · 38 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839{ lib, fetchPypi, buildPythonPackage, setuptools-scm, pytestCheckHook}:
buildPythonPackage rec { pname = "makefun"; version = "1.15.1";
src = fetchPypi { inherit pname version; hash = "sha256-QLDxGLbe0NjXjHjx62ebi2skYuPBs+BfsbLajNRrSKU="; };
postPatch = '' substituteInPlace setup.cfg \ --replace "pytest-runner" "" '';
nativeBuildInputs = [ setuptools-scm ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "makefun" ];
meta = with lib; { homepage = "https://github.com/smarie/python-makefun"; description = "Small library to dynamically create python functions"; license = licenses.bsd2; maintainers = with maintainers; [ veehaitch ]; };}