1{ lib, buildPythonPackage, fetchPypi, requests }:
2
3buildPythonPackage rec {
4 pname = "python-nomad";
5 version = "1.5.0";
6
7 src = fetchPypi {
8 inherit pname version;
9 hash = "sha256-VpngJvm9eK60lPeFIbjnTwzWWoJ9tRBDYP5SghDMbAg=";
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}