nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 20.09 26 lines 590 B view raw
1{ stdenv, fetchurl, unzip }: 2 3stdenv.mkDerivation rec { 4 pname = "bootstrap"; 5 version = "4.5.2"; 6 7 src = fetchurl { 8 url = "https://github.com/twbs/bootstrap/releases/download/v${version}/${pname}-${version}-dist.zip"; 9 sha256 = "03brvh7fir9ylfr0c5b6kvf79bkjny0wxw4r5q8x8h2niycrkazg"; 10 }; 11 12 buildInputs = [ unzip ]; 13 14 dontBuild = true; 15 installPhase = '' 16 mkdir $out 17 cp -r * $out/ 18 ''; 19 20 meta = { 21 description = "Front-end framework for faster and easier web development"; 22 homepage = "https://getbootstrap.com/"; 23 license = stdenv.lib.licenses.mit; 24 }; 25 26}