diff options
author | Fabian Affolter <fabian@affolter-engineering.ch> | 2022-05-02 12:33:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-02 12:33:22 +0200 |
commit | b10e012588d3a9437ccddceac8b1b2498c36d98c (patch) | |
tree | 2f9011e9de9be2725beeac58c4173f889ab13104 /pkgs/applications/science | |
parent | 917be9fa320d962a5ba75749b62377f73835aa20 (diff) | |
parent | fc5fdba4305744bae818a40d8bb0d9d0ecae7ad2 (diff) |
Merge pull request #171121 from fabaff/pathy-clean
python310Packages.smart-open: 5.2.1 -> 6.0.0, python39Packages.spacy: 3.2.4 -> 3.3.0, snakemake: 6.15.5 -> 7.5.0
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r-- | pkgs/applications/science/misc/snakemake/default.nix | 40 |
1 files changed, 27 insertions, 13 deletions
diff --git a/pkgs/applications/science/misc/snakemake/default.nix b/pkgs/applications/science/misc/snakemake/default.nix index f4a3da9711dda..0249752797c19 100644 --- a/pkgs/applications/science/misc/snakemake/default.nix +++ b/pkgs/applications/science/misc/snakemake/default.nix @@ -1,10 +1,21 @@ -{ lib, python3Packages, fetchFromGitHub }: +{ lib +, fetchFromGitHub +, python3 +}: -python3Packages.buildPythonApplication rec { +python3.pkgs.buildPythonApplication rec { pname = "snakemake"; - version = "6.15.5"; + version = "7.5.0"; + format = "setuptools"; - propagatedBuildInputs = with python3Packages; [ + src = fetchFromGitHub { + owner = "snakemake"; + repo = pname; + rev = "v${version}"; + hash = "sha256-KIKuV6DVHn3dDY/rJG1zNWM79tdDB6GGVH9/kYn6XaE="; + }; + + propagatedBuildInputs = with python3.pkgs; [ appdirs configargparse connection-pool @@ -22,26 +33,21 @@ python3Packages.buildPythonApplication rec { pyyaml ratelimiter requests + retry smart-open stopit tabulate toposort wrapt + yte ]; - src = fetchFromGitHub { - owner = "snakemake"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-i8C7gPLzUzSxNH9xwpr+fUKI1SvpYFsFBlspS74LoWU="; - }; - # See # https://github.com/snakemake/snakemake/blob/main/.github/workflows/main.yml#L99 # for the current basic test suite. Tibanna and Tes require extra # setup. - checkInputs = with python3Packages; [ + checkInputs = with python3.pkgs; [ pandas pytestCheckHook requests-mock @@ -53,7 +59,15 @@ python3Packages.buildPythonApplication rec { "tests/test_linting.py" ]; - pythonImportsCheck = [ "snakemake" ]; + disabledTests = [ + # Tests require network access + "test_github_issue1396" + "test_github_issue1460" + ]; + + pythonImportsCheck = [ + "snakemake" + ]; meta = with lib; { homepage = "https://snakemake.github.io"; |