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.

34 lines
675 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, unzip
}:
stdenv.mkDerivation (finalAttrs: {
2019-05-11 21:39:29 +00:00
pname = "bootstrap";
2024-02-20 23:30:30 +00:00
version = "5.3.3";
src = fetchurl {
url = "https://github.com/twbs/bootstrap/releases/download/v${finalAttrs.version}/bootstrap-${finalAttrs.version}-dist.zip";
2024-02-20 23:30:30 +00:00
hash = "sha256-WwokWrhFiVFmjSn9FJ/GyOY8Z2l378I4IqIjwIJF3ho=";
};
nativeBuildInputs = [ unzip ];
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir $out
cp -r * $out/
runHook postInstall
'';
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;
};
})