diff options
Diffstat (limited to 'pkgs/development/web/twitter-bootstrap/v3.nix')
-rw-r--r-- | pkgs/development/web/twitter-bootstrap/v3.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/web/twitter-bootstrap/v3.nix b/pkgs/development/web/twitter-bootstrap/v3.nix new file mode 100644 index 000000000000..461a81db8574 --- /dev/null +++ b/pkgs/development/web/twitter-bootstrap/v3.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchurl, unzip }: + +stdenv.mkDerivation rec { + name = "bootstrap-${version}"; + version = "3.3.7"; + + src = fetchurl { + url = "https://github.com/twbs/bootstrap/releases/download/v${version}/bootstrap-${version}-dist.zip"; + sha256 = "0yqvg72knl7a0rlszbpk7xf7f0cs3aqf9xbl42ff41yh5pzsi67l"; + }; + + buildInputs = [ unzip ]; + + dontBuild = true; + installPhase = '' + mkdir $out + cp -r * $out/ + ''; + + meta = { + description = "Front-end framework for faster and easier web development"; + homepage = http://getbootstrap.com/; + license = stdenv.lib.licenses.mit; + }; + +} |