diff --git a/pkgs/development/libraries/gtdialog/default.nix b/pkgs/development/libraries/gtdialog/default.nix new file mode 100644 index 000000000000..8d8a018f1fe0 --- /dev/null +++ b/pkgs/development/libraries/gtdialog/default.nix @@ -0,0 +1,32 @@ +{stdenv, fetchurl, cdk, unzip, gtk, glib, ncurses, pkgconfig}: +let + s = # Generated upstream information + rec { + baseName="gtdialog"; + version="1.2"; + name="${baseName}-${version}"; + hash="0nvcldyhj8abr8jny9pbyfjwg8qfp9f2h508vjmrvr5c5fqdbbm0"; + url="http://foicica.com/gtdialog/download/gtdialog_1.2.zip"; + sha256="0nvcldyhj8abr8jny9pbyfjwg8qfp9f2h508vjmrvr5c5fqdbbm0"; + }; + buildInputs = [ + cdk unzip gtk glib ncurses pkgconfig + ]; +in +stdenv.mkDerivation { + inherit (s) name version; + inherit buildInputs; + src = fetchurl { + inherit (s) url sha256; + }; + makeFlags = ["PREFIX=$(out)"]; + meta = { + inherit (s) version; + description = ''Cross-platform helper for creating interactive dialogs''; + license = stdenv.lib.licenses.mit ; + maintainers = [stdenv.lib.maintainers.raskin]; + platforms = stdenv.lib.platforms.linux; + homepage = "http://foicica.com/gtdialog"; + downloadPage = "http://foicica.com/gtdialog/download"; + }; +} diff --git a/pkgs/development/libraries/gtdialog/default.upstream b/pkgs/development/libraries/gtdialog/default.upstream new file mode 100644 index 000000000000..843c88f55ffd --- /dev/null +++ b/pkgs/development/libraries/gtdialog/default.upstream @@ -0,0 +1,3 @@ +url http://foicica.com/gtdialog/download +version_link '[.]zip' +version '.*_([0-9.]*)[.]zip' '\1' diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index a0663813f699..bf9cbbb77bc9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1674,6 +1674,8 @@ let gtkdatabox = callPackage ../development/libraries/gtkdatabox {}; + gtdialog = callPackage ../development/libraries/gtdialog {}; + gtkgnutella = callPackage ../tools/networking/p2p/gtk-gnutella { }; gtkvnc = callPackage ../tools/admin/gtk-vnc {};