dialogbox: init at 1.0+unstable=2020-11-16

This commit is contained in:
AndersonTorres 2021-10-10 00:34:00 -03:00
parent 58a18d7056
commit 96c5dc784e
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ 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; {
homepage = "https://github.com/martynets/dialogbox/";
description = "Qt-based scriptable engine providing GUI dialog boxes";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.unix;
};
}

View File

@ -2599,6 +2599,8 @@ with pkgs;
dialog = callPackage ../tools/misc/dialog { };
dialogbox = libsForQt5.callPackage ../tools/misc/dialogbox { };
dibbler = callPackage ../tools/networking/dibbler { };
diesel-cli = callPackage ../development/tools/diesel-cli {