Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 61 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, aiohttp, buildPythonPackage, faust-cchardet, fetchFromGitHub, httpx, orjson, packaging, pythonOlder, setuptools, typing-extensions, xmltodict,}:
buildPythonPackage rec { pname = "axis"; version = "68"; pyproject = true;
disabled = pythonOlder "3.14";
src = fetchFromGitHub { owner = "Kane610"; repo = "axis"; tag = "v${version}"; hash = "sha256-2a7zGgWc0QxxjCCg5yCfcepzLhEfvASv/Y8mDgl4y8M="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "setuptools==82.0.1" "setuptools" \ --replace-fail "wheel==0.46.3" "wheel" '';
build-system = [ setuptools ];
dependencies = [ aiohttp faust-cchardet httpx orjson packaging typing-extensions xmltodict ];
# Tests requires a server on localhost doCheck = false;
pythonImportsCheck = [ "axis" ];
meta = { description = "Python library for communicating with devices from Axis Communications"; homepage = "https://github.com/Kane610/axis"; changelog = "https://github.com/Kane610/axis/releases/tag/v${version}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "axis"; };}