mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
mccabe: 0.4.0 -> 0.5.2
This commit is contained in:
parent
0986a17eda
commit
532869cee2
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user