mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
python3Packages.nix-prefetch-github: fix tests
This commit is contained in:
parent
cc6e701b33
commit
25719e3db8
@ -1,10 +1,16 @@
|
||||
{ fetchPypi
|
||||
, lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, attrs
|
||||
, click
|
||||
, effect
|
||||
, jinja2
|
||||
, git
|
||||
, pytestCheckHook
|
||||
, pytest-black
|
||||
, pytestcov
|
||||
, pytest-isort
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -27,6 +33,15 @@ buildPythonPackage rec {
|
||||
jinja2
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook pytest-black pytestcov pytest-isort git ];
|
||||
|
||||
# aiohttp is not supported on 3.8 yet
|
||||
doCheck = pythonOlder "3.8";
|
||||
|
||||
# latest version of isort will cause tests to fail
|
||||
# ignore tests which are impure
|
||||
disabledTests = [ "isort" "life" "outputs" "fetch_submodules" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Prefetch sources from github";
|
||||
homepage = "https://github.com/seppeljordan/nix-prefetch-github";
|
||||
|
Loading…
Reference in New Issue
Block a user