twitterBootstrap4: init at 4.3.1

This commit is contained in:
Mario Rodas 2019-05-11 16:39:29 -05:00
parent c4a83dfb07
commit e8817507d7
No known key found for this signature in database
GPG Key ID: 4C4BEFD7B18DC5E8
3 changed files with 32 additions and 5 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
name = "bootstrap-${version}";
version = "3.4.1";
src = fetchurl {
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/bootstrap-${version}-dist.zip";
sha256 = "0bnrxyryl4kyq250k4n2lxgkddfs9lxhqd6gq8x3kg9wfz7r75yl";
};
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;
};
}

View File

@ -1,12 +1,12 @@
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
name = "bootstrap-${version}";
version = "3.4.1";
pname = "bootstrap";
version = "4.3.1";
src = fetchurl {
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/bootstrap-${version}-dist.zip";
sha256 = "0bnrxyryl4kyq250k4n2lxgkddfs9lxhqd6gq8x3kg9wfz7r75yl";
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/${pname}-${version}-dist.zip";
sha256 = "08rkg4q8x36k03g1d81brhncrzb98sh8r53a5wg3i4p1nwqgv3w8";
};
buildInputs = [ unzip ];

View File

@ -6243,7 +6243,8 @@ in
libX11 = xorg.libX11;
};
twitterBootstrap3 = callPackage ../development/web/twitter-bootstrap {};
twitterBootstrap3 = callPackage ../development/web/twitter-bootstrap/3.nix {};
twitterBootstrap4 = callPackage ../development/web/twitter-bootstrap {};
twitterBootstrap = twitterBootstrap3;
txr = callPackage ../tools/misc/txr { stdenv = clangStdenv; };