nixpkgs/pkgs/development/web/twitter-bootstrap/default.nix
2021-06-25 15:31:54 +00:00

27 lines
593 B
Nix

{ lib, stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
pname = "bootstrap";
version = "5.0.2";
src = fetchurl {
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/${pname}-${version}-dist.zip";
sha256 = "sha256-ZvvBNDF9sjcO4JnLPRkzC1B1YG3fcMyjM9qwFlAg9sE=";
};
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;
};
}