python3Packages.axis: init at 42

This commit is contained in:
Fabian Affolter 2021-01-16 13:44:17 +01:00 committed by Jonathan Ringer
parent a6d893fc34
commit 8d64b33c46
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,38 @@
{ lib
, attrs
, buildPythonPackage
, fetchFromGitHub
, httpx
, packaging
, xmltodict
}:
buildPythonPackage rec {
pname = "axis";
version = "42";
src = fetchFromGitHub {
owner = "Kane610";
repo = pname;
rev = "v${version}";
sha256 = "1144zkgyf63qlw4dfn1zqcbgaksmxvjc4115jhzi98z0fkvlk34p";
};
propagatedBuildInputs = [
attrs
httpx
packaging
xmltodict
];
# Tests requires a server on localhost
doCheck = false;
pythonImportsCheck = [ "axis" ];
meta = with lib; {
description = "Python library for communicating with devices from Axis Communications";
homepage = "https://github.com/Kane610/axis";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -558,6 +558,8 @@ in {
aws-xray-sdk = callPackage ../development/python-modules/aws-xray-sdk { };
axis = callPackage ../development/python-modules/axis { };
azure-appconfiguration = callPackage ../development/python-modules/azure-appconfiguration { };
azure-applicationinsights = callPackage ../development/python-modules/azure-applicationinsights { };
@ -6625,6 +6627,8 @@ in {
responses = callPackage ../development/python-modules/responses { };
respx = callPackage ../development/python-modules/respx { };
restrictedpython = callPackage ../development/python-modules/restrictedpython { };
restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { };