Files
nixpkgs/pkgs/development/python-modules/mhcgnomes/default.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

39 lines
829 B
Nix

{
buildPythonPackage,
fetchFromGitHub,
lib,
pandas,
pyyaml,
serializable,
}:
buildPythonPackage {
pname = "mhcgnomes";
version = "1.8.6";
format = "setuptools";
src = fetchFromGitHub {
owner = "pirl-unc";
repo = "mhcgnomes";
# See https://github.com/pirl-unc/mhcgnomes/issues/20. As of 2023-07-13,
# they do no have version tags.
rev = "c7e779b60e35a031f6e0f0ea6ae70e8a8e7671c6";
hash = "sha256-KKiBlnFlavRnaQnOpAzG0dyxmFB+zF9L6t/H05LkFZE=";
};
propagatedBuildInputs = [
pandas
pyyaml
serializable
];
pythonImportsCheck = [ "mhcgnomes" ];
meta = with lib; {
description = "Parsing MHC nomenclature in the wild";
homepage = "https://github.com/pirl-unc/mhcgnomes";
license = licenses.asl20;
maintainers = with maintainers; [ samuela ];
};
}