mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-15 01:33:50 +00:00
53 lines
853 B
Nix
53 lines
853 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
|
|
# build-system
|
|
setuptools,
|
|
|
|
# dependencies
|
|
pandas,
|
|
pyyaml,
|
|
numpy,
|
|
|
|
# tests
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage (finalAttrs: {
|
|
pname = "mhcgnomes";
|
|
version = "3.32.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pirl-unc";
|
|
repo = "mhcgnomes";
|
|
tag = "v${finalAttrs.version}";
|
|
hash = "sha256-6YYmIXuZXCaozkrVhqlxSQ9TG7vthHcMhVl0QpWChZE=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
})
|