forked from mirrors/nixpkgs
phantomjs: update to 1.9.7
This commit is contained in:
parent
3f56d9f4b4
commit
8741ff387d
|
@ -3,7 +3,7 @@
|
||||||
assert stdenv.lib.elem stdenv.system [ "i686-linux" "x86_64-linux" ];
|
assert stdenv.lib.elem stdenv.system [ "i686-linux" "x86_64-linux" ];
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "phantomjs-1.9.2";
|
name = "phantomjs-1.9.7";
|
||||||
|
|
||||||
# I chose to use the binary build for now.
|
# I chose to use the binary build for now.
|
||||||
# The source version is quite nasty to compile
|
# The source version is quite nasty to compile
|
||||||
|
@ -12,13 +12,13 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
src = if stdenv.system == "i686-linux" then
|
src = if stdenv.system == "i686-linux" then
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "http://phantomjs.googlecode.com/files/${name}-linux-i686.tar.bz2";
|
url = "https://bitbucket.org/ariya/phantomjs/downloads/${name}-linux-i686.tar.bz2";
|
||||||
sha256 = "1nywb9xhcfjark6zfjlnrljc08r5185vv25vfcc65jzla8hy75qp";
|
sha256 = "1ffd5544wnkww5cgwsims4bk4bymvm6pm19p32nbhwabxqhbnj9a";
|
||||||
}
|
}
|
||||||
else # x86_64-linux
|
else # x86_64-linux
|
||||||
fetchurl {
|
fetchurl {
|
||||||
url = "http://phantomjs.googlecode.com/files/${name}-linux-x86_64.tar.bz2";
|
url = "https://bitbucket.org/ariya/phantomjs/downloads/${name}-linux-x86_64.tar.bz2";
|
||||||
sha256 = "1xsjx4j6rwkq27y4iqdn0ai4yrq70a3g9309blywki0g976phccg";
|
sha256 = "06mhvj8rx298j0mrijw48zfm28hqgy81vdr1vv0jp4ncxbvijfs7";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue