summary refs log tree commit diff
path: root/pkgs/development/python-modules/azure-mgmt-security/default.nix
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-10-22 23:58:56 -0700
committerJon <jonringer@users.noreply.github.com>2019-11-23 19:47:04 -0800
commitf7ee6a66f63bf0b7d6f0bc9c24d6fb421c7eb21b (patch)
treed19d98f6b386944c816fd65b248769ff960e7756 /pkgs/development/python-modules/azure-mgmt-security/default.nix
parent6b41c90abedc7c3f8ff6e7ddc9d2557744ed6bf2 (diff)
python3Packages.azure-mgmt-security: init at 0.3.0
Diffstat (limited to 'pkgs/development/python-modules/azure-mgmt-security/default.nix')
-rw-r--r--pkgs/development/python-modules/azure-mgmt-security/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/azure-mgmt-security/default.nix b/pkgs/development/python-modules/azure-mgmt-security/default.nix
new file mode 100644
index 0000000000000..5a9d8849f8d21
--- /dev/null
+++ b/pkgs/development/python-modules/azure-mgmt-security/default.nix
@@ -0,0 +1,31 @@
+{ lib, buildPythonPackage, fetchPypi, isPy27
+, azure-common
+, msrest
+, msrestazure
+}:
+
+buildPythonPackage rec {
+  version = "0.3.0";
+  pname = "azure-mgmt-security";
+  disabled = isPy27;
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0z766424783a6y5dp5ybxssb0bfzqb8kpa6zra8ccnbfg4fn478v";
+    extension = "zip";
+  };
+
+  propagatedBuildInputs = [ azure-common msrest msrestazure ];
+
+  # no tests included
+  doCheck = false;
+
+  pythonImportsCheck = [ "azure.common" "azure.mgmt.security" ];
+
+  meta = with lib; {
+    description = "Microsoft Azure Security Center Management Client Library for Python";
+    homepage = "https://github.com/Azure/azure-sdk-for-python";
+    license = licenses.mit;
+    maintainers = with maintainers; [ jonringer ];
+  };
+}