python3Packages.importlab: init at 0.7

This commit is contained in:
Seong Yong-ju 2022-01-25 23:08:34 +09:00 committed by Jonathan Ringer
parent c707c3ab3e
commit f07cd03ead
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, networkx
, pytestCheckHook
}:
buildPythonPackage {
pname = "importlab";
version = "0.7";
src = fetchFromGitHub {
owner = "google";
repo = "importlab";
rev = "676d17cd41ac68de6ebb48fb71780ad6110c4ae3";
sha256 = "sha256-O8y1c65NQ+19BnGnUnWrA0jYUqF+726CFAcWzHFOiHE=";
};
propagatedBuildInputs = [ networkx ];
checkInputs = [ pytestCheckHook ];
disabledTestPaths = [ "tests/test_parsepy.py" ];
pythonImportsCheck = [ "importlab" ];
meta = with lib; {
description = "A library that automatically infers dependencies for Python files";
homepage = "https://github.com/google/importlab";
license = licenses.mit;
maintainers = with maintainers; [ sei40kr ];
};
}

View file

@ -3925,6 +3925,8 @@ in {
impacket = callPackage ../development/python-modules/impacket { };
importlab = callPackage ../development/python-modules/importlab { };
importlib-metadata = callPackage ../development/python-modules/importlib-metadata { };
importlib-resources = callPackage ../development/python-modules/importlib-resources { };