diff options
author | adisbladis <adis@blad.is> | 2018-02-27 20:07:35 +0800 |
---|---|---|
committer | adisbladis <adis@blad.is> | 2018-02-27 20:07:35 +0800 |
commit | b7ec621e91b2653d8ddb72cc8bb8e5972d30717d (patch) | |
tree | 0018004ed665543262e775ddb06d358f05a66e1e /nixos/lib/testing/jquery-ui.nix | |
parent | d4d1e54c49d2e9a01135091409a80f92f2d4ac28 (diff) |
jquery & jquery-ui: Move to nixos/lib/testing/
These (outdated) derivations are only used by nixos/lib/testing.nix. If we want to provide jquery & jquery-ui packages this is better done in nodePackages.
Diffstat (limited to 'nixos/lib/testing/jquery-ui.nix')
-rw-r--r-- | nixos/lib/testing/jquery-ui.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nixos/lib/testing/jquery-ui.nix b/nixos/lib/testing/jquery-ui.nix new file mode 100644 index 0000000000000..e65107a3c2fbc --- /dev/null +++ b/nixos/lib/testing/jquery-ui.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, unzip }: + +stdenv.mkDerivation rec { + name = "jquery-ui-1.11.4"; + + src = fetchurl { + url = "http://jqueryui.com/resources/download/${name}.zip"; + sha256 = "0ciyaj1acg08g8hpzqx6whayq206fvf4whksz2pjgxlv207lqgjh"; + }; + + buildInputs = [ unzip ]; + + installPhase = + '' + mkdir -p "$out/js" + cp -rv . "$out/js" + ''; + + meta = { + homepage = http://jqueryui.com/; + description = "A library of JavaScript widgets and effects"; + platforms = stdenv.lib.platforms.all; + }; +} |