1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00

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 { };