Unverified Commit 962cc002 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #235884 from r-ryantm/auto-update/python310Packages.python-nomad

python310Packages.python-nomad: 1.5.0 -> 2.0.0
parents 1a351e6d e635ba6b
Loading
Loading
Loading
Loading
+18 −5
Original line number Diff line number Diff line
{ lib, buildPythonPackage, fetchPypi, requests }:
{ lib
, buildPythonPackage
, fetchPypi
, requests
, pythonOlder
}:

buildPythonPackage rec {
  pname = "python-nomad";
  version = "1.5.0";
  version = "2.0.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-VpngJvm9eK60lPeFIbjnTwzWWoJ9tRBDYP5SghDMbAg=";
    hash = "sha256-5IyHNw1ArE8fU9DoSQMGkDI9d/OiR1YI/7nTPeFIK+A=";
  };

  propagatedBuildInputs = [ requests ];
  propagatedBuildInputs = [
    requests
  ];

  # Tests require nomad agent
  doCheck = false;

  pythonImportsCheck = [ "nomad" ];
  pythonImportsCheck = [
    "nomad"
  ];

  meta = with lib; {
    description = "Python client library for Hashicorp Nomad";
    homepage = "https://github.com/jrxFive/python-nomad";
    changelog = "https://github.com/jrxFive/python-nomad/blob/${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ xbreak ];
  };