python3Packages.pyutil: init at 3.3.0
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user