gnu: Add 'file-name' fields for github source tarballs without a name.

* gnu/packages/aarddict.scm (aarddict), gnu/packages/algebra.scm (arb),
  gnu/packages/audio.scm (jack-2, lvtk),
  gnu/packages/bioinformatics.scm (bedops, bedtools, bowtie),
  gnu/packages/game-development.scm (tiled),
  gnu/packages/games.scm (minetest-data, minetest, retroarch),
  gnu/packages/jrnl.scm (jrnl), gnu/packages/kde.scm (qjson),
  gnu/packages/libevent.scm (libuv), gnu/packages/linux.scm (pflask),
  gnu/packages/mail.scm (offlineimap, libetpan),
  gnu/packages/maths.scm (arpack-ng), gnu/packages/ninja.scm (ninja),
  gnu/packages/nutrition.scm (gourmet),
  gnu/packages/python.scm (python-cairocffi), gnu/packages/rdf.scm (lrdf),
  gnu/packages/ruby.scm (ruby-i18n), gnu/packages/sxiv.scm (sxiv): Add
  'file-name' field to origin.
This commit is contained in:
Mark H Weaver 2015-02-27 12:23:27 -05:00
parent 722ec72244
commit f586c87705
18 changed files with 28 additions and 1 deletions

View File

@ -33,6 +33,7 @@
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/aarddict/desktop/archive/" (uri (string-append "https://github.com/aarddict/desktop/archive/"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"12h7m0z7nd7rg8avpi9syd265k0rhh4vbdh464nq0jzdg8m9p28c")))) "12h7m0z7nd7rg8avpi9syd265k0rhh4vbdh464nq0jzdg8m9p28c"))))

View File

@ -215,6 +215,7 @@ fast arithmetic.")
(uri (string-append (uri (string-append
"https://github.com/fredrik-johansson/arb/archive/" "https://github.com/fredrik-johansson/arb/archive/"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (base32 (sha256 (base32
"0a8cgzznkmr59ngj4di9a37b5h4i00gbnixnxlwd34bcbflvjzyr")))) "0a8cgzznkmr59ngj4di9a37b5h4i00gbnixnxlwd34bcbflvjzyr"))))
(build-system gnu-build-system) (build-system gnu-build-system)

View File

@ -284,6 +284,7 @@ synchronous execution of all clients, and low latency operation.")
"https://github.com/jackaudio/jack2/archive/v" "https://github.com/jackaudio/jack2/archive/v"
version version
".tar.gz")) ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"03b0iiyk3ng3vh5s8gaqwn565vik7910p56mlbk512bw3dhbdwc8")))) "03b0iiyk3ng3vh5s8gaqwn565vik7910p56mlbk512bw3dhbdwc8"))))
@ -507,6 +508,7 @@ software.")
(uri (string-append "https://github.com/lvtk/lvtk/archive/" (uri (string-append "https://github.com/lvtk/lvtk/archive/"
version version
".tar.gz")) ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd")))) "03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd"))))

View File

@ -43,6 +43,7 @@
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/bedops/bedops/archive/v" (uri (string-append "https://github.com/bedops/bedops/archive/v"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0wmg6j0icimlrnsidaxrzf3hfgjvlkkcwvpdg7n4gg7hdv2m9ni5")))) "0wmg6j0icimlrnsidaxrzf3hfgjvlkkcwvpdg7n4gg7hdv2m9ni5"))))
@ -100,6 +101,7 @@ computational cluster.")
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/arq5x/bedtools2/archive/v" (uri (string-append "https://github.com/arq5x/bedtools2/archive/v"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"16aq0w3dmbd0853j32xk9jin4vb6v6fgakfyvrsmsjizzbn3fpfl")))) "16aq0w3dmbd0853j32xk9jin4vb6v6fgakfyvrsmsjizzbn3fpfl"))))
@ -149,6 +151,7 @@ BED, GFF/GTF, VCF.")
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/BenLangmead/bowtie2/archive/v" (uri (string-append "https://github.com/BenLangmead/bowtie2/archive/v"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"15dnbqippwvhyh9zqjhaxkabk7lm1xbh1nvar1x4b5kwm117zijn")) "15dnbqippwvhyh9zqjhaxkabk7lm1xbh1nvar1x4b5kwm117zijn"))

View File

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Tomáš Čech <sleep_walker@suse.cz> ;;; Copyright © 2014 Tomáš Čech <sleep_walker@suse.cz>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -58,6 +59,7 @@ is used in some video games and movies.")
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/bjorn/tiled/archive/v" (uri (string-append "https://github.com/bjorn/tiled/archive/v"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"03a15vbzjfwc8dpifbjvd0gnr208mzmdkgs2nlc8zq6z0a4h4jqd")))) "03a15vbzjfwc8dpifbjvd0gnr208mzmdkgs2nlc8zq6z0a4h4jqd"))))

View File

@ -606,6 +606,7 @@ for common mesh file formats, and collision detection.")
(uri (string-append (uri (string-append
"https://github.com/minetest/minetest_game/archive/" "https://github.com/minetest/minetest_game/archive/"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0hzb27srv6f2j84dpxx2p0p0aaq9vdp5jvbrfpklb5q5ssdjxvc6")))) "0hzb27srv6f2j84dpxx2p0p0aaq9vdp5jvbrfpklb5q5ssdjxvc6"))))
@ -646,6 +647,7 @@ for common mesh file formats, and collision detection.")
(uri (string-append (uri (string-append
"https://github.com/minetest/minetest/archive/" "https://github.com/minetest/minetest/archive/"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"0h223svzkvp63b77nqfxy7k8whw4543gahs3kxd3x4myi5ax5z5f")))) "0h223svzkvp63b77nqfxy7k8whw4543gahs3kxd3x4myi5ax5z5f"))))
@ -792,6 +794,7 @@ reference interpreter, using Glk API.")
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/libretro/RetroArch/archive/" (uri (string-append "https://github.com/libretro/RetroArch/archive/"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "1iqcrb076xiih20sk8n1w79xsp4fb8pj4vkmdc1xn562h56y4nxx")))) (base32 "1iqcrb076xiih20sk8n1w79xsp4fb8pj4vkmdc1xn562h56y4nxx"))))
(build-system gnu-build-system) (build-system gnu-build-system)

View File

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Eric Bavier <address@hidden> ;;; Copyright © 2014 Eric Bavier <address@hidden>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -32,6 +33,7 @@
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/maebert/jrnl/archive/" (uri (string-append "https://github.com/maebert/jrnl/archive/"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"019ky09sj5i7frmca0imv4jm46mn3f4lzah2wmiwxh22cisj7ksn")))) "019ky09sj5i7frmca0imv4jm46mn3f4lzah2wmiwxh22cisj7ksn"))))

View File

@ -96,6 +96,7 @@
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/flavio/qjson/archive/" (uri (string-append "https://github.com/flavio/qjson/archive/"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"163fspi0xc705irv79qw861fmh68pjyla9vx3kqiq6xrdhb9834j")))) "163fspi0xc705irv79qw861fmh68pjyla9vx3kqiq6xrdhb9834j"))))

View File

@ -68,6 +68,7 @@ loop.")
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/joyent/libuv/archive/v" (uri (string-append "https://github.com/joyent/libuv/archive/v"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1ys2wlypdbv59yywn91d5vl329z50mi7ivi3fj5rjm4mr9g3wnmr")))) "1ys2wlypdbv59yywn91d5vl329z50mi7ivi3fj5rjm4mr9g3wnmr"))))

View File

@ -1851,6 +1851,7 @@ particular the 'perf' command.")
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/ghedo/pflask/archive/v" (uri (string-append "https://github.com/ghedo/pflask/archive/v"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1g8fjj67dfkc2s0852l9vqi1pm61gp4rxbpzbzg780f5s5hd1fys")))) "1g8fjj67dfkc2s0852l9vqi1pm61gp4rxbpzbzg780f5s5hd1fys"))))

View File

@ -283,6 +283,7 @@ and corrections. It is based on a Bayesian filter.")
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/OfflineIMAP/offlineimap/" (uri (string-append "https://github.com/OfflineIMAP/offlineimap/"
"archive/v" version ".tar.gz")) "archive/v" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"00k84qagph3xnxss6rkxm61x07ngz8fvffx4z9jyw5baf3cdd32p")))) "00k84qagph3xnxss6rkxm61x07ngz8fvffx4z9jyw5baf3cdd32p"))))
@ -416,6 +417,7 @@ useful features.")
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/dinhviethoa/" name (uri (string-append "https://github.com/dinhviethoa/" name
"/archive/" version ".tar.gz")) "/archive/" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "05qyqx2c1ppb1jnrs3m52i60f9xlxfxdmb9dnwg4vqjv8kwv2qkr")))) (base32 "05qyqx2c1ppb1jnrs3m52i60f9xlxfxdmb9dnwg4vqjv8kwv2qkr"))))
(build-system gnu-build-system) (build-system gnu-build-system)

View File

@ -222,6 +222,7 @@ be output in text, PostScript, PDF or HTML.")
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/opencollab/arpack-ng/archive/" (uri (string-append "https://github.com/opencollab/arpack-ng/archive/"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1fwch6vipms1ispzg2djvbzv5wag36f1dmmr3xs3mbp6imfyhvff")))) "1fwch6vipms1ispzg2djvbzv5wag36f1dmmr3xs3mbp6imfyhvff"))))

View File

@ -32,6 +32,7 @@
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/martine/ninja/" (uri (string-append "https://github.com/martine/ninja/"
"archive/v" version ".tar.gz")) "archive/v" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1h3yfwcfl61v493vna6jia2fizh8rpig7qw2504cvkr6gid3p5bw")) "1h3yfwcfl61v493vna6jia2fizh8rpig7qw2504cvkr6gid3p5bw"))

View File

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org> ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -36,6 +37,7 @@
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/thinkle/gourmet/archive/" (uri (string-append "https://github.com/thinkle/gourmet/archive/"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1qvz175arzqm10lpfx8ffadrgirs3240zzqcp0h7sl53qfwx7v8k")))) "1qvz175arzqm10lpfx8ffadrgirs3240zzqcp0h7sl53qfwx7v8k"))))

View File

@ -2678,6 +2678,7 @@ support for Python 3 and PyPy. It is based on cffi.")
;; The archive on pypi is missing the 'utils' directory! ;; The archive on pypi is missing the 'utils' directory!
(uri (string-append "https://github.com/SimonSapin/cairocffi/archive/v" (uri (string-append "https://github.com/SimonSapin/cairocffi/archive/v"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"03w5p62sp3nqiccx864sbq0jvh7946277jqx3rcc3dch5xwfvv51")))) "03w5p62sp3nqiccx864sbq0jvh7946277jqx3rcc3dch5xwfvv51"))))

View File

@ -120,6 +120,7 @@ Java Lucene text search engine API to C++.")
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/swh/LRDF/archive/" (uri (string-append "https://github.com/swh/LRDF/archive/"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"18p2flb2sv2hq6w2qkd29z9c7knnwqr3f12i2srshlzx6vwkm05s")))) "18p2flb2sv2hq6w2qkd29z9c7knnwqr3f12i2srshlzx6vwkm05s"))))

View File

@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014 Pjotr Prins <pjotr.guix@thebird.nl> ;;; Copyright © 2014 Pjotr Prins <pjotr.guix@thebird.nl>
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014 David Thompson <davet@gnu.org> ;;; Copyright © 2014 David Thompson <davet@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
@ -122,6 +122,7 @@ a focus on simplicity and productivity.")
(method url-fetch) (method url-fetch)
(uri (string-append "https://github.com/svenfuchs/i18n/archive/v" (uri (string-append "https://github.com/svenfuchs/i18n/archive/v"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1fdhnhh1p5g8vibv44d770z8nq208zrms3m2nswdvr54072y1m6k")))) "1fdhnhh1p5g8vibv44d770z8nq208zrms3m2nswdvr54072y1m6k"))))

View File

@ -34,6 +34,7 @@
(uri (string-append (uri (string-append
"https://github.com/muennich/sxiv/archive/v" "https://github.com/muennich/sxiv/archive/v"
version ".tar.gz")) version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"03hxy5ff7xbs15rhlbpgx8xmvmpjlffp0m4528975hg16sqa2c4s")))) "03hxy5ff7xbs15rhlbpgx8xmvmpjlffp0m4528975hg16sqa2c4s"))))