python3Packages.pylacrosse: 0.4 -> 0.5

This commit is contained in:
Timo Gottszky
2026-07-08 17:12:23 +02:00
parent d1ded74c76
commit a35f08fdf1
@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
mock,
pyserial,
pytestCheckHook,
@@ -10,24 +9,16 @@
buildPythonPackage rec {
pname = "pylacrosse";
version = "0.4";
version = "0.5";
format = "setuptools";
src = fetchFromGitHub {
owner = "hthiery";
repo = "python-lacrosse";
tag = version;
hash = "sha256-jrkehoPLYbutDfxMBO/vlx4nMylTNs/gtvoBTFHFsDw=";
hash = "sha256-z2OlYFFK/+BONg22+Vk0kQQ0KJoQnRkjP7OUS/TVpfI=";
};
patches = [
# Migrate to pytest, https://github.com/hthiery/python-lacrosse/pull/17
(fetchpatch2 {
url = "https://github.com/hthiery/python-lacrosse/commit/cc2623c667bc252360a9b5ccb4fc05296cf23d9c.patch?full_index=1";
hash = "sha256-LKryLnXMKj1lVClneyHNVOWM5KPPhOGy0/FX/7Qy/jU=";
})
];
postPatch = ''
substituteInPlace setup.py \
--replace "version = version," "version = '${version}',"