23 buildPythonPackage rec {
26 format = "setuptools";
28 disabled = pythonOlder "3.7";
30 src = fetchFromGitHub {
33 rev = "refs/tags/v${version}";
34 hash = "sha256-mCQXo3abwC06x/g51UBshqUk3dpqEVNUvx+cJ/EdYGQ=";
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 = [
79 homepage = "https://cnvkit.readthedocs.io";
80 description = "A Python library and command-line software toolkit to infer and visualize copy number from high-throughput DNA sequencing data";
81 changelog = "https://github.com/etal/cnvkit/releases/tag/v${version}";
82 license = licenses.asl20;
83 maintainers = [ maintainers.jbedo ];