2016-09-11 22:24:51 +01:00
|
|
|
{stdenv, fetchurl, cdk, unzip, gtk2, glib, ncurses, pkgconfig}:
|
2015-06-02 18:29:17 +01:00
|
|
|
let
|
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="gtdialog";
|
2016-09-26 14:39:38 +01:00
|
|
|
version="1.3";
|
2015-06-02 18:29:17 +01:00
|
|
|
name="${baseName}-${version}";
|
2016-09-26 14:39:38 +01:00
|
|
|
hash="0y7sln877940bpj0s38cs5s97xg8csnaihh18lmnchf7c2kkbxpq";
|
|
|
|
url="http://foicica.com/gtdialog/download/gtdialog_1.3.zip";
|
|
|
|
sha256="0y7sln877940bpj0s38cs5s97xg8csnaihh18lmnchf7c2kkbxpq";
|
2015-06-02 18:29:17 +01:00
|
|
|
};
|
|
|
|
buildInputs = [
|
2016-09-11 22:24:51 +01:00
|
|
|
cdk unzip gtk2 glib ncurses pkgconfig
|
2015-06-02 18:29:17 +01:00
|
|
|
];
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|