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

27 lines
593 B
Nix
Raw Normal View History

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