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

27 lines
590 B
Nix
Raw Normal View History

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