nixpkgs/pkgs/development/web/twitter-bootstrap/default.nix

27 lines
587 B
Nix
Raw Normal View History

2021-01-23 17:15:07 +00:00
{ lib, stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
2019-05-11 22:39:29 +01:00
pname = "bootstrap";
2021-01-21 19:18:00 +00:00
version = "4.6.0";
src = fetchurl {
2019-05-11 22:39:29 +01:00
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/${pname}-${version}-dist.zip";
2021-01-21 19:18:00 +00:00
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/";
2021-01-23 17:15:07 +00:00
license = lib.licenses.mit;
};
}