From 095e987300cb18c0797854c6ccb71b3dbfe76f4a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 2 Aug 2021 19:32:24 +0300 Subject: gn: gfaffix: Don't hardcode rust-handlegraph package version --- gn/packages/bioinformatics.scm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 3d6a062..dfa3b1e 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -485,11 +485,11 @@ reads.") (modify-phases %standard-phases (add-after 'unpack 'adjust-dependency-version (lambda* (#:key inputs #:allow-other-keys) - ;; TODO: Replace the hardcoded version with logic. - (substitute* "Cargo.toml" - (("\"0.7\"") - "{ version = \"0.7.0-alpha.9\" }")) - #t))))) + (let ((handlebar-version ,(package-version rust-handlegraph-0.7))) + (substitute* "Cargo.toml" + (("\"0.7\"") + (string-append "{ version = \"" handlebar-version "\" }"))) + #t)))))) (home-page "https://github.com/marschall-lab/GFAffix") (synopsis "Identify walk-preserving shared affixes in variation graphs") (description -- cgit v1.2.3