16 pname = "python-etcd";
17 version = "0.5.0-unstable-2023-10-31";
20 src = fetchFromGitHub {
23 rev = "5aea0fd4461bd05dd96e4ad637f6be7bceb1cee5";
24 hash = "sha256-eVirStLOPTbf860jfkNMWtGf+r0VygLZRjRDjBMCVKg=";
27 build-system = [ setuptools ];
41 # arm64 is an unsupported platform on etcd 3.4. should be able to be removed on >= etcd 3.5
42 doCheck = !stdenv.hostPlatform.isAarch64;
45 for file in "test_auth" "integration/test_simple"; do
46 substituteInPlace src/etcd/tests/$file.py \
47 --replace-fail "assertEquals" "assertEqual"
52 description = "Python client for Etcd";
53 homepage = "https://github.com/jplana/python-etcd";
54 license = licenses.mit;