Update PhantomJS; should also fix remarkjs
This commit is contained in:
parent
ef321f539d
commit
d66bf89faa
@ -3,7 +3,7 @@
|
||||
assert stdenv.lib.elem stdenv.system [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "phantomjs-1.9.7";
|
||||
name = "phantomjs-1.9.8";
|
||||
|
||||
# I chose to use the binary build for now.
|
||||
# The source version is quite nasty to compile
|
||||
@ -13,18 +13,18 @@ stdenv.mkDerivation rec {
|
||||
src = if stdenv.system == "i686-linux" then
|
||||
fetchurl {
|
||||
url = "https://bitbucket.org/ariya/phantomjs/downloads/${name}-linux-i686.tar.bz2";
|
||||
sha256 = "1ffd5544wnkww5cgwsims4bk4bymvm6pm19p32nbhwabxqhbnj9a";
|
||||
sha256 = "11fzmssz9pqf3arh4f36w06sl2nyz8l9h8iyxyd7w5aqnq5la0j1";
|
||||
}
|
||||
else
|
||||
if stdenv.system == "x86_64-linux" then
|
||||
fetchurl {
|
||||
url = "https://bitbucket.org/ariya/phantomjs/downloads/${name}-linux-x86_64.tar.bz2";
|
||||
sha256 = "06mhvj8rx298j0mrijw48zfm28hqgy81vdr1vv0jp4ncxbvijfs7";
|
||||
sha256 = "0fhnqxxsxhy125fmif1lwgnlhfx908spy7fx9mng4w72320n5nd1";
|
||||
}
|
||||
else # x86_64-darwin
|
||||
fetchurl {
|
||||
url = "https://bitbucket.org/ariya/phantomjs/downloads/${name}-macosx.zip";
|
||||
sha256 = "0vsagvx181gnypi6kgmxp4br6hnvd81vyy3cbz5pxccdys7iywvj";
|
||||
sha256 = "0j0aq8dgzmb210xdrh0v3d4nblskl3zsckl8bzf1a603wcx085cg";
|
||||
};
|
||||
|
||||
buildInputs = if stdenv.isDarwin then [ unzip ] else [];
|
||||
|
Loading…
Reference in New Issue
Block a user