about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/azure-mgmt-commerce/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/azure-mgmt-commerce/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/azure-mgmt-commerce/default.nix41
1 files changed, 41 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/azure-mgmt-commerce/default.nix b/nixpkgs/pkgs/development/python-modules/azure-mgmt-commerce/default.nix
new file mode 100644
index 000000000000..86e323be1686
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/azure-mgmt-commerce/default.nix
@@ -0,0 +1,41 @@
+{ lib
+, buildPythonPackage
+, fetchFromGitHub
+, msrestazure
+, azure-common
+, azure-mgmt-nspkg
+, python
+, isPy3k
+}:
+
+buildPythonPackage rec {
+  pname = "azure-mgmt-commerce";
+  version = "1.0.1";
+
+  src = fetchFromGitHub {
+    owner = "Azure";
+    repo = "azure-sdk-for-python";
+    rev = "ee5b47525d6c1eae3b1fd5f65b0421eab62a6e6f";
+    sha256 = "0xzdn7da5c3q5knh033vbsqk36vwbm75cx8vf10x0yj58krb4kn4";
+  };
+
+  preBuild = ''
+    cd ./azure-mgmt-commerce
+  '';
+
+  propagatedBuildInputs = [
+    msrestazure
+    azure-common
+    azure-mgmt-nspkg
+  ];
+
+  # has no tests
+  doCheck = false;
+
+  meta = with lib; {
+    description = "This is the Microsoft Azure Commerce Management Client Library";
+    homepage = https://github.com/Azure/sdk-for-python/tree/master/azure-mgmt-commerce;
+    license = licenses.mit;
+    maintainers = with maintainers; [ mwilsoninsight ];
+  };
+}