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
51
pkgs/development/python-modules/digitalocean/default.nix
Normal file
51
pkgs/development/python-modules/digitalocean/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, isPy3k
|
||||
, jsonpickle
|
||||
, mock
|
||||
, pytest
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
, responses
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-digitalocean";
|
||||
version = "1.17.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "koalalorenzo";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1c50ka4y712rr551gq3kdfw7fgfxr4w837sww6yy683yz7m1d1h8";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
jsonpickle
|
||||
requests
|
||||
];
|
||||
|
||||
dontUseSetuptoolsCheck = true;
|
||||
|
||||
checkInputs = [
|
||||
pytest
|
||||
pytestCheckHook
|
||||
responses
|
||||
] ++ lib.optionals (!isPy3k) [
|
||||
mock
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
cd digitalocean
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "digitalocean" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API to manage Digital Ocean Droplets and Images";
|
||||
homepage = "https://github.com/koalalorenzo/python-digitalocean";
|
||||
license = with licenses; [ lgpl3Only ];
|
||||
maintainers = with maintainers; [ kiwi teh ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue