3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/web/twitter-bootstrap/default.nix
Jörg Thalheim 1b09d06dcb twitterBootstrap: v2 -> v3
cc @Profpatsch

v2 no longer compiles and is ancient
2018-08-28 12:52:13 +01:00

27 lines
598 B
Nix

{ 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;
};
}