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
47
pkgs/development/python-modules/pyezviz/default.nix
Normal file
47
pkgs/development/python-modules/pyezviz/default.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, paho-mqtt
|
||||
, pandas
|
||||
, pycryptodome
|
||||
, pythonOlder
|
||||
, requests
|
||||
, xmltodict
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyezviz";
|
||||
version = "0.2.0.8";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "baqs";
|
||||
repo = "pyEzviz";
|
||||
rev = version;
|
||||
sha256 = "sha256-W2JtqRyNVUo74esmCvCQygIMB1+v77OW/ll48IMVj/Y=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
paho-mqtt
|
||||
pandas
|
||||
pycryptodome
|
||||
requests
|
||||
xmltodict
|
||||
];
|
||||
|
||||
# Project has no tests. test_cam_rtsp.py is more a sample for using the module
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pyezviz"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python interface for for Ezviz cameras";
|
||||
homepage = "https://github.com/baqs/pyEzviz/";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue