liquidwar: update (builds with libpng-1.5)

I removed update-upstream-info magick because it didn't work for new version.

svn path=/nixpkgs/trunk/; revision=32324
This commit is contained in:
Yury G. Kudryashov 2012-02-16 12:22:05 +00:00
parent 1eed9f56e3
commit 9dbf57715a
3 changed files with 6 additions and 20 deletions

View File

@ -1,6 +1,5 @@
a :
let
s = import ./src-for-default.nix;
buildInputs = with a; [
xproto libX11 gmp guile
mesa libjpeg libpng
@ -12,9 +11,13 @@ let
];
in
rec {
src = a.fetchUrlFromSrcInfo s;
name = "liquidwar6-0.0.13beta";
src = a.fetchurl {
url = "http://ftp.gnu.org/gnu/liquidwar6/${name}.tar.gz";
sha256 = "1jjf7wzb8jf02hl3473vz1q74fhmxn0szbishgi1f1j6a7234wx2";
};
inherit (s) name;
inherit buildInputs;
configureFlags = [];

View File

@ -1,9 +0,0 @@
rec {
version="0.0.11beta";
name="liquidwar-0.0.11beta";
hash="1zahxxmnx74xc3d2vk119r25d794vblmz22j1z5ajnnvc42dqc4f";
url="http://download.savannah.gnu.org/releases/liquidwar6/${version}/liquidwar6-${version}.tar.gz";
advertisedUrl="http://download.savannah.gnu.org/releases/liquidwar6/0.0.11beta/liquidwar6-0.0.11beta.tar.gz";
}

View File

@ -1,8 +0,0 @@
{
downloadPage = "http://download.savannah.gnu.org/releases/liquidwar6/";
choiceCommand = '' tail -1 | sed -r -e 's@(.*)/@http://download.savannah.gnu.org/releases/liquidwar6/\1/liquidwar6-\1.tar.gz@' '';
sourceRegexp = ".*";
baseName = "liquidwar";
versionExtractorSedScript = ''s/.*-([-0-9a-z.]+)[.]tar[.]gz/\1/'';
versionReferenceCreator = "$(replaceAllVersionOccurences)";
}