nixpkgs/pkgs/development/python-modules/python-nomad/default.nix
Martin Weinelt 0215034f25 python3.pkgs: Migrate fetchers to use hash
when they already rely on SRI hashes.
2023-03-03 23:59:29 +01:00

26 lines
596 B
Nix

{ lib, buildPythonPackage, fetchPypi, requests }:
buildPythonPackage rec {
pname = "python-nomad";
version = "1.5.0";
src = fetchPypi {
inherit pname version;
hash = "sha256-VpngJvm9eK60lPeFIbjnTwzWWoJ9tRBDYP5SghDMbAg=";
};
propagatedBuildInputs = [ requests ];
# Tests require nomad agent
doCheck = false;
pythonImportsCheck = [ "nomad" ];
meta = with lib; {
description = "Python client library for Hashicorp Nomad";
homepage = "https://github.com/jrxFive/python-nomad";
license = licenses.mit;
maintainers = with maintainers; [ xbreak ];
};
}