mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
Merge pull request #186293 from onny/importmagic
python310Packages.importmagic: Enable more tests
This commit is contained in:
commit
8d2fd9db97
@ -2,6 +2,7 @@
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, six
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -15,12 +16,15 @@ buildPythonPackage rec {
|
||||
|
||||
propagatedBuildInputs = [ six ];
|
||||
|
||||
doCheck = false; # missing json file from tarball
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "importmagic" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Import Magic - automagically add, remove and manage imports";
|
||||
homepage = "https://github.com/alecthomas/importmagic";
|
||||
license = licenses.bsd0;
|
||||
maintainers = with maintainers; [ onny ];
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user