Unverified Commit 74cf3d84 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python310Packages.azure-batch: disable on older Python releases

parent 49beacfe
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -4,16 +4,20 @@
, msrest
, azure-common
, msrestazure
, pythonOlder
}:

buildPythonPackage rec {
  pname = "azure-batch";
  version = "13.0.0";
  format = "setuptools";

  disabled = pythonOlder "3.6";

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    sha256 = "sha256-6Sld5wQE0nbtoN0iU9djl0Oavl2PGMH8oZnEm41q4wo=";
    hash = "sha256-6Sld5wQE0nbtoN0iU9djl0Oavl2PGMH8oZnEm41q4wo=";
  };

  propagatedBuildInputs = [
@@ -22,10 +26,12 @@ buildPythonPackage rec {
    azure-common
  ];

  # has no tests
  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "azure.batch" ];
  pythonImportsCheck = [
    "azure.batch"
  ];

  meta = with lib; {
    description = "This is the Microsoft Azure Batch Client Library";