mccabe: 0.4.0 -> 0.5.2

This commit is contained in:
Martin Bornhold 2016-09-30 13:30:55 +02:00
parent 0986a17eda
commit 532869cee2

View File

@ -13414,22 +13414,13 @@ in modules // {
mccabe = buildPythonPackage (rec {
name = "mccabe-0.4.0";
name = "mccabe-0.5.2";
src = pkgs.fetchurl {
url = "mirror://pypi/m/mccabe/${name}.tar.gz";
sha256 = "0yr08a36h8lqlif10l4xcikbbig7q8f41gqywir7rrvnv3mi4aws";
sha256 = "1zss8c5cn8wvxsbjzv70dxymybh3cjzrjl19vxfbnyvmidng0wrl";
};
# 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 = {