mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
1b09d06dcb
cc @Profpatsch v2 no longer compiles and is ancient
27 lines
598 B
Nix
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;
|
|
};
|
|
|
|
}
|