mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 04:02:10 +00:00
Merge pull request #235884 from r-ryantm/auto-update/python310Packages.python-nomad
python310Packages.python-nomad: 1.5.0 -> 2.0.0
This commit is contained in:
commit
962cc00249
|
@ -1,24 +1,37 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, requests }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-nomad";
|
||||
version = "1.5.0";
|
||||
version = "2.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-VpngJvm9eK60lPeFIbjnTwzWWoJ9tRBDYP5SghDMbAg=";
|
||||
hash = "sha256-5IyHNw1ArE8fU9DoSQMGkDI9d/OiR1YI/7nTPeFIK+A=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
];
|
||||
|
||||
# Tests require nomad agent
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "nomad" ];
|
||||
pythonImportsCheck = [
|
||||
"nomad"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python client library for Hashicorp Nomad";
|
||||
homepage = "https://github.com/jrxFive/python-nomad";
|
||||
changelog = "https://github.com/jrxFive/python-nomad/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ xbreak ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue