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
41
pkgs/development/python-modules/google-cloud-dns/default.nix
Normal file
41
pkgs/development/python-modules/google-cloud-dns/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, google-api-core
|
||||
, google-cloud-core
|
||||
, pytestCheckHook
|
||||
, mock
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "google-cloud-dns";
|
||||
version = "0.34.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bd75d6e9fd456ce643ee936a113a1ead5405704515caa679db30d7f036e447f3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ google-api-core google-cloud-core ];
|
||||
|
||||
checkInputs = [ mock pytestCheckHook ];
|
||||
|
||||
preCheck = ''
|
||||
# don#t shadow python imports
|
||||
rm -r google
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# requires credentials
|
||||
"test_quota"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "google.cloud.dns" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Google Cloud DNS API client library";
|
||||
homepage = "https://github.com/googleapis/python-dns";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue