2021-01-23 17:15:07 +00:00
|
|
|
{ lib, stdenv, fetchurl, unzip }:
|
2013-07-01 14:14:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-11 21:39:29 +00:00
|
|
|
pname = "bootstrap";
|
2022-07-28 02:30:54 +00:00
|
|
|
version = "5.2.0";
|
2013-07-01 14:14:52 +00:00
|
|
|
|
2018-08-28 11:48:57 +00:00
|
|
|
src = fetchurl {
|
2019-05-11 21:39:29 +00:00
|
|
|
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/${pname}-${version}-dist.zip";
|
2022-07-28 02:30:54 +00:00
|
|
|
sha256 = "sha256-CLykGjXxTZCXIJAyF6YBeEeC3oCz3g5Kcm0kLdOQUks=";
|
2018-08-28 11:48:57 +00:00
|
|
|
};
|
2013-07-01 14:14:52 +00:00
|
|
|
|
2021-02-20 21:01:53 +00:00
|
|
|
nativeBuildInputs = [ unzip ];
|
2013-07-01 14:14:52 +00:00
|
|
|
|
2018-08-28 11:48:57 +00:00
|
|
|
dontBuild = true;
|
2013-07-01 14:14:52 +00:00
|
|
|
installPhase = ''
|
2018-08-28 11:48:57 +00:00
|
|
|
mkdir $out
|
|
|
|
cp -r * $out/
|
|
|
|
'';
|
2013-07-01 14:14:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Front-end framework for faster and easier web development";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://getbootstrap.com/";
|
2021-01-23 17:15:07 +00:00
|
|
|
license = lib.licenses.mit;
|
2013-07-01 14:14:52 +00:00
|
|
|
};
|
2018-08-28 11:48:57 +00:00
|
|
|
|
2013-07-01 14:14:52 +00:00
|
|
|
}
|