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
53
pkgs/development/python-modules/stups-pierone/default.nix
Normal file
53
pkgs/development/python-modules/stups-pierone/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{ lib
|
||||
, fetchFromGitHub
|
||||
, buildPythonPackage
|
||||
, requests
|
||||
, stups-cli-support
|
||||
, stups-zign
|
||||
, pytest
|
||||
, pytest-cov
|
||||
, hypothesis
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "stups-pierone";
|
||||
version = "1.1.51";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zalando-stups";
|
||||
repo = "pierone-cli";
|
||||
rev = version;
|
||||
hash = "sha256-OypGYHfiFUfcUndylM2N2WfPnfXXJ4gvWypUbltYAYE=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
stups-cli-support
|
||||
stups-zign
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$TEMPDIR
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytest-cov
|
||||
hypothesis
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pierone"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Convenient command line client for STUPS' Pier One Docker registry";
|
||||
homepage = "https://github.com/zalando-stups/pierone-cli";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ mschuwalow ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue