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
40
pkgs/development/python-modules/hcloud/default.nix
Normal file
40
pkgs/development/python-modules/hcloud/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, future
|
||||
, requests
|
||||
, python-dateutil
|
||||
, flake8
|
||||
, isort
|
||||
, mock
|
||||
, pytest
|
||||
, isPy27
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "hcloud";
|
||||
version = "1.16.0";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "c8b94557d93bcfe437f20a8176693ea4f54358b74986cc19d94ebc23f48e40cc";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ future requests python-dateutil ];
|
||||
|
||||
checkInputs = [ flake8 isort mock pytest ];
|
||||
|
||||
# Skip integration tests since they require a separate external fake API endpoint.
|
||||
checkPhase = ''
|
||||
pytest --ignore=tests/integration
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Official Hetzner Cloud python library";
|
||||
homepage = "https://github.com/hetznercloud/hcloud-python";
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ liff ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue