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