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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
593 B
Nix
Raw Normal View History

2021-01-23 17:15:07 +00:00
{ lib, stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
2019-05-11 21:39:29 +00:00
pname = "bootstrap";
2022-07-28 02:30:54 +00:00
version = "5.2.0";
src = fetchurl {
2019-05-11 21:39:29 +00:00
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/${pname}-${version}-dist.zip";
2022-07-28 02:30:54 +00:00
sha256 = "sha256-CLykGjXxTZCXIJAyF6YBeEeC3oCz3g5Kcm0kLdOQUks=";
};
nativeBuildInputs = [ 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;
};
}