Merge pull request #257341 from wegank/wxformbuilder-refactor
wxformbuilder: refactor
This commit is contained in:
commit
9207b884da
1 changed files with 3 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "wxFormBuilder";
|
pname = "wxformbuilder";
|
||||||
version = "unstable-2023-04-21";
|
version = "unstable-2023-04-21";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -47,13 +47,14 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||||
mkdir -p $out/{Applications,bin}
|
mkdir -p $out/{Applications,bin}
|
||||||
mv $out/wxFormBuilder.app $out/Applications
|
mv $out/wxFormBuilder.app $out/Applications
|
||||||
makeWrapper $out/{Applications/wxFormBuilder.app/Contents/MacOS,bin}/wxFormBuilder
|
makeWrapper $out/Applications/wxFormBuilder.app/Contents/MacOS/wxFormBuilder $out/bin/wxformbuilder
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "RAD tool for wxWidgets GUI design";
|
description = "RAD tool for wxWidgets GUI design";
|
||||||
homepage = "https://github.com/wxFormBuilder/wxFormBuilder";
|
homepage = "https://github.com/wxFormBuilder/wxFormBuilder";
|
||||||
license = licenses.gpl2Only;
|
license = licenses.gpl2Only;
|
||||||
|
mainProgram = "wxformbuilder";
|
||||||
maintainers = with maintainers; [ matthuszagh wegank ];
|
maintainers = with maintainers; [ matthuszagh wegank ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue