1{ lib, stdenv, fetchurl, unzip }:
2
3stdenv.mkDerivation rec {
4 pname = "bootstrap";
5 version = "5.2.2";
6
7 src = fetchurl {
8 url = "https://github.com/twbs/bootstrap/releases/download/v${version}/${pname}-${version}-dist.zip";
9 sha256 = "sha256-3zAnCKd+btQFd9aSwfESNz7HNapm2bgQOkf5m1zyMf8=";
10 };
11
12 nativeBuildInputs = [ unzip ];
13
14 dontBuild = true;
15 installPhase = ''
16 mkdir $out
17 cp -r * $out/
18 '';
19
20 meta = {
21 description = "Front-end framework for faster and easier web development";
22 homepage = "https://getbootstrap.com/";
23 license = lib.licenses.mit;
24 };
25
26}