at master 920 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 pytestCheckHook, 7 8 # Dependencies 9 biothings-client, 10 pandas, 11 requests, 12}: 13buildPythonPackage rec { 14 pname = "mygene"; 15 version = "3.2.2"; 16 pyproject = true; 17 18 src = fetchFromGitHub { 19 owner = "biothings"; 20 repo = "mygene.py"; 21 rev = "v${version}"; 22 hash = "sha256-/KxlzOTbZTN5BA0PrJyivVFh4cLtW90/EFwczda61Tg="; 23 }; 24 25 optional-dependencies = { 26 complete = [ pandas ]; 27 }; 28 29 build-system = [ setuptools ]; 30 dependencies = [ 31 biothings-client 32 requests 33 ]; 34 pythonImportsCheck = [ "mygene" ]; 35 36 meta = { 37 changelog = "https://github.com/biothings/mygene.py/blob/v${version}/CHANGES.txt"; 38 description = "REST web services to query/retrieve gene annotation data"; 39 homepage = "https://github.com/biothings/mygene.py"; 40 license = lib.licenses.bsd3; 41 maintainers = with lib.maintainers; [ rayhem ]; 42 }; 43}