mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 20:44:12 +00:00
Merge pull request #53635 from r-ryantm/auto-update/bootstrap
twitterBootstrap: 3.3.7 -> 4.2.1
This commit is contained in:
commit
635debeadd
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.3.7";
|
||||
pname = "bootstrap";
|
||||
version = "4.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/bootstrap-${version}-dist.zip";
|
||||
sha256 = "0yqvg72knl7a0rlszbpk7xf7f0cs3aqf9xbl42ff41yh5pzsi67l";
|
||||
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