23 buildPythonPackage rec {
26 format = "setuptools";
28 disabled = pythonOlder "3.7";
30 src = fetchFromGitHub {
33 rev = "refs/tags/v${version}";
34 hash = "sha256-tlR1LsR+M1nkzk3CgrkkNcSGP3juv25GXddWDDWJ5ao=";
38 # see https://github.com/etal/cnvkit/issues/589
39 substituteInPlace setup.py \
40 --replace 'joblib < 1.0' 'joblib'
41 # see https://github.com/etal/cnvkit/issues/680
42 substituteInPlace test/test_io.py \
43 --replace 'test_read_vcf' 'dont_test_read_vcf'
46 propagatedBuildInputs = [
62 nativeCheckInputs = [ R ];
66 ${python.interpreter} test_io.py
67 ${python.interpreter} test_genome.py
68 ${python.interpreter} test_cnvlib.py
69 ${python.interpreter} test_commands.py
70 ${python.interpreter} test_r.py
74 pythonImportsCheck = [ "cnvlib" ];
77 homepage = "https://cnvkit.readthedocs.io";
78 description = "Python library and command-line software toolkit to infer and visualize copy number from high-throughput DNA sequencing data";
79 changelog = "https://github.com/etal/cnvkit/releases/tag/v${version}";
80 license = licenses.asl20;
81 maintainers = [ maintainers.jbedo ];