Merge pull request #284607 from dotlambda/deeptools-fix
deeptools: fix build
This commit is contained in:
commit
950c66b787
pkgs
@ -1,19 +1,25 @@
|
|||||||
{ lib, python, fetchFromGitHub }:
|
{ lib
|
||||||
with python.pkgs;
|
, python3
|
||||||
buildPythonApplication rec {
|
, fetchFromGitHub
|
||||||
pname = "deepTools";
|
}:
|
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "deeptools";
|
||||||
version = "3.5.4";
|
version = "3.5.4";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "deeptools";
|
owner = "deeptools";
|
||||||
repo = "deepTools";
|
repo = "deepTools";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-A8YdlMptmJyxWW0EYLjXFIWjIO/mttEC7VYdlCe9MaI=";
|
hash = "sha256-A8YdlMptmJyxWW0EYLjXFIWjIO/mttEC7VYdlCe9MaI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
format = "pyproject";
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
|
setuptools
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
numpy
|
numpy
|
||||||
numpydoc
|
numpydoc
|
||||||
scipy
|
scipy
|
||||||
@ -26,7 +32,21 @@ buildPythonApplication rec {
|
|||||||
importlib-metadata
|
importlib-metadata
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [ pytest ];
|
nativeCheckInputs = with python3.pkgs; [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export PATH="$out/bin:$PATH"
|
||||||
|
'';
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
||||||
|
# tests trip on `len(sys.argv) == 1`
|
||||||
|
"deeptools/test/test_bigwigAverage.py"
|
||||||
|
"deeptools/test/test_bigwigCompare_and_multiBigwigSummary.py"
|
||||||
|
"deeptools/test/test_heatmapper.py"
|
||||||
|
"deeptools/test/test_multiBamSummary.py"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://deeptools.readthedocs.io/en/develop";
|
homepage = "https://deeptools.readthedocs.io/en/develop";
|
||||||
|
@ -38811,7 +38811,7 @@ with pkgs;
|
|||||||
python3 = python311;
|
python3 = python311;
|
||||||
};
|
};
|
||||||
|
|
||||||
deeptools = callPackage ../applications/science/biology/deeptools { python = python3; };
|
deeptools = callPackage ../applications/science/biology/deeptools { };
|
||||||
|
|
||||||
deep-translator = with python3Packages; toPythonApplication deep-translator;
|
deep-translator = with python3Packages; toPythonApplication deep-translator;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user