mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
66 lines
1.7 KiB
Nix
66 lines
1.7 KiB
Nix
{ lib
|
|
, python3
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "deeptools";
|
|
version = "3.5.5";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "deeptools";
|
|
repo = "deepTools";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-2kSlL7Y5f/FjVtStnmz+GlTw2oymrtxOCaXlqgbQ7FU=";
|
|
};
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
|
setuptools
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
numpy
|
|
numpydoc
|
|
scipy
|
|
py2bit
|
|
pybigwig
|
|
pysam
|
|
matplotlib
|
|
plotly
|
|
deeptoolsintervals
|
|
importlib-metadata
|
|
];
|
|
|
|
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; {
|
|
homepage = "https://deeptools.readthedocs.io/en/develop";
|
|
description = "Tools for exploring deep DNA sequencing data";
|
|
longDescription = ''
|
|
deepTools contains useful modules to process the mapped reads data for multiple
|
|
quality checks, creating normalized coverage files in standard bedGraph and bigWig
|
|
file formats, that allow comparison between different files (for example, treatment and control).
|
|
Finally, using such normalized and standardized files, deepTools can create many
|
|
publication-ready visualizations to identify enrichments and for functional
|
|
annotations of the genome.
|
|
'';
|
|
license = with licenses; [ mit bsd3 ];
|
|
maintainers = with maintainers; [ scalavision ];
|
|
};
|
|
}
|