python3.pkgs.tern: init at 2.5.0
This commit is contained in:
parent
d0e3e06c31
commit
abb55ca131
59
pkgs/development/python-modules/tern/default.nix
Normal file
59
pkgs/development/python-modules/tern/default.nix
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pyyaml
|
||||||
|
, docker
|
||||||
|
, dockerfile-parse
|
||||||
|
, requests
|
||||||
|
, stevedore
|
||||||
|
, pbr
|
||||||
|
, debut
|
||||||
|
, regex
|
||||||
|
, GitPython
|
||||||
|
, prettytable
|
||||||
|
, idna
|
||||||
|
}:
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "tern";
|
||||||
|
version = "2.5.0";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "606c62944991b2cbcccf3f5353be693305d6d7d318c3865b9ecca49dbeab2727";
|
||||||
|
};
|
||||||
|
|
||||||
|
preBuild = ''
|
||||||
|
cp requirements.{in,txt}
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pbr
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
pyyaml
|
||||||
|
docker
|
||||||
|
dockerfile-parse
|
||||||
|
requests
|
||||||
|
stevedore
|
||||||
|
debut
|
||||||
|
regex
|
||||||
|
GitPython
|
||||||
|
prettytable
|
||||||
|
idna
|
||||||
|
];
|
||||||
|
|
||||||
|
# No tests
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"tern"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "A software composition analysis tool and Python library that generates a Software Bill of Materials for container images and Dockerfiles";
|
||||||
|
homepage = "https://github.com/tern-tools/tern";
|
||||||
|
license = licenses.bsd2;
|
||||||
|
maintainers = teams.determinatesystems.members;
|
||||||
|
};
|
||||||
|
}
|
|
@ -8407,6 +8407,8 @@ in {
|
||||||
|
|
||||||
termstyle = callPackage ../development/python-modules/termstyle { };
|
termstyle = callPackage ../development/python-modules/termstyle { };
|
||||||
|
|
||||||
|
tern = callPackage ../development/python-modules/tern { };
|
||||||
|
|
||||||
teslajsonpy = callPackage ../development/python-modules/teslajsonpy { };
|
teslajsonpy = callPackage ../development/python-modules/teslajsonpy { };
|
||||||
|
|
||||||
tess = callPackage ../development/python-modules/tess { };
|
tess = callPackage ../development/python-modules/tess { };
|
||||||
|
|
Loading…
Reference in a new issue