depot/third_party/nixpkgs/pkgs/development/python-modules/mhcgnomes/default.nix
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

33 lines
805 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 ];
};
}