Skip to content

Commit

Permalink
slimerjs: 0.10.2 -> 0.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
7c6f434c committed Mar 13, 2017
1 parent 8799254 commit 7dc3eda
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions pkgs/development/tools/slimerjs/default.nix
@@ -1,13 +1,14 @@
{stdenv, fetchurl, fetchgit, zip, unzip, firefox, bash}:
{stdenv, fetchurl, fetchgit, fetchFromGitHub, zip, unzip, firefox, bash}:
let
s = # Generated upstream information
rec {
baseName="slimerjs";
version="0.10.2";
version="0.10.3";
name="${baseName}-${version}";
hash="16pg12bvfqls707nsdqi3bl1c833kncsvnd0qiq5692lrh93x529";
url="http://download.slimerjs.org/releases/0.10.2/slimerjs-0.10.2.zip";
sha256="16pg12bvfqls707nsdqi3bl1c833kncsvnd0qiq5692lrh93x529";
owner = "laurentj";
repo = "${baseName}";
sha256="16v6a1kcq8il4snbrgsq5xmxs35alzf4qlmscr2yli95xq5fnl5y";
rev = "${version}";
};
buildInputs = [
unzip zip
Expand All @@ -16,12 +17,15 @@ in
stdenv.mkDerivation {
inherit (s) name version;
inherit buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
#src = fetchurl {
# inherit (s) url sha256;
#};
#src = fetchgit {
# inherit (s) url sha256 rev;
#};
src = fetchFromGitHub {
inherit (s) owner repo rev sha256;
};
preConfigure = ''
test -d src && cd src
test -f omni.ja || zip omni.ja -r */
Expand Down

0 comments on commit 7dc3eda

Please sign in to comment.