mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 20:03:16 +00:00
27 lines
593 B
Nix
27 lines
593 B
Nix
{ lib, stdenv, fetchurl, unzip }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "bootstrap";
|
|
version = "5.2.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/${pname}-${version}-dist.zip";
|
|
sha256 = "sha256-j6IBaj3uHiBL0WI+BQ3PR36dKME7uYofWPV+D9QM3Tg=";
|
|
};
|
|
|
|
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/";
|
|
license = lib.licenses.mit;
|
|
};
|
|
|
|
}
|