Merge pull request #171290 from khrj/add-bootstrap-studio

bootstrap-studio: init at 6.0.1
This commit is contained in:
Sandro 2022-05-27 02:41:05 +02:00 committed by GitHub
commit 26b3864c6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 1 deletions

View File

@ -6686,7 +6686,7 @@
};
khushraj = {
email = "khushraj.rathod@gmail.com";
github = "KhushrajRathod";
github = "khrj";
githubId = 44947946;
name = "Khushraj Rathod";
keys = [{

View File

@ -0,0 +1,34 @@
{ lib, fetchurl, appimageTools }:
let
pname = "bootstrap-studio";
version = "6.0.1";
src = fetchurl {
url = "https://bootstrapstudio.io/releases/desktop/${version}/Bootstrap%20Studio.AppImage";
sha256 = "sha256-piRqIB/bCF0IBZfXdlXrc7gmPTIUDbk8xhP7X5ozyWg=";
};
appimageContents = appimageTools.extractType2 { inherit pname version src; };
in
appimageTools.wrapType2 {
inherit pname version src;
extraInstallCommands = ''
mv $out/bin/${pname}-${version} $out/bin/${pname}
install -m 444 -D ${appimageContents}/bstudio.desktop -t $out/share/applications
substituteInPlace $out/share/applications/bstudio.desktop \
--replace 'Exec=AppRun' 'Exec=${pname}'
install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/0x0/apps/bstudio.png \
$out/share/icons/hicolor/512x512/apps/bstudio.png
'';
meta = with lib; {
description = "Drag-and-drop designer for bootstrap";
homepage = "https://bootstrapstudio.io/";
license = licenses.unfree;
maintainers = with maintainers; [ khushraj ];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -258,6 +258,8 @@ with pkgs;
bingo = callPackage ../development/tools/bingo {};
bootstrap-studio = callPackage ../development/web/bootstrap-studio {};
breakpad = callPackage ../development/misc/breakpad { };
buf = callPackage ../development/tools/buf { };