nixpkgs/pkgs/development/web/twitter-bootstrap/default.nix
Matthew Bauer 290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00

27 lines
599 B
Nix

{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
name = "bootstrap-${version}";
version = "3.3.7";
src = fetchurl {
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/bootstrap-${version}-dist.zip";
sha256 = "0yqvg72knl7a0rlszbpk7xf7f0cs3aqf9xbl42ff41yh5pzsi67l";
};
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;
};
}