twitterBootstrap4: init at 4.3.1
This commit is contained in:
parent
c4a83dfb07
commit
e8817507d7
26
pkgs/development/web/twitter-bootstrap/3.nix
Normal file
26
pkgs/development/web/twitter-bootstrap/3.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
@ -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 ];
|
||||
|
@ -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; };
|
||||
|
Loading…
Reference in New Issue
Block a user