pythonPackages.makefun: init at 1.11.2

This commit is contained in:
Vincent Haupert 2021-04-07 17:25:03 +02:00
parent 1072da3e3e
commit 0ff4e2a618
No known key found for this signature in database
GPG key ID: A8B605E96F82B4E4
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, fetchPypi
, buildPythonPackage
, setuptools_scm
}:
buildPythonPackage rec {
pname = "makefun";
version = "1.11.2";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-2qNQpILtWLVyREPGUUMhkem5ewyDdDh50JExccaigIU=";
};
nativeBuildInputs = [ setuptools_scm ];
# Disabling tests for now due to various (transitive) dependencies on modules
# from @smarie which are, as of yet, not part of nixpkgs. Also introduces
# a tricky dependency: makefun tests depend on pytest-cases, installing
# pytest-cases depends on makefun.
doCheck = false;
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 ];
};
}

View file

@ -4107,6 +4107,8 @@ in {
mail-parser = callPackage ../development/python-modules/mail-parser { };
makefun = callPackage ../development/python-modules/makefun { };
Mako = callPackage ../development/python-modules/Mako { };
managesieve = callPackage ../development/python-modules/managesieve { };