From b68eb98be030d26cef50bd2ae4c337b9db22557e Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 30 Oct 2025 10:21:36 +0000 Subject: [PATCH] gnu: python-cmseq: Fix build. * gnu/packages/bioinformatics.scm (python-bcbio-gff/biopython-1.73): Rename variable to python-bcbio-gff-for-python-cmseq and pin to 0.6.9 version which is the last one compatible with python-biopython-1.73. (python-cmseq)[propagated-inputs]: Remove python-bcbio-gff/biopython-1.73; add python-bcbio-gff-for-python-cmseq. [native-inputs]: Add python-setuptools. Change-Id: Id7c37f8f34058648506645ce07c2a89dfcea2067 --- gnu/packages/bioinformatics.scm | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index c0c0ae32007568f0e5cbd0c3eedf7f935c23fddd..2a1fc968682620ccc156438da6edd800561f15a0 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -2204,10 +2204,21 @@ Format (GFF) with Biopython integration.") '((upstream-name . "bcbio-gff"))) (license (license:non-copyleft "http://www.biopython.org/DIST/LICENSE")))) -(define-public python-bcbio-gff/biopython-1.73 +(define-public python-bcbio-gff-for-python-cmseq (hidden-package (package (inherit python-bcbio-gff) + (name "python-bcbio-gff") + (version "0.6.9") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/chapmanb/bcbb") + (commit (string-append "bcbio-gff-v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "131hiir94jkm9jj2wfpybwndgzn8k0zc1ji1qjn5cz7w48x3ri13")))) (propagated-inputs (modify-inputs (package-propagated-inputs python-bcbio-gff) (replace "python-biopython" python-biopython-1.73)))))) @@ -2671,9 +2682,11 @@ cell types and subtypes.") (substitute* "cmseq/cmseq.py" (("'samtools'") (string-append "'" (search-input-file inputs "/bin/samtools") "'")))))))) + (native-inputs + (list python-setuptools)) (inputs (list samtools)) (propagated-inputs - (list python-bcbio-gff/biopython-1.73 + (list python-bcbio-gff-for-python-cmseq python-biopython-1.73 python-numpy python-pandas