2021-01-21 17:00:13 +00:00
|
|
|
{lib, stdenv, fetchurl, cdk, unzip, gtk2, glib, ncurses, pkg-config}:
|
2015-06-02 18:29:17 +01:00
|
|
|
let
|
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="gtdialog";
|
2017-11-11 13:52:53 +00:00
|
|
|
version="1.4";
|
2015-06-02 18:29:17 +01:00
|
|
|
name="${baseName}-${version}";
|
2017-11-11 13:52:53 +00:00
|
|
|
hash="1lhsaz56s8m838fi6vnfcd2r6djymvy3n2pbqhii88hraapq3rfk";
|
2018-06-28 19:43:35 +01:00
|
|
|
url="https://foicica.com/gtdialog/download/gtdialog_1.4.zip";
|
2017-11-11 13:52:53 +00:00
|
|
|
sha256="1lhsaz56s8m838fi6vnfcd2r6djymvy3n2pbqhii88hraapq3rfk";
|
2015-06-02 18:29:17 +01:00
|
|
|
};
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2015-06-02 18:29:17 +01:00
|
|
|
buildInputs = [
|
2017-09-14 20:24:37 +01:00
|
|
|
cdk unzip gtk2 glib ncurses
|
2015-06-02 18:29:17 +01:00
|
|
|
];
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit (s) name version;
|
2017-09-14 20:24:37 +01:00
|
|
|
inherit nativeBuildInputs buildInputs;
|
2015-06-02 18:29:17 +01:00
|
|
|
src = fetchurl {
|
|
|
|
inherit (s) url sha256;
|
|
|
|
};
|
|
|
|
makeFlags = ["PREFIX=$(out)"];
|
|
|
|
meta = {
|
|
|
|
inherit (s) version;
|
2021-01-24 09:19:10 +00:00
|
|
|
description = "Cross-platform helper for creating interactive dialogs";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.mit ;
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://foicica.com/gtdialog";
|
2015-06-02 18:29:17 +01:00
|
|
|
downloadPage = "http://foicica.com/gtdialog/download";
|
|
|
|
};
|
|
|
|
}
|