about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/azure-mgmt-batch/default.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2024-01-10 01:11:23 +0100
committerAlyssa Ross <hi@alyssa.is>2024-01-10 01:11:23 +0100
commitc8d05d8abadb244bc4e6cee75d450978d1f09a61 (patch)
tree2d710425b8e3f78e84d5e46abb3397cb1b34ec18 /nixpkgs/pkgs/development/python-modules/azure-mgmt-batch/default.nix
parentad899504860973e98351c922ecb934595f2c0f19 (diff)
parent0ed96eed101462bf05e1e99e1bbadcd49b4eb302 (diff)
downloadnixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar
nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar.gz
nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar.bz2
nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar.lz
nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar.xz
nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.tar.zst
nixlib-c8d05d8abadb244bc4e6cee75d450978d1f09a61.zip
Merge branch 'nixos-unstable-small' of https://github.com/NixOS/nixpkgs
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/azure-mgmt-batch/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/azure-mgmt-batch/default.nix33
1 files changed, 20 insertions, 13 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/azure-mgmt-batch/default.nix b/nixpkgs/pkgs/development/python-modules/azure-mgmt-batch/default.nix
index 1d55b6c78530..189aa05c8056 100644
--- a/nixpkgs/pkgs/development/python-modules/azure-mgmt-batch/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/azure-mgmt-batch/default.nix
@@ -1,39 +1,46 @@
 { lib
-, buildPythonPackage
-, fetchPypi
-, msrest
-, msrestazure
 , azure-common
 , azure-mgmt-core
+, buildPythonPackage
+, fetchPypi
+, isodate
 , pythonOlder
+, setuptools
 }:
 
 buildPythonPackage rec {
   pname = "azure-mgmt-batch";
-  version = "17.1.0";
-  format = "setuptools";
+  version = "17.2.0";
+  pyproject = true;
 
-  disabled = pythonOlder "3.6";
+  disabled = pythonOlder "3.9";
 
   src = fetchPypi {
     inherit pname version;
-    extension = "zip";
-    hash = "sha256-OFv5IImNwtWAeGX75FAZ8QzfvvZRxtv6R0WoQlJduvs=";
+    hash = "sha256-ihXjijfW5OzilXPegIxaiSdsmfJSDqHzUrhqcEyJhY0=";
   };
 
+  nativeBuildInputs = [
+    setuptools
+  ];
+
   propagatedBuildInputs = [
-    msrest
-    msrestazure
     azure-common
     azure-mgmt-core
+    isodate
   ];
 
-  # Module has no tests
+  # Tests are only available in mono repo
   doCheck = false;
 
+  pythonImportsCheck = [
+    "azure.mgmt.batch"
+  ];
+
   meta = with lib; {
     description = "This is the Microsoft Azure Batch Management Client Library";
-    homepage = "https://github.com/Azure/azure-sdk-for-python";
+    homepage = "https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/batch/azure-mgmt-batch";
+    changelog = "https://github.com/Azure/azure-sdk-for-python/tree/azure-mgmt-batch_${version}/sdk/batch/azure-mgmt-batch";
     license = licenses.mit;
     maintainers = with maintainers; [ maxwilson ];
   };