Files
2026-07-25 05:42:19 +00:00

53 lines
853 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
setuptools,
# dependencies
pandas,
pyyaml,
numpy,
# tests
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "mhcgnomes";
version = "3.33.4";
pyproject = true;
src = fetchFromGitHub {
owner = "pirl-unc";
repo = "mhcgnomes";
tag = "v${finalAttrs.version}";
hash = "sha256-RkGXBB/gsX/33xdOg97TzQgk0cXv3Ap4IyinKLrJBOo=";
};
build-system = [
setuptools
];
dependencies = [
pandas
pyyaml
numpy
];
pythonImportsCheck = [ "mhcgnomes" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
description = "Parsing MHC nomenclature in the wild";
homepage = "https://github.com/pirl-unc/mhcgnomes";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ samuela ];
};
})