3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/web/twitter-bootstrap/default.nix

27 lines
588 B
Nix
Raw Normal View History

{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
2019-05-11 22:39:29 +01:00
pname = "bootstrap";
version = "4.3.1";
src = fetchurl {
2019-05-11 22:39:29 +01:00
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/${pname}-${version}-dist.zip";
sha256 = "08rkg4q8x36k03g1d81brhncrzb98sh8r53a5wg3i4p1nwqgv3w8";
};
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;
};
}