about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/gnome-2/platform/libgnomeprint/default.nix
blob: 6945ad1f04b93cf5a77f111ee04cb7bfc4d950d9 (plain) (blame)
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, gtk, gettext, libxml2, intltool, libart_lgpl
, libgnomecups, bison, 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 = [ gtk gettext intltool libart_lgpl libgnomecups bison flex ];

  propagatedBuildInputs = [ libxml2 ];

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