aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/development/python-modules/azure-mgmt-security/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/azure-mgmt-security/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/development/python-modules/azure-mgmt-security/default.nix31
1 files changed, 31 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/azure-mgmt-security/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/azure-mgmt-security/default.nix
new file mode 100644
index 000000000000..9de17636b234
--- /dev/null
+++ b/infra/libkookie/nixpkgs/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.6.0";
+ pname = "azure-mgmt-security";
+ disabled = isPy27;
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "9f37d0151d730801222af111f0830905634795dbfd59ad1b89c35197421e74d3";
+ 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 ];
+ };
+}