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
38
pkgs/development/python-modules/linode-api/default.nix
Normal file
38
pkgs/development/python-modules/linode-api/default.nix
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, requests
|
||||
, pytestCheckHook
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "linode-api";
|
||||
version = "5.0.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
# Sources from Pypi exclude test fixtures
|
||||
src = fetchFromGitHub {
|
||||
owner = "linode";
|
||||
repo = "python-linode-api";
|
||||
rev = version;
|
||||
sha256 = "0lqi15vks4fxbki1l7n1bfzygjy3w17d9wchjxvp22ijmas44yai";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
checkInputs = [
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "linode_api4" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for the Linode API v4";
|
||||
homepage = "https://github.com/linode/python-linode-api";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ glenns ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue