blob: 42da424254956ccea24467cb5bea961ddb68f8df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{
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 ];
};
}
|