mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 02:13:23 +00:00
python312Packages.uvcclient: 0.11.0 -> 0.11.1
https://github.com/kk7ds/uvcclient/compare/0.11.0...0.11.1
This commit is contained in:
parent
eaa59831a1
commit
c47294a99e
@ -2,21 +2,21 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
nose,
|
||||
setuptools,
|
||||
mock,
|
||||
pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uvcclient";
|
||||
version = "0.11.0";
|
||||
format = "setuptools";
|
||||
version = "0.11.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kk7ds";
|
||||
repo = pname;
|
||||
rev = "58e7a53815482b7778481f81cde95f53a60bb6f6";
|
||||
sha256 = "0k8aswrk1n08w6pi6dg0zdzsmk23cafihkrss9ywg3i85w7q43x2";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-0OUdBygL2AAtccL5hdyL+0PIRK4o+lNN3droWDysDeI=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -24,18 +24,13 @@ buildPythonPackage rec {
|
||||
--replace-fail "assertEquals" "assertEqual"
|
||||
'';
|
||||
|
||||
# tests rely on nose
|
||||
doCheck = pythonOlder "3.12";
|
||||
build-system = [ setuptools ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
nose
|
||||
mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
nosetests
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client for Ubiquiti's Unifi Camera NVR";
|
||||
mainProgram = "uvc";
|
||||
|
Loading…
Reference in New Issue
Block a user