uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
62
pkgs/development/python-modules/tern/default.nix
Normal file
62
pkgs/development/python-modules/tern/default.nix
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pyyaml
|
||||
, docker
|
||||
, dockerfile-parse
|
||||
, requests
|
||||
, stevedore
|
||||
, pbr
|
||||
, debian-inspector
|
||||
, regex
|
||||
, GitPython
|
||||
, prettytable
|
||||
, idna
|
||||
, packageurl-python
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tern";
|
||||
version = "2.10.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-KpkEnpItHC/9IswfboFZ5nCcGaM9bWFX/i+6jxGN5hg=";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
cp requirements.{in,txt}
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
pbr
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyyaml
|
||||
docker
|
||||
dockerfile-parse
|
||||
requests
|
||||
stevedore
|
||||
debian-inspector
|
||||
regex
|
||||
GitPython
|
||||
prettytable
|
||||
idna
|
||||
packageurl-python
|
||||
];
|
||||
|
||||
# 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;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue