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
56
pkgs/development/python-modules/restfly/default.nix
Normal file
56
pkgs/development/python-modules/restfly/default.nix
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
{ lib
|
||||
, arrow
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytest-datafiles
|
||||
, pytest-vcr
|
||||
, pytestCheckHook
|
||||
, python-box
|
||||
, pythonOlder
|
||||
, responses
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "restfly";
|
||||
version = "1.4.6";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "stevemcgrath";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
hash = "sha256-nCubAn9AASnCsvlYdk4gmkoORRlsYEbJ8JmlT11xYWU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
arrow
|
||||
python-box
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytest-datafiles
|
||||
pytest-vcr
|
||||
pytestCheckHook
|
||||
responses
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test requires network access
|
||||
"test_session_ssl_error"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"restfly"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python RESTfly API Library Framework";
|
||||
homepage = "https://github.com/stevemcgrath/restfly";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue