Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 58 lines
Nix
at llvm-cleanup
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ lib, argcomplete, buildPythonPackage, fetchFromGitHub, httpx, mock, pytestCheckHook, pythonAtLeast, pythonOlder, requests, responses, setuptools, typing-extensions, urllib3,}:
buildPythonPackage rec { pname = "amcrest"; version = "1.9.8"; pyproject = true;
# Still uses distutils, https://github.com/tchellomello/python-amcrest/issues/234 disabled = pythonOlder "3.7" || pythonAtLeast "3.12";
src = fetchFromGitHub { owner = "tchellomello"; repo = "python-amcrest"; rev = "refs/tags/${version}"; hash = "sha256-v0jWEZo06vltEq//suGrvJ/AeeDxUG5CCFhbf03q34w="; };
build-system = [ setuptools ];
dependencies = [ argcomplete httpx requests urllib3 typing-extensions ];
nativeCheckInputs = [ mock pytestCheckHook responses ];
pythonImportsCheck = [ "amcrest" ];
meta = with lib; { description = "Python module for Amcrest and Dahua Cameras"; homepage = "https://github.com/tchellomello/python-amcrest"; changelog = "https://github.com/tchellomello/python-amcrest/releases/tag/${version}"; license = licenses.gpl2Only; maintainers = with maintainers; [ fab ]; };}