From 4031e7f1ec1deac8ebf76c047b40b1ac4ffeaab2 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 8 Nov 2018 08:35:20 +0100 Subject: gnu: ngs-sdk: Fetch sources from git. * gnu/packages/bioinformatics.scm (ngs-sdk)[source]: Fetch from git. --- gnu/packages/bioinformatics.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'gnu/packages/bioinformatics.scm') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 0f28dfe37e..065f3adc11 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -5237,16 +5237,15 @@ (define-public ngs-sdk (package (name "ngs-sdk") (version "1.3.0") - (source - (origin - (method url-fetch) - (uri - (string-append "https://github.com/ncbi/ngs/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1wiyf4c6nm2j87pv015cbi0qny5byf3pbvcw3likifz5dl56ag40")))) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ncbi/ngs.git") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1l8p81azb9p6nsdfai0hvyai33z6nsgy7hj30arh9b5kb6m443dx")))) (build-system gnu-build-system) (arguments `(#:parallel-build? #f ; not supported -- cgit v1.2.3