mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
pythonPackages.mccabe: 0.4.0 -> 0.5.3
This commit is contained in:
parent
0b3629544b
commit
4719205919
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user