consul*: fix evaluation

CC #2955.
This commit is contained in:
Vladimír Čunát 2014-08-14 14:36:34 +02:00
parent b709036560
commit b2a7b213be
2 changed files with 12 additions and 11 deletions

View File

@ -6,7 +6,7 @@ let
root = "code.google.com/p/go.net"; root = "code.google.com/p/go.net";
src = fetchhg { src = fetchhg {
url = "http://code.google.com/p/go.net"; url = "http://code.google.com/p/go.net";
tag = "134"; rev = "134";
sha256 = "1jycpgrfwgkfac60zjbx6babcz7sgyn9xgy6cr3l811j6k8r2pbv"; sha256 = "1jycpgrfwgkfac60zjbx6babcz7sgyn9xgy6cr3l811j6k8r2pbv";
}; };
} }
@ -14,7 +14,7 @@ let
root = "code.google.com/p/go.text"; root = "code.google.com/p/go.text";
src = fetchhg { src = fetchhg {
url = "http://code.google.com/p/go.text"; url = "http://code.google.com/p/go.text";
tag = "85"; rev = "85";
sha256 = "1x8h6vq9g5gbi7iiwla6dkaaqqf7wmkdm4szj7wvzlsijf2x8dwr"; sha256 = "1x8h6vq9g5gbi7iiwla6dkaaqqf7wmkdm4szj7wvzlsijf2x8dwr";
}; };
} }
@ -211,7 +211,7 @@ let
root = "launchpad.net/gocheck"; root = "launchpad.net/gocheck";
src = fetchbzr { src = fetchbzr {
url = "https://launchpad.net/gocheck"; url = "https://launchpad.net/gocheck";
revision = "87"; rev = "87";
sha256 = "1y9fa2mv61if51gpik9isls48idsdz87zkm1p3my7swjdix7fcl0"; sha256 = "1y9fa2mv61if51gpik9isls48idsdz87zkm1p3my7swjdix7fcl0";
}; };
} }
@ -219,7 +219,7 @@ let
root = "launchpad.net/mgo"; root = "launchpad.net/mgo";
src = fetchbzr { src = fetchbzr {
url = "https://launchpad.net/mgo"; url = "https://launchpad.net/mgo";
revision = "2"; rev = "2";
sha256 = "0h1dxzyx5c4r4gfnmjxv92hlhjxrgx9p4g53p4fhmz6x2fdglb0x"; sha256 = "0h1dxzyx5c4r4gfnmjxv92hlhjxrgx9p4g53p4fhmz6x2fdglb0x";
}; };
} }

View File

@ -1,11 +1,7 @@
{ stdenv, fetchzip }: { stdenv, fetchzip }:
let version = "0.3.0"; let
in fetchzip { version = "0.3.0";
name = "consul-ui-${version}";
url = "https://dl.bintray.com/mitchellh/consul/${version}_web_ui.zip";
sha256 = "0p4mhlrqidd6p3899wd3i9p41bdbb5avbz5986mnxg9f7dvhjdrc";
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = http://www.consul.io/intro/getting-started/ui.html; homepage = http://www.consul.io/intro/getting-started/ui.html;
description = "The static files for Consul's UI (used via -ui-dir)"; description = "The static files for Consul's UI (used via -ui-dir)";
@ -13,4 +9,9 @@ in fetchzip {
license = licenses.mpl20 ; license = licenses.mpl20 ;
platforms = platforms.all; platforms = platforms.all;
}; };
} in (fetchzip {
name = "consul-ui-${version}";
url = "https://dl.bintray.com/mitchellh/consul/${version}_web_ui.zip";
sha256 = "0p4mhlrqidd6p3899wd3i9p41bdbb5avbz5986mnxg9f7dvhjdrc";
}) // { inherit meta; }