2018-08-28 13:48:57 +02:00
|
|
|
{ stdenv, fetchurl, unzip }:
|
2013-07-01 16:14:52 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-08-28 13:48:57 +02:00
|
|
|
name = "bootstrap-${version}";
|
|
|
|
version = "3.3.7";
|
2013-07-01 16:14:52 +02:00
|
|
|
|
2018-08-28 13:48:57 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/bootstrap-${version}-dist.zip";
|
|
|
|
sha256 = "0yqvg72knl7a0rlszbpk7xf7f0cs3aqf9xbl42ff41yh5pzsi67l";
|
|
|
|
};
|
2013-07-01 16:14:52 +02:00
|
|
|
|
2018-08-28 13:48:57 +02:00
|
|
|
buildInputs = [ unzip ];
|
2013-07-01 16:14:52 +02:00
|
|
|
|
2018-08-28 13:48:57 +02:00
|
|
|
dontBuild = true;
|
2013-07-01 16:14:52 +02:00
|
|
|
installPhase = ''
|
2018-08-28 13:48:57 +02:00
|
|
|
mkdir $out
|
|
|
|
cp -r * $out/
|
|
|
|
'';
|
2013-07-01 16:14:52 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Front-end framework for faster and easier web development";
|
2019-04-15 01:25:45 +02:00
|
|
|
homepage = https://getbootstrap.com/;
|
2018-08-28 13:48:57 +02:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2013-07-01 16:14:52 +02:00
|
|
|
};
|
2018-08-28 13:48:57 +02:00
|
|
|
|
2013-07-01 16:14:52 +02:00
|
|
|
}
|