Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / importlab / default.nix
blob5b572e50f1cb0921e2a6cce017f16342e0f7fc9d
1 { stdenv
2 , lib
3 , buildPythonPackage
4 , fetchFromGitHub
5 , networkx
6 , pytestCheckHook
7 }:
9 buildPythonPackage {
10   pname = "importlab";
11   version = "0.7";
13   src = fetchFromGitHub {
14     owner = "google";
15     repo = "importlab";
16     rev = "676d17cd41ac68de6ebb48fb71780ad6110c4ae3";
17     hash = "sha256-O8y1c65NQ+19BnGnUnWrA0jYUqF+726CFAcWzHFOiHE=";
18   };
20   propagatedBuildInputs = [ networkx ];
22   nativeCheckInputs = [ pytestCheckHook ];
24   disabledTestPaths = [ "tests/test_parsepy.py" ];
26   pythonImportsCheck = [ "importlab" ];
28   meta = with lib; {
29     broken = stdenv.isDarwin;
30     description = "A library that automatically infers dependencies for Python files";
31     homepage = "https://github.com/google/importlab";
32     license = licenses.mit;
33     maintainers = with maintainers; [ sei40kr ];
34   };