lol

Merge pull request #246497 from natsukium/meeko/update

python310Packages.meeko: 0.4.0 -> 0.5.0

authored by

Mario Rodas and committed by
GitHub
0aab02e4 1d74c8f2

+16 -6
+16 -6
pkgs/development/python-modules/meeko/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 + , fetchpatch 4 5 , numpy 5 6 , pytestCheckHook 6 7 , pythonOlder ··· 10 11 11 12 buildPythonPackage rec { 12 13 pname = "meeko"; 13 - version = "0.4.0"; 14 + version = "0.5.0"; 14 15 format = "setuptools"; 15 16 16 17 disabled = pythonOlder "3.5"; ··· 19 20 owner = "forlilab"; 20 21 repo = "Meeko"; 21 22 rev = "refs/tags/v${version}"; 22 - hash = "sha256-BCkKRwz3jK5rNAMtKcGxuvfdIFxRRJpABcedyd1zSKE="; 23 + hash = "sha256-pngFu6M63W26P7wd6FUNLuf0NikxtRtVR/pnR5PR6Wo="; 23 24 }; 24 25 25 - postPatch = '' 26 - substituteInPlace setup.py \ 27 - --replace "python_requires='>=3.5.*'" "python_requires='>=3.5'" 28 - ''; 26 + patches = [ 27 + # https://github.com/forlilab/Meeko/issues/60 28 + (fetchpatch { 29 + name = "fix-unknown-sidechains.patch"; 30 + url = "https://github.com/forlilab/Meeko/commit/28c9fbfe3b778aa1bd5e8d7e4f3e6edf44633a0c.patch"; 31 + hash = "sha256-EJbLnbKTTOsTxKtLiU7Af07yjfY63ungGUHbGvrm0AU="; 32 + }) 33 + (fetchpatch { 34 + name = "add-test-data.patch"; 35 + url = "https://github.com/forlilab/Meeko/commit/57b52e3afffb82685cdd1ef1bf6820d55924b97a.patch"; 36 + hash = "sha256-nLnyIjT68iaY3lAEbH9EJ5jZflhxABBwDqw8kaRKf3k="; 37 + }) 38 + ]; 29 39 30 40 propagatedBuildInputs = [ 31 41 # setup.py only requires numpy but others are needed at runtime