1{ lib, buildPythonPackage, fetchPypi, requests }:
2
3buildPythonPackage rec {
4 pname = "python-nomad";
5 version = "1.4.1";
6
7 src = fetchPypi {
8 inherit pname version;
9 sha256 = "087a7d5d2af9fd8ce5da70d29e4b456c6b8b0ea3cd16613ed50f6eb8ad6cdba6";
10 };
11
12 propagatedBuildInputs = [ requests ];
13
14 # Tests require nomad agent
15 doCheck = false;
16
17 pythonImportsCheck = [ "nomad" ];
18
19 meta = with lib; {
20 description = "Python client library for Hashicorp Nomad";
21 homepage = "https://github.com/jrxFive/python-nomad";
22 license = licenses.mit;
23 maintainers = with maintainers; [ xbreak ];
24 };
25}