Files
nixpkgs/pkgs/development/python-modules/consul/default.nix
Ihar Hrachyshka cca3b04b44 treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 19:01:23 +01:00

35 lines
648 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
requests,
six,
pytest,
}:
buildPythonPackage rec {
pname = "python-consul";
version = "1.1.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "168f1fa53948047effe4f14d53fc1dab50192e2a2cf7855703f126f469ea11f4";
};
buildInputs = [
requests
six
pytest
];
# No tests distributed. https://github.com/cablehead/python-consul/issues/133
doCheck = false;
meta = {
description = "Python client for Consul (https://www.consul.io/)";
homepage = "https://github.com/cablehead/python-consul";
license = lib.licenses.mit;
};
}