python3Packages.pylacrosse: 0.4 -> 0.5
This commit is contained in:
@@ -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}',"
|
||||
|
||||
Reference in New Issue
Block a user