python3Packages.rflink: 0.0.58 -> 0.0.62

This commit is contained in:
Martin Weinelt 2022-02-02 21:16:29 +01:00
parent 734bdf9aa1
commit 8e02e37bb2
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -12,14 +12,14 @@
buildPythonPackage rec {
pname = "rflink";
version = "0.0.58";
version = "0.0.62";
format = "setuptools";
src = fetchFromGitHub {
owner = "aequitas";
repo = "python-rflink";
rev = version;
sha256 = "1zab55lsw419gg0jfrl69ap6128vbi3wdmg5z7qin65ijpjdhasc";
sha256 = "sha256-dEzkYE8xtUzvdsnPaSiQR8960WLOEcr/QhwDiQlobcs=";
};
propagatedBuildInputs = [
@ -34,15 +34,6 @@ buildPythonPackage rec {
pytestCheckHook
];
patches = [
# Remove loop, https://github.com/aequitas/python-rflink/pull/61
(fetchpatch {
name = "remove-loop.patch";
url = "https://github.com/aequitas/python-rflink/commit/777e19b5bde3398df5b8f142896c34a01ae18d52.patch";
sha256 = "sJmihxY3fNSfZVFhkvQ/+9gysQup/1jklKDMyDDLOs8=";
})
];
postPatch = ''
substituteInPlace setup.py \
--replace "version=version_from_git()" "version='${version}'"