2018-08-28 13:48:57 +02:00
|
|
|
{ stdenv, fetchurl, unzip }:
|
2013-07-01 16:14:52 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-05-11 23:39:29 +02:00
|
|
|
pname = "bootstrap";
|
|
|
|
version = "4.3.1";
|
2013-07-01 16:14:52 +02:00
|
|
|
|
2018-08-28 13:48:57 +02:00
|
|
|
src = fetchurl {
|
2019-05-11 23:39:29 +02:00
|
|
|
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/${pname}-${version}-dist.zip";
|
|
|
|
sha256 = "08rkg4q8x36k03g1d81brhncrzb98sh8r53a5wg3i4p1nwqgv3w8";
|
2018-08-28 13:48:57 +02:00
|
|
|
};
|
2013-07-01 16:14:52 +02:00
|
|
|
|
2018-08-28 13:48:57 +02:00
|
|
|
buildInputs = [ unzip ];
|
2013-07-01 16:14:52 +02:00
|
|
|
|
2018-08-28 13:48:57 +02:00
|
|
|
dontBuild = true;
|
2013-07-01 16:14:52 +02:00
|
|
|
installPhase = ''
|
2018-08-28 13:48:57 +02:00
|
|
|
mkdir $out
|
|
|
|
cp -r * $out/
|
|
|
|
'';
|
2013-07-01 16:14:52 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Front-end framework for faster and easier web development";
|
2019-04-15 01:25:45 +02:00
|
|
|
homepage = https://getbootstrap.com/;
|
2018-08-28 13:48:57 +02:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2013-07-01 16:14:52 +02:00
|
|
|
};
|
2018-08-28 13:48:57 +02:00
|
|
|
|
2013-07-01 16:14:52 +02:00
|
|
|
}
|