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
50 lines
1005 B
Nix
50 lines
1005 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
mkDerivation,
|
|
fetchFromGitHub,
|
|
qmake,
|
|
qtbase,
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "dialogbox";
|
|
version = "1.0+unstable=2020-11-16";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "martynets";
|
|
repo = pname;
|
|
rev = "6989740746f376becc989ab2698e77d14186a0f9";
|
|
hash = "sha256-paTas3KbV4yZ0ePnrOH1S3bLLHDddFml1h6b6azK4RQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
qmake
|
|
];
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -d $out/{bin,share/doc/dialogbox}
|
|
install dist/dialogbox $out/bin
|
|
install README.md $out/share/doc/dialogbox/
|
|
cp -r demos $out/share/doc/dialogbox/demos
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
broken = stdenv.hostPlatform.isDarwin;
|
|
homepage = "https://github.com/martynets/dialogbox/";
|
|
description = "Qt-based scriptable engine providing GUI dialog boxes";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = [ ];
|
|
platforms = platforms.unix;
|
|
mainProgram = "dialogbox";
|
|
};
|
|
}
|