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