nixpkgs/pkgs/development/web/twitter-bootstrap/3.nix
2019-05-11 16:41:12 -05:00

27 lines
599 B
Nix

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