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";
|
2022-11-23 10:30:06 +00:00
|
|
|
version = "5.2.3";
|
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";
|
2022-11-23 10:30:06 +00:00
|
|
|
sha256 = "sha256-j6IBaj3uHiBL0WI+BQ3PR36dKME7uYofWPV+D9QM3Tg=";
|
2018-08-28 12:48:57 +01:00
|
|
|
};
|
2013-07-01 15:14:52 +01:00
|
|
|
|
2021-02-20 21:01:53 +00:00
|
|
|
nativeBuildInputs = [ 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
|
|
|
}
|