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
64
pkgs/development/python-modules/openstacksdk/default.nix
Normal file
64
pkgs/development/python-modules/openstacksdk/default.nix
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, callPackage
|
||||
, fetchPypi
|
||||
, appdirs
|
||||
, cryptography
|
||||
, dogpile-cache
|
||||
, jmespath
|
||||
, jsonpatch
|
||||
, keystoneauth1
|
||||
, munch
|
||||
, netifaces
|
||||
, os-service-types
|
||||
, pbr
|
||||
, pythonOlder
|
||||
, pyyaml
|
||||
, requestsexceptions
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openstacksdk";
|
||||
version = "0.99.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-P3PDzCgInpOzQut/NIsoX1pl/+UFiYvhXbJQx1u4Ves=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
appdirs
|
||||
cryptography
|
||||
dogpile-cache
|
||||
jmespath
|
||||
jsonpatch
|
||||
keystoneauth1
|
||||
munch
|
||||
netifaces
|
||||
os-service-types
|
||||
pbr
|
||||
requestsexceptions
|
||||
pyyaml
|
||||
];
|
||||
|
||||
# Checks moved to 'passthru.tests' to workaround slowness
|
||||
doCheck = false;
|
||||
|
||||
passthru.tests = {
|
||||
tests = callPackage ./tests.nix { };
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"openstack"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An SDK for building applications to work with OpenStack";
|
||||
homepage = "https://github.com/openstack/openstacksdk";
|
||||
license = licenses.asl20;
|
||||
maintainers = teams.openstack.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue