nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at release-20.03 26 lines 588 B view raw
1{ stdenv, fetchurl, unzip }: 2 3stdenv.mkDerivation rec { 4 pname = "bootstrap"; 5 version = "4.4.1"; 6 7 src = fetchurl { 8 url = "https://github.com/twbs/bootstrap/releases/download/v${version}/${pname}-${version}-dist.zip"; 9 sha256 = "1gdzp54f2xyvbw9hnyjlj4s69jvxkxr3hqclq1c8ajmx39s7rymz"; 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}