python312Packages.mhcflurry: 2.1.4 -> 2.1.5 (#394991)

This commit is contained in:
Nick Cao
2025-03-31 17:29:39 -04:00
committed by GitHub
@@ -2,12 +2,12 @@
lib,
buildPythonPackage,
fetchFromGitHub,
fetchpatch,
# dependencies
appdirs,
keras,
mhcgnomes,
numpy,
pandas,
pyyaml,
scikit-learn,
@@ -21,30 +21,22 @@
buildPythonPackage rec {
pname = "mhcflurry";
version = "2.1.4";
version = "2.1.5";
pyproject = true;
src = fetchFromGitHub {
owner = "openvax";
repo = "mhcflurry";
tag = "v${version}";
hash = "sha256-dxCGCPnk1IFKg8ZVqMJsojQL0KlNirKlHJoaaOYIzMU=";
hash = "sha256-TNb3oKZvgBuXoSwsTuEJjFKEVZyHynazuPInj7wVKs8=";
};
patches = [
# TODO: this has been merged in master and will thus be included in the next release.
(fetchpatch {
name = "migrate-from-nose-to-pytest";
url = "https://github.com/openvax/mhcflurry/commit/8e9f35381a476362ca41cb71eb0a90f6573fe4b3.patch";
hash = "sha256-PyyxGrjE3OZR8dKHEQBQGiRG9A8kcz/e14PRyrVvqrE=";
})
];
# keras and tensorflow are not in the official setup.py requirements but are required for the CLI utilities to run.
dependencies = [
appdirs
keras
mhcgnomes
numpy
pandas
pyyaml
scikit-learn
@@ -53,8 +45,6 @@ buildPythonPackage rec {
tqdm
];
# Tests currently depend on nose; see
# <https://github.com/openvax/mhcflurry/pull/244>.
nativeCheckInputs = [
pytestCheckHook
];