Add gtdialog tool

This commit is contained in:
Michael Raskin 2015-06-02 20:29:17 +03:00
parent eb2c3c6681
commit 747c6e913f
3 changed files with 37 additions and 0 deletions

View file

@ -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";
};
}

View file

@ -0,0 +1,3 @@
url http://foicica.com/gtdialog/download
version_link '[.]zip'
version '.*_([0-9.]*)[.]zip' '\1'

View file

@ -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 {};