2018-08-28 12:48:57 +01:00
|
|
|
{ stdenv, fetchurl, unzip }:
|
2013-07-01 15:14:52 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-11 22:39:29 +01:00
|
|
|
pname = "bootstrap";
|
2020-08-13 06:18:10 +01:00
|
|
|
version = "4.5.2";
|
2013-07-01 15:14:52 +01:00
|
|
|
|
2018-08-28 12:48:57 +01:00
|
|
|
src = fetchurl {
|
2019-05-11 22:39:29 +01:00
|
|
|
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/${pname}-${version}-dist.zip";
|
2020-08-13 06:18:10 +01:00
|
|
|
sha256 = "03brvh7fir9ylfr0c5b6kvf79bkjny0wxw4r5q8x8h2niycrkazg";
|
2018-08-28 12:48:57 +01:00
|
|
|
};
|
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";
|
2020-04-01 02:11:51 +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
|
|
|
}
|