diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-01-16 13:44:17 +0100 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-01-16 09:45:05 -0800 |
commit | 8d64b33c469f99e1aea04a5287e5a1f17851cef8 (patch) | |
tree | 3c422a5b08c8ed6211d0689a5345dbbcead2fea8 /pkgs | |
parent | a6d893fc3442cf0a6b8a34c9dc4f014d875a64fa (diff) |
python3Packages.axis: init at 42
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/axis/default.nix | 38 | ||||
-rw-r--r-- | pkgs/top-level/python-packages.nix | 4 |
2 files changed, 42 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/axis/default.nix b/pkgs/development/python-modules/axis/default.nix new file mode 100644 index 0000000000000..2eeec3ec722c2 --- /dev/null +++ b/pkgs/development/python-modules/axis/default.nix @@ -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 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 8b5246951bd27..754e0d753108e 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { }; |