mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Add gtdialog tool
This commit is contained in:
parent
eb2c3c6681
commit
747c6e913f
3 changed files with 37 additions and 0 deletions
32
pkgs/development/libraries/gtdialog/default.nix
Normal file
32
pkgs/development/libraries/gtdialog/default.nix
Normal 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";
|
||||
};
|
||||
}
|
3
pkgs/development/libraries/gtdialog/default.upstream
Normal file
3
pkgs/development/libraries/gtdialog/default.upstream
Normal file
|
@ -0,0 +1,3 @@
|
|||
url http://foicica.com/gtdialog/download
|
||||
version_link '[.]zip'
|
||||
version '.*_([0-9.]*)[.]zip' '\1'
|
|
@ -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 {};
|
||||
|
|
Loading…
Reference in a new issue