Merge pull request #246146 from r-ryantm/auto-update/twitterBootstrap

twitterBootstrap: 5.3.0 -> 5.3.1
This commit is contained in:
Pol Dellaiera 2023-07-30 22:45:44 +02:00 committed by GitHub
commit 375333dae4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,20 +1,28 @@
{ lib, stdenv, fetchurl, unzip }:
{ lib
, stdenv
, fetchurl
, unzip
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "bootstrap";
version = "5.3.0";
version = "5.3.1";
src = fetchurl {
url = "https://github.com/twbs/bootstrap/releases/download/v${version}/${pname}-${version}-dist.zip";
sha256 = "sha256-RUN0HbrDlUt7fMDjSHaIoTyOchSmfsMQZyATZmz2zY0=";
url = "https://github.com/twbs/bootstrap/releases/download/v${finalAttrs.version}/bootstrap-${finalAttrs.version}-dist.zip";
hash = "sha256-SfxkgJujf07f2vq0ViDhjGgRDCeg32L0RKDHHTWBp6Q=";
};
nativeBuildInputs = [ unzip ];
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir $out
cp -r * $out/
runHook postInstall
'';
meta = {
@ -22,5 +30,4 @@ stdenv.mkDerivation rec {
homepage = "https://getbootstrap.com/";
license = lib.licenses.mit;
};
}
})