pythonPackages.mccabe: 0.4.0 -> 0.5.3

This commit is contained in:
Frederik Rietdijk 2016-12-18 00:12:23 +01:00
parent 0b3629544b
commit 4719205919

View File

@ -14146,22 +14146,13 @@ in {
mccabe = buildPythonPackage (rec {
name = "mccabe-0.4.0";
name = "mccabe-0.5.3";
src = pkgs.fetchurl {
url = "mirror://pypi/m/mccabe/${name}.tar.gz";
sha256 = "0yr08a36h8lqlif10l4xcikbbig7q8f41gqywir7rrvnv3mi4aws";
sha256 = "16293af41e7242031afd73896fef6458f4cad38201d21e28f344fff50ae1c25e";
};
# See https://github.com/flintwork/mccabe/issues/31
postPatch = ''
cp "${pkgs.fetchurl {
url = "https://raw.githubusercontent.com/flintwork/mccabe/"
+ "e8aea16d28e92bd3c62601275762fc9c16808f6c/test_mccabe.py";
sha256 = "0xhjxpnaxvbpi4myj9byrban7a5nrw931br9sgvfk42ayg4sn6lm";
}}" test_mccabe.py
'';
buildInputs = with self; [ pytestrunner pytest ];
meta = {