dhall-haskell/nix/twitterBootstrap.nix
Gabriel Gonzalez e75469983d
Add "Try Dhall" examples and JSON output (#742)
This change sthe layout to a side-by-side split-pane output
and also adds tabs for each pane:

* Tabs for the left pane let you switch between examples
* Tabs for the right pane let you switch between output modes
2018-12-09 08:24:33 -08:00

29 lines
626 B
Nix

{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
name = "bootstrap-${version}";
version = "4.1.3";
src = fetchurl {
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/bootstrap-${version}-dist.zip";
sha256 = "0yr6mbqcb4mizpgi6nkzcb899q410dr30wd4wqj9w9pmn6jrrjgn";
};
sourceRoot = ".";
buildInputs = [ unzip ];
dontBuild = true;
installPhase = ''
mkdir $out
cp -r {css,js} $out/
'';
meta = {
description = "Front-end framework for faster and easier web development";
homepage = http://getbootstrap.com/;
license = stdenv.lib.licenses.mit;
};
}