1{ 2 buildPythonPackage, 3 fetchFromGitHub, 4 lib, 5 pandas, 6 pyyaml, 7 serializable, 8}: 9 10buildPythonPackage { 11 pname = "mhcgnomes"; 12 version = "1.8.6"; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "pirl-unc"; 17 repo = "mhcgnomes"; 18 # See https://github.com/pirl-unc/mhcgnomes/issues/20. As of 2023-07-13, 19 # they do no have version tags. 20 rev = "c7e779b60e35a031f6e0f0ea6ae70e8a8e7671c6"; 21 hash = "sha256-KKiBlnFlavRnaQnOpAzG0dyxmFB+zF9L6t/H05LkFZE="; 22 }; 23 24 propagatedBuildInputs = [ 25 pandas 26 pyyaml 27 serializable 28 ]; 29 30 pythonImportsCheck = [ "mhcgnomes" ]; 31 32 meta = with lib; { 33 description = "Parsing MHC nomenclature in the wild"; 34 homepage = "https://github.com/pirl-unc/mhcgnomes"; 35 license = licenses.asl20; 36 maintainers = with maintainers; [ samuela ]; 37 }; 38}