python-mccabe: Fix build due to missing tests.
Regression introduced by 56a6f22d7fb4690871669eba38a30e4f5a8cb483. I'm temporarily pulling in test_mccabe.py, as suggested by someone at flintwork/mccabe#31, which for now should fix the build (and the tests of course as well). Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
7200556e5d
commit
54f58ee991
@ -6342,6 +6342,15 @@ let
|
|||||||
md5 = "81640948ff226f8c12b3277059489157";
|
md5 = "81640948ff226f8c12b3277059489157";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# 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
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "McCabe checker, plugin for flake8";
|
description = "McCabe checker, plugin for flake8";
|
||||||
homepage = "https://github.com/flintwork/mccabe";
|
homepage = "https://github.com/flintwork/mccabe";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user