Skip to content

Commit

Permalink
python312Packages.mygene: init at 3.2.2 (NixOS#347629)
Browse files Browse the repository at this point in the history
  • Loading branch information
FliegendeWurst authored Dec 19, 2024
2 parents e50ca9f + 83b92b3 commit 1858008
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
43 changes: 43 additions & 0 deletions pkgs/development/python-modules/mygene/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,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 ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8569,6 +8569,8 @@ self: super: with self; {

myfitnesspal = callPackage ../development/python-modules/myfitnesspal { };

mygene = callPackage ../development/python-modules/mygene { };

mygpoclient = callPackage ../development/python-modules/mygpoclient { };

myhdl = callPackage ../development/python-modules/myhdl {
Expand Down

0 comments on commit 1858008

Please sign in to comment.