Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
37 lines
1.0 KiB
Nix
37 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
appimageTools,
|
|
}:
|
|
|
|
let
|
|
pname = "bootstrap-studio";
|
|
version = "7.1.2";
|
|
src = fetchurl {
|
|
url = "https://releases.bootstrapstudio.io/${version}/Bootstrap%20Studio.AppImage";
|
|
sha256 = "sha256-tn5MkRSS2SLqVU5SQOH0WYN15wll7nREFA9rkXTPAtQ=";
|
|
};
|
|
appimageContents = appimageTools.extractType2 { inherit pname version src; };
|
|
in
|
|
appimageTools.wrapType2 {
|
|
inherit pname version src;
|
|
|
|
extraInstallCommands = ''
|
|
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" ];
|
|
};
|
|
}
|