2021-01-23 17:15:07 +00:00
|
|
|
{ lib, stdenv, fetchurl, unzip }:
|
2013-07-01 15:14:52 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-11 22:39:29 +01:00
|
|
|
pname = "bootstrap";
|
2021-01-21 19:18:00 +00:00
|
|
|
version = "4.6.0";
|
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";
|
2021-01-21 19:18:00 +00:00
|
|
|
sha256 = "sha256-CiEUUa0mCrUSp+XCoWNs8plJxhWHZZD+K+UBJSDu1CM=";
|
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/";
|
2021-01-23 17:15:07 +00:00
|
|
|
license = 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
|
|
|
}
|