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
53
pkgs/development/python-modules/quantum-gateway/default.nix
Normal file
53
pkgs/development/python-modules/quantum-gateway/default.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, esprima
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, requests
|
||||
, requests-mock
|
||||
, setuptools-scm
|
||||
, urllib3
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "quantum-gateway";
|
||||
version = "0.0.8";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cisasteelersfan";
|
||||
repo = "quantum_gateway";
|
||||
rev = version;
|
||||
hash = "sha256-jwLfth+UaisPR0p+UHfm6qMXT2eSYWnsYEp0BqyeI9U=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
urllib3
|
||||
esprima
|
||||
requests
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
requests-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"quantum_gateway"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# Tests require network features
|
||||
"TestGateway3100"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library for interacting with Verizon Fios Quantum gateway devices";
|
||||
homepage = "https://github.com/cisasteelersfan/quantum_gateway";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue