27 lines
593 B
Nix
Raw Normal View History

2021-01-24 00:15:07 +07:00
{ lib, stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
2019-05-11 16:39:29 -05:00
pname = "bootstrap";
2021-05-07 09:18:53 +00:00
version = "5.0.0";
src = fetchurl {
2019-05-11 16:39:29 -05:00
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/${pname}-${version}-dist.zip";
2021-05-07 09:18:53 +00:00
sha256 = "sha256-CsPvq8exUL2k/b/QK9c2S68DIsDDR8qxho0WgDJ3/Vs=";
};
nativeBuildInputs = [ unzip ];
dontBuild = true;
installPhase = ''
mkdir $out
cp -r * $out/
'';
meta = {
description = "Front-end framework for faster and easier web development";
homepage = "https://getbootstrap.com/";
2021-01-24 00:15:07 +07:00
license = lib.licenses.mit;
};
}