python310Packages.sumo: 2.3.3 -> 2.3.4

This commit is contained in:
Jonas Heinrich 2022-09-01 16:50:54 +02:00
parent 2da64a8127
commit 84650ed3fd

View file

@ -18,7 +18,7 @@
buildPythonPackage rec {
pname = "sumo";
version = "2.3.3";
version = "2.3.4";
format = "setuptools";
disabled = pythonOlder "3.6";
@ -27,16 +27,9 @@ buildPythonPackage rec {
owner = "SMTG-UCL";
repo = "sumo";
rev = "refs/tags/v${version}";
sha256 = "sha256-XEs4lLbVwN00UDnDC0kUNlut9RFXPfcyevBA1f1UqSU=";
sha256 = "sha256-kgTTYCTq8jTNOmc92TRskbsOcnk6wTZgf0UfoctJ4M4=";
};
postPatch = ''
# Loosen castepxbin dependency version pinning
# https://github.com/SMTG-UCL/sumo/issues/173
substituteInPlace setup.py \
--replace "castepxbin==0.1.0" "castepxbin>=0.1.0"
'';
nativeBuildInputs = [
cython
];