mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
python312Packages.uvcclient: 0.11.1 -> 0.12.1
https://github.com/kk7ds/uvcclient/compare/refs/tags/0.11.1...v0.12.1 https://github.com/uilibs/uvcclient/blob/v0.12.1/CHANGELOG.md
This commit is contained in:
parent
d5d538c92a
commit
eb7c956947
@ -2,36 +2,36 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
poetry-core,
|
||||
mock,
|
||||
pytest-cov-stub,
|
||||
pytest-xdist,
|
||||
pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "uvcclient";
|
||||
version = "0.11.1";
|
||||
version = "0.12.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kk7ds";
|
||||
repo = pname;
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-0OUdBygL2AAtccL5hdyL+0PIRK4o+lNN3droWDysDeI=";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-ilZTRoSuoJMWlyRfvY/PpTBbr+d6wx+T3cVyW3ZkXlY=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace tests/test_camera.py \
|
||||
--replace-fail "assertEquals" "assertEqual"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
build-system = [ poetry-core ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
mock
|
||||
pytest-cov-stub
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/uilibs/uvcclient/blob/${src.rev}/CHANGELOG.md";
|
||||
description = "Client for Ubiquiti's Unifi Camera NVR";
|
||||
mainProgram = "uvc";
|
||||
homepage = "https://github.com/kk7ds/uvcclient";
|
||||
|
Loading…
Reference in New Issue
Block a user