python3Packages.pyutil: init at 3.3.0

This commit is contained in:
Pavol Rusnak 2021-07-17 14:29:36 +02:00
parent 8ff78e6a14
commit c8e3c1fa35
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
2 changed files with 7 additions and 8 deletions

View file

@ -1,9 +1,8 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptoolsDarcs
, setuptoolsTrial
, simplejson
, mock
, twisted
, isPyPy
}:
@ -17,12 +16,9 @@ buildPythonPackage rec {
sha256 = "8c4d4bf668c559186389bb9bce99e4b1b871c09ba252a756ccaacd2b8f401848";
};
buildInputs = [ setuptoolsDarcs setuptoolsTrial ] ++ (if doCheck then [ simplejson ] else []);
propagatedBuildInputs = [ twisted ];
propagatedBuildInputs = [ simplejson ];
# Tests fail because they try to write new code into the twisted
# package, apparently some kind of plugin.
doCheck = false;
checkInputs = [ mock twisted ];
prePatch = lib.optionalString isPyPy ''
grep -rl 'utf-8-with-signature-unix' ./ | xargs sed -i -e "s|utf-8-with-signature-unix|utf-8|g"
@ -41,8 +37,9 @@ buildPythonPackage rec {
we're not alone in wanting tools like these.
'';
homepage = "http://allmydata.org/trac/pyutil";
homepage = "https://github.com/tpltnt/pyutil";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ prusnak ];
};
}

View file

@ -5409,6 +5409,8 @@ in {
python-tado = callPackage ../development/python-modules/python-tado { };
pyutil = callPackage ../development/python-modules/pyutil { };
pkutils = callPackage ../development/python-modules/pkutils { };
plac = callPackage ../development/python-modules/plac { };