2016-09-11 23:24:51 +02:00
|
|
|
{stdenv, fetchurl, cdk, unzip, gtk2, glib, ncurses, pkgconfig}:
|
2015-06-02 19:29:17 +02:00
|
|
|
let
|
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="gtdialog";
|
2017-11-11 14:52:53 +01:00
|
|
|
version="1.4";
|
2015-06-02 19:29:17 +02:00
|
|
|
name="${baseName}-${version}";
|
2017-11-11 14:52:53 +01:00
|
|
|
hash="1lhsaz56s8m838fi6vnfcd2r6djymvy3n2pbqhii88hraapq3rfk";
|
|
|
|
url="http://foicica.com/gtdialog/download/gtdialog_1.4.zip";
|
|
|
|
sha256="1lhsaz56s8m838fi6vnfcd2r6djymvy3n2pbqhii88hraapq3rfk";
|
2015-06-02 19:29:17 +02:00
|
|
|
};
|
2017-09-14 21:24:37 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2015-06-02 19:29:17 +02:00
|
|
|
buildInputs = [
|
2017-09-14 21:24:37 +02:00
|
|
|
cdk unzip gtk2 glib ncurses
|
2015-06-02 19:29:17 +02:00
|
|
|
];
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit (s) name version;
|
2017-09-14 21:24:37 +02:00
|
|
|
inherit nativeBuildInputs buildInputs;
|
2015-06-02 19:29:17 +02:00
|
|
|
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;
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://foicica.com/gtdialog;
|
2015-06-02 19:29:17 +02:00
|
|
|
downloadPage = "http://foicica.com/gtdialog/download";
|
|
|
|
};
|
|
|
|
}
|