truvari: add patches to fix truvari anno

This commit is contained in:
natsukium 2023-05-13 13:10:39 +09:00
parent 60bd5e9f29
commit 7edb72db10
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53

View file

@ -1,5 +1,6 @@
{ lib
, fetchFromGitHub
, fetchpatch
, python3Packages
, runtimeShell
, bcftools
@ -24,6 +25,19 @@ in python3Packages.buildPythonApplication rec {
hash = "sha256-UJNMKEV5m2jFqnWvkVAtymkcE2TjPIXp7JqRZpMSqsE=";
};
patches = [
(fetchpatch {
name = "fix-anno-trf-on-darwin.patch";
url = "https://github.com/ACEnglish/truvari/commit/f9f36305e8eaa88f951562210e3672a4d4f71265.patch";
hash = "sha256-7O9jTQDCC2b8hUBm0qJQCYMzTC9NFtn/E0dTHSfJALU=";
})
(fetchpatch {
name = "fix-anno-grm-on-darwin.patch";
url = "https://github.com/ACEnglish/truvari/commit/31416552008a506204ed4e2add55474f10392357.patch";
hash = "sha256-42u0ewZU38GCoSfff+XQFv9hEFeO3WlJufTHcl6vkN4=";
})
];
postPatch = ''
substituteInPlace setup.py \
--replace "rich==" "rich>="