depot/third_party/nixpkgs/pkgs/development/libraries/gtdialog/default.nix
Default email 07d6a74cbb Project import generated by Copybara.
GitOrigin-RevId: f5e8bdd07d1afaabf6b37afc5497b1e498b8046f
2021-03-19 18:17:44 +01:00

33 lines
1,013 B
Nix

{lib, stdenv, fetchurl, cdk, unzip, gtk2, glib, ncurses, pkg-config}:
let
s = # Generated upstream information
rec {
baseName="gtdialog";
version="1.4";
name="${baseName}-${version}";
hash="1lhsaz56s8m838fi6vnfcd2r6djymvy3n2pbqhii88hraapq3rfk";
url="https://foicica.com/gtdialog/download/gtdialog_1.4.zip";
sha256="1lhsaz56s8m838fi6vnfcd2r6djymvy3n2pbqhii88hraapq3rfk";
};
nativeBuildInputs = [ pkg-config unzip ];
buildInputs = [
cdk gtk2 glib ncurses
];
in
stdenv.mkDerivation {
inherit (s) name version;
inherit nativeBuildInputs buildInputs;
src = fetchurl {
inherit (s) url sha256;
};
makeFlags = ["PREFIX=$(out)"];
meta = {
inherit (s) version;
description = "Cross-platform helper for creating interactive dialogs";
license = lib.licenses.mit ;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.linux;
homepage = "http://foicica.com/gtdialog";
downloadPage = "http://foicica.com/gtdialog/download";
};
}