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
55
pkgs/development/python-modules/github3_py/default.nix
Normal file
55
pkgs/development/python-modules/github3_py/default.nix
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, requests
|
||||
, uritemplate
|
||||
, python-dateutil
|
||||
, pyjwt
|
||||
, pytestCheckHook
|
||||
, betamax
|
||||
, betamax-matchers
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "github3.py";
|
||||
version = "3.2.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-Cbcr4Ul9NGsJaM3oNgoNavedwgbQFJpjzT7IbGXDd8w=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
uritemplate
|
||||
python-dateutil
|
||||
pyjwt
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
betamax
|
||||
betamax-matchers
|
||||
];
|
||||
|
||||
# Solves "__main__.py: error: unrecognized arguments: -nauto"
|
||||
preCheck = ''
|
||||
rm tox.ini
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# FileNotFoundError: [Errno 2] No such file or directory: 'tests/id_rsa.pub'
|
||||
"test_delete_key"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github3py.readthedocs.org/en/master/";
|
||||
description = "A wrapper for the GitHub API written in python";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue