python3Packages.mhcgnomes: init at 1.8.6

This commit is contained in:
Samuel Ainsworth 2023-07-14 01:53:55 -04:00
parent bc184bf7dc
commit af40e90a49
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ 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 ];
};
}

View File

@ -6367,6 +6367,8 @@ self: super: with self; {
mf2py = callPackage ../development/python-modules/mf2py { };
mhcgnomes = callPackage ../development/python-modules/mhcgnomes { };
micawber = callPackage ../development/python-modules/micawber { };
microdata = callPackage ../development/python-modules/microdata { };