depot/third_party/nixpkgs/pkgs/development/python-modules/importlab/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

33 lines
760 B
Nix

{ 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 ];
};
}