depot/third_party/nixpkgs/pkgs/development/python-modules/mhcgnomes/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

38 lines
827 B
Nix

{
buildPythonPackage,
fetchFromGitHub,
lib,
pandas,
pyyaml,
serializable,
}:
buildPythonPackage rec {
pname = "mhcgnomes";
version = "1.8.6";
format = "setuptools";
src = fetchFromGitHub {
owner = "pirl-unc";
repo = pname;
# 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 ];
};
}