nixpkgs/pkgs/development/web/twitter-bootstrap/default.nix
Mario Rodas 4d1a2b2477
Merge pull request #110382 from r-ryantm/auto-update/bootstrap
twitterBootstrap: 4.5.3 -> 4.6.0
2021-01-24 11:47:22 -05:00

27 lines
587 B
Nix

{ lib, stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
pname = "bootstrap";
version = "4.6.0";
src = fetchurl {
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/${pname}-${version}-dist.zip";
sha256 = "sha256-CiEUUa0mCrUSp+XCoWNs8plJxhWHZZD+K+UBJSDu1CM=";
};
buildInputs = [ 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;
};
}