From 837da4d36ec0b0ee65ddd9cda7f6980ca62f434c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 6 Jan 2020 12:17:47 +0200 Subject: [PATCH] gnu: python-anaconda-client: Don't use unstable tarball. * gnu/packages/package-management.scm (python-anaconda-client)[source]: Download using git-fetch. --- gnu/packages/package-management.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm index b82e2d8b3d..0e4f644f80 100644 --- a/gnu/packages/package-management.scm +++ b/gnu/packages/package-management.scm @@ -566,13 +566,14 @@ transactions from C or Python.") (version "1.6.3") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/Anaconda-Platform/" - "anaconda-client/archive/" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/Anaconda-Platform/anaconda-client") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "1wv4wi6k5jz7rlwfgvgfdizv77x3cr1wa2aj0k1595g7fbhkjhz2")))) + "0w1bfxnydjl9qp53r2gcvr6vlpdqqilcrzqxrll9sgg6vwdyiyyp")))) (build-system python-build-system) (propagated-inputs `(("python-pyyaml" ,python-pyyaml)