Martin Weinelt 2023-02-01 22:53:19 +01:00
parent 83e7b31732
commit c0156b1cc8
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,26 +1,31 @@
{ lib
, async-timeout
, attrs
, buildPythonPackage
, fetchFromGitHub
, httpx
, orjson
, packaging
, xmltodict
}:
buildPythonPackage rec {
pname = "axis";
version = "44";
version = "46";
format = "setuptools";
src = fetchFromGitHub {
owner = "Kane610";
repo = pname;
rev = "v${version}";
sha256 = "sha256-GC8GiDP/QHU+8swe60VFPRx8kSMMHuXjIPEKCja8HPE=";
hash = "sha256-alhezwRPag+6JoC4zbusWdxFyZQ2dZl04Uj1PkiN4qo=";
};
propagatedBuildInputs = [
async-timeout
attrs
httpx
orjson
packaging
xmltodict
];
@ -32,6 +37,7 @@ buildPythonPackage rec {
meta = with lib; {
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 = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};