depot/third_party/nixpkgs/pkgs/development/python-modules/uvcclient/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

29 lines
625 B
Nix

{ 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 ];
};
}