Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
920 B
Nix
44 lines
920 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
|
|
# Dependencies
|
|
biothings-client,
|
|
pandas,
|
|
requests,
|
|
}:
|
|
buildPythonPackage rec {
|
|
pname = "mygene";
|
|
version = "3.2.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "biothings";
|
|
repo = "mygene.py";
|
|
rev = "v${version}";
|
|
hash = "sha256-/KxlzOTbZTN5BA0PrJyivVFh4cLtW90/EFwczda61Tg=";
|
|
};
|
|
|
|
optional-dependencies = {
|
|
complete = [ pandas ];
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
dependencies = [
|
|
biothings-client
|
|
requests
|
|
];
|
|
pythonImportsCheck = [ "mygene" ];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/biothings/mygene.py/blob/v${version}/CHANGES.txt";
|
|
description = "REST web services to query/retrieve gene annotation data";
|
|
homepage = "https://github.com/biothings/mygene.py";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ rayhem ];
|
|
};
|
|
}
|