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