3
0
Fork 0
forked from mirrors/nixpkgs

perlPackages: add dependencies needed by 'shutter' application

shutter is a screenshot and annotation GUI tool, coming to Nix soon.
This commit adds its needed perl dependencies:

  Gnome2, Gnome2Canvas, Gnome2VFS, Gnome2Wnck, GooCanvas,
  Gtk2AppIndicator, Gtk2ImageView, Gtk2Unique, ProcSimple

All expressions are created with nix-generate-from-cpan and manual
tweaks to (propagated)buildInputs and meta.license.
This commit is contained in:
Bjørn Forsman 2016-05-25 00:41:32 +02:00
parent b9f30bdc20
commit 444afc43ac

View file

@ -5513,6 +5513,60 @@ let self = _self // overrides; _self = with self; {
};
};
Gnome2 = buildPerlPackage rec {
name = "Gnome2-1.046";
src = fetchurl {
url = "mirror://cpan/authors/id/X/XA/XAOC/${name}.tar.gz";
sha256 = "a6c787232ab7e82a423a9ff5a49cec6bf586c1bb3c04c2052a91cdda5b66ae40";
};
buildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig Glib Gnome2Canvas Gnome2VFS Gtk2 ];
propagatedBuildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig Glib Gnome2Canvas Gnome2VFS Gtk2 Pango pkgs.gnome2.libgnomeui ];
meta = {
homepage = http://gtk2-perl.sourceforge.net;
description = "Perl interface to the 2.x series of the GNOME libraries";
license = stdenv.lib.licenses.lgpl21Plus;
};
};
Gnome2Canvas = buildPerlPackage rec {
name = "Gnome2-Canvas-1.002";
src = fetchurl {
url = "mirror://cpan/authors/id/T/TS/TSCH/${name}.tar.gz";
sha256 = "47a34204cd5f3a0ef5c8b9e1c9c96f41740edab7e9abf1d0560fa8666ba1916e";
};
buildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig Glib Gtk2 Pango pkgs.gnome2.libgnomecanvas ];
meta = {
license = stdenv.lib.licenses.lgpl2Plus;
};
};
Gnome2VFS = buildPerlPackage rec {
name = "Gnome2-VFS-1.082";
src = fetchurl {
url = "mirror://cpan/authors/id/X/XA/XAOC/${name}.tar.gz";
sha256 = "19dacfedef8770300861cb75f98ca5402e6e56501a888af3c18266a0790911b7";
};
propagatedBuildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig Glib pkgs.gnome2.gnome_vfs ];
meta = {
description = "Perl interface to the 2.x series of the GNOME VFS library";
license = stdenv.lib.licenses.lgpl21Plus;
};
};
Gnome2Wnck = buildPerlPackage rec {
name = "Gnome2-Wnck-0.16";
src = fetchurl {
url = "mirror://cpan/authors/id/T/TS/TSCH/${name}.tar.gz";
sha256 = "604a8ece88ac29f132d59b0caac27657ec31371c1606a4698a2160e88ac586e5";
};
buildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig Glib Gtk2 Pango pkgs.libwnck pkgs.glib pkgs.gtk2 ];
propagatedBuildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig Glib Gtk2 ];
meta = {
description = "Perl interface to the Window Navigator Construction Kit";
license = stdenv.lib.licenses.lgpl21Plus;
};
};
GnuPG = buildPerlPackage {
name = "GnuPG-0.19";
src = fetchurl {
@ -5539,6 +5593,19 @@ let self = _self // overrides; _self = with self; {
};
};
GooCanvas = buildPerlPackage rec {
name = "Goo-Canvas-0.06";
src = fetchurl {
url = "mirror://cpan/authors/id/Y/YE/YEWENBIN/${name}.tar.gz";
sha256 = "0c588c507eed5e62d12ed1cc1e491c6ff3a1f59c4fb3d435e14214b37ab39251";
};
propagatedBuildInputs = [ Cairo ExtUtilsDepends ExtUtilsPkgConfig Glib Gtk2 Pango pkgs.goocanvas pkgs.gtk2 ];
meta = {
description = "Perl interface to the GooCanvas";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
};
};
GoogleProtocolBuffers = buildPerlPackage rec {
name = "Google-ProtocolBuffers-0.11";
src = fetchurl {
@ -5623,6 +5690,53 @@ let self = _self // overrides; _self = with self; {
};
};
Gtk2AppIndicator = buildPerlPackage rec {
name = "Gtk2-AppIndicator-0.15";
src = fetchurl {
url = "mirror://cpan/authors/id/O/OE/OESTERHOL/${name}.tar.gz";
sha256 = "a25cb071e214fb89b4450aa4605031eae89b7961e149b0d6e8f491c19c14a90a";
};
propagatedBuildInputs = [ Gtk2 pkgs.libappindicator-gtk2 pkgs.libdbusmenu-gtk2 pkgs.gtk2 pkgs.pkgconfig Glib Pango ];
# Tests fail due to no display:
# Gtk-WARNING **: cannot open display: at /nix/store/HASH-perl-Gtk2-1.2498/lib/perl5/site_perl/5.22.2/x86_64-linux-thread-multi/Gtk2.pm line 126.
doCheck = false;
meta = {
description = "Perl extension for libappindicator";
license = stdenv.lib.licenses.artistic1;
};
};
Gtk2ImageView = buildPerlPackage rec {
name = "Gtk2-ImageView-0.05";
src = fetchurl {
url = "mirror://cpan/authors/id/R/RA/RATCLIFFE/${name}.tar.gz";
sha256 = "087186c3693acf196451cf59cc8b7f5cf9a7b05abe20d32dcbcba0822953fb80";
};
buildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig Glib Gtk2 Pango pkgs.gtkimageview pkgs.gtk2 ];
propagatedBuildInputs = [ ExtUtilsDepends ExtUtilsPkgConfig Glib Gtk2 ];
# Tests fail due to no display server:
# Gtk-WARNING **: cannot open display: at /nix/store/HASH-perl-Gtk2-1.2498/lib/perl5/site_perl/5.22.2/x86_64-linux-thread-multi/Gtk2.pm line 126.
# t/animview.t ...........
doCheck = false;
meta = {
description = "Perl bindings for the GtkImageView widget";
license = stdenv.lib.licenses.free;
};
};
Gtk2Unique = buildPerlPackage rec {
name = "Gtk2-Unique-0.05";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PO/POTYL/${name}.tar.gz";
sha256 = "ae8dfb0f6844ddaa2ce7b5b44553419490c8e83c24fd35c431406a58f6be0f4f";
};
propagatedBuildInputs = [ Gtk2 Glib ExtUtilsDepends ExtUtilsPkgConfig pkgs.libunique pkgs.gtk2 Cairo Pango ];
meta = {
description = "Use single instance applications";
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
};
};
Guard = buildPerlPackage rec {
name = "Guard-1.023";
src = fetchurl {
@ -10015,6 +10129,17 @@ let self = _self // overrides; _self = with self; {
};
};
ProcSimple = buildPerlPackage rec {
name = "Proc-Simple-1.32";
src = fetchurl {
url = "mirror://cpan/authors/id/M/MS/MSCHILLI/${name}.tar.gz";
sha256 = "4c8f0a924b19ad78a13da73fe0fb306d32a7b9d10a332c523087fc83a209a8c4";
};
meta = {
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
};
};
ProcWait3 = buildPerlPackage {
name = "Proc-Wait3-0.05";
src = fetchurl {