summaryrefslogtreecommitdiffstats
path: root/pkgs/development/web/twitter-bootstrap
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2019-05-11 16:39:29 -0500
committerMario Rodas <marsam@users.noreply.github.com>2019-05-11 16:41:12 -0500
commite8817507d799e6eb0b22e39035af7856a1cc2b68 (patch)
treee24d1e14d32f04ffec5ed036ea4bfaa7a57bb29e /pkgs/development/web/twitter-bootstrap
parentc4a83dfb0776bdc23ccfa7c5322e8a635d001f58 (diff)
twitterBootstrap4: init at 4.3.1
Diffstat (limited to 'pkgs/development/web/twitter-bootstrap')
-rw-r--r--pkgs/development/web/twitter-bootstrap/3.nix26
-rw-r--r--pkgs/development/web/twitter-bootstrap/default.nix8
2 files changed, 30 insertions, 4 deletions
diff --git a/pkgs/development/web/twitter-bootstrap/3.nix b/pkgs/development/web/twitter-bootstrap/3.nix
new file mode 100644
index 000000000000..71cda3d3d9fc
--- /dev/null
+++ b/pkgs/development/web/twitter-bootstrap/3.nix
@@ -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;
+ };
+
+}
diff --git a/pkgs/development/web/twitter-bootstrap/default.nix b/pkgs/development/web/twitter-bootstrap/default.nix
index 71cda3d3d9fc..61e7947a4796 100644
--- a/pkgs/development/web/twitter-bootstrap/default.nix
+++ b/pkgs/development/web/twitter-bootstrap/default.nix
@@ -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 ];