Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / mhcgnomes / default.nix
blob4c5d1f6faac9ebb608a6fd6f3c4c25087d83dc6f
1 { buildPythonPackage
2 , fetchFromGitHub
3 , lib
4 , pandas
5 , pyyaml
6 , serializable
7 }:
9 buildPythonPackage rec {
10   pname = "mhcgnomes";
11   version = "1.8.6";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     owner = "pirl-unc";
16     repo = pname;
17     # See https://github.com/pirl-unc/mhcgnomes/issues/20. As of 2023-07-13,
18     # they do no have version tags.
19     rev = "c7e779b60e35a031f6e0f0ea6ae70e8a8e7671c6";
20     hash = "sha256-KKiBlnFlavRnaQnOpAzG0dyxmFB+zF9L6t/H05LkFZE=";
21   };
23   propagatedBuildInputs = [ pandas pyyaml serializable ];
25   pythonImportsCheck = [ "mhcgnomes" ];
27   meta = with lib; {
28     description = "Parsing MHC nomenclature in the wild";
29     homepage = "https://github.com/pirl-unc/mhcgnomes";
30     license = licenses.asl20;
31     maintainers = with maintainers; [ samuela ];
32   };