forked from mirrors/nixpkgs
wxformbuilder: unstable-2020-08-18 -> unstable-2022-09-26
This commit is contained in:
parent
8f0c7e38cb
commit
ec987f1e7f
|
@ -1,35 +1,56 @@
|
||||||
{ lib, stdenv
|
{ lib
|
||||||
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, wxGTK31
|
, cmake
|
||||||
, meson
|
, makeWrapper
|
||||||
, ninja
|
, shared-mime-info
|
||||||
|
, wxGTK32
|
||||||
|
, boost
|
||||||
|
, Cocoa
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "wxFormBuilder";
|
pname = "wxFormBuilder";
|
||||||
version = "unstable-2020-08-18";
|
version = "unstable-2022-09-26";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "wxFormBuilder";
|
owner = "wxFormBuilder";
|
||||||
repo = "wxFormBuilder";
|
repo = "wxFormBuilder";
|
||||||
rev = "d053665cc33a79dd935b518b5e7aea6baf493c92";
|
rev = "e2e4764f1f4961c654733287c6e84d7738b4ba2b";
|
||||||
sha256 = "sha256-hTO7Fyp5ZWpq2CfIYEXB85oOkNrqr6Njfh8h0t9B6wU=";
|
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
|
sha256 = "sha256-DLdwQH3s/ZNVq+A/qtZRy7dA/Ctp2qkOmi6M+rSb4MM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
ninja
|
cmake
|
||||||
meson
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
makeWrapper
|
||||||
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
|
shared-mime-info
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
wxGTK31
|
wxGTK32
|
||||||
|
boost
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
Cocoa
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
sed -i 's/FATAL_ERROR/WARNING/' cmake/revision-git*.cmake
|
||||||
|
sed -i '/fixup_bundle/d;/codesign/d' cmake/macros.cmake
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||||
|
mkdir -p $out/{Applications,bin}
|
||||||
|
mv $out/wxFormBuilder.app $out/Applications
|
||||||
|
makeWrapper $out/{Applications/wxFormBuilder.app/Contents/MacOS,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.gpl2;
|
license = licenses.gpl2Only;
|
||||||
maintainers = with maintainers; [ matthuszagh ];
|
maintainers = with maintainers; [ matthuszagh wegank ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -22742,7 +22742,9 @@ with pkgs;
|
||||||
wt3
|
wt3
|
||||||
wt4;
|
wt4;
|
||||||
|
|
||||||
wxformbuilder = callPackage ../development/tools/wxformbuilder { };
|
wxformbuilder = callPackage ../development/tools/wxformbuilder {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||||
|
};
|
||||||
|
|
||||||
wxGTK = wxGTK28;
|
wxGTK = wxGTK28;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue