aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/desktops/gnome-2/platform/libgnomeprint/default.nix
blob: 453a4459fddb1efc484961f22584612a03a375cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ stdenv, fetchurl, pkgconfig, gtk2, gettext, libxml2, intltool, libart_lgpl
, libgnomecups, bison2, flex }:

stdenv.mkDerivation rec {
  name = "libgnomeprint-2.18.8";

  src = fetchurl {
    url = "mirror://gnome/sources/libgnomeprint/2.18/${name}.tar.bz2";
    sha256 = "1034ec8651051f84d2424e7a1da61c530422cc20ce5b2d9e107e1e46778d9691";
  };

  patches = [ ./bug653388.patch ];

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ gtk2 gettext intltool libart_lgpl libgnomecups bison2 flex ];

  propagatedBuildInputs = [ libxml2 ];

  meta = with stdenv.lib; {
    platforms = platforms.linux;
  };
}