mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
pythonPackages.uvcclient: init at 0.11.0
This commit is contained in:
parent
7b04c0ff13
commit
069d28d326
29
pkgs/development/python-modules/uvcclient/default.nix
Normal file
29
pkgs/development/python-modules/uvcclient/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib, buildPythonPackage, fetchFromGitHub, nose, mock }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uvcclient";
|
||||
version = "0.11.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kk7ds";
|
||||
repo = pname;
|
||||
rev = "58e7a53815482b7778481f81cde95f53a60bb6f6";
|
||||
sha256 = "0k8aswrk1n08w6pi6dg0zdzsmk23cafihkrss9ywg3i85w7q43x2";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
nose
|
||||
mock
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client for Ubiquiti's Unifi Camera NVR";
|
||||
homepage = "https://github.com/kk7ds/uvcclient";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
@ -1705,6 +1705,8 @@ in {
|
||||
|
||||
unifi = callPackage ../development/python-modules/unifi { };
|
||||
|
||||
uvcclient = callPackage ../development/python-modules/uvcclient { };
|
||||
|
||||
uvloop = callPackage ../development/python-modules/uvloop {
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) ApplicationServices CoreServices;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user