Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / python-nomad / default.nix
blob3a7750e9deac7911f8629ae4006bfe0847be168f
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , requests
5 , pythonOlder
6 }:
8 buildPythonPackage rec {
9   pname = "python-nomad";
10   version = "2.0.0";
11   format = "setuptools";
13   disabled = pythonOlder "3.7";
15   src = fetchPypi {
16     inherit pname version;
17     hash = "sha256-5IyHNw1ArE8fU9DoSQMGkDI9d/OiR1YI/7nTPeFIK+A=";
18   };
20   propagatedBuildInputs = [
21     requests
22   ];
24   # Tests require nomad agent
25   doCheck = false;
27   pythonImportsCheck = [
28     "nomad"
29   ];
31   meta = with lib; {
32     description = "Python client library for Hashicorp Nomad";
33     homepage = "https://github.com/jrxFive/python-nomad";
34     changelog = "https://github.com/jrxFive/python-nomad/blob/${version}/CHANGELOG.md";
35     license = licenses.mit;
36     maintainers = with maintainers; [ xbreak ];
37   };