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