2019-10-27 10:11:17 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-nomad";
|
2020-04-13 16:20:05 +01:00
|
|
|
version = "1.2.1";
|
2019-10-27 10:11:17 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-13 16:20:05 +01:00
|
|
|
sha256 = "0ivkfdrmb4wpyawvwrgm3jvx6hn49vqjpwbkmkmamigghqqwacx3";
|
2019-10-27 10:11:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
# Tests require nomad agent
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python client library for Hashicorp Nomad";
|
|
|
|
homepage = "https://github.com/jrxFive/python-nomad";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ xbreak ];
|
|
|
|
};
|
|
|
|
}
|