mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
python3Packages.axis: init at 42
This commit is contained in:
parent
a6d893fc34
commit
8d64b33c46
38
pkgs/development/python-modules/axis/default.nix
Normal file
38
pkgs/development/python-modules/axis/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -558,6 +558,8 @@ in {
|
|||||||
|
|
||||||
aws-xray-sdk = callPackage ../development/python-modules/aws-xray-sdk { };
|
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-appconfiguration = callPackage ../development/python-modules/azure-appconfiguration { };
|
||||||
|
|
||||||
azure-applicationinsights = callPackage ../development/python-modules/azure-applicationinsights { };
|
azure-applicationinsights = callPackage ../development/python-modules/azure-applicationinsights { };
|
||||||
@ -6625,6 +6627,8 @@ in {
|
|||||||
|
|
||||||
responses = callPackage ../development/python-modules/responses { };
|
responses = callPackage ../development/python-modules/responses { };
|
||||||
|
|
||||||
|
respx = callPackage ../development/python-modules/respx { };
|
||||||
|
|
||||||
restrictedpython = callPackage ../development/python-modules/restrictedpython { };
|
restrictedpython = callPackage ../development/python-modules/restrictedpython { };
|
||||||
|
|
||||||
restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { };
|
restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { };
|
||||||
|
Loading…
Reference in New Issue
Block a user