about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/gnome-2/platform/libgnomecups/default.nix
blob: 7e33ee91285f034c95dc25ddf72b8084cf87d185 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, fetchurl, pkg-config, gtk2, gettext, libxml2, intltool, libart_lgpl }:

stdenv.mkDerivation rec {
  name = "libgnomecups-0.2.3";

  src = fetchurl {
    url = "mirror://gnome/sources/libgnomecups/0.2/${name}.tar.bz2";
    sha256 = "0a8xdaxzz2wc0n1fjcav65093gixzyac3948l8cxx1mk884yhc71";
  };

  hardeningDisable = [ "format" ];

  patches = [ ./glib.patch ./cups_1.6.patch ];

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ gtk2 gettext intltool libart_lgpl ];

  propagatedBuildInputs = [ libxml2 ];
}