libgnomecups: Fix build

http://hydra.nixos.org/build/3149255
This commit is contained in:
Eelco Dolstra 2012-10-09 11:23:56 -04:00
parent 90d9f8ec18
commit 58082f0acb
2 changed files with 9 additions and 11 deletions

View File

@ -1,16 +1,16 @@
{stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl }:
{ stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl }:
let
stdenv.mkDerivation rec {
name = "libgnomecups-0.2.3";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "mirror://gnome/sources/libgnomecups/0.2/${name}.tar.bz2";
sha256 = "0a8xdaxzz2wc0n1fjcav65093gixzyac3948l8cxx1mk884yhc71";
};
patches = [ ./glib.patch ];
buildInputs = [ pkgconfig gtk gettext intltool libart_lgpl ];
propagatedBuildInputs = [ libxml2 ];
}

View File

@ -1,11 +1,8 @@
{stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl, libgnomecups, bison,
flex }:
{ stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl
, libgnomecups, bison, flex }:
let
stdenv.mkDerivation rec {
name = "libgnomeprint-2.18.8";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "mirror://gnome/sources/libgnomeprint/2.18/${name}.tar.bz2";
@ -15,5 +12,6 @@ stdenv.mkDerivation {
patches = [ ./bug653388.patch ];
buildInputs = [ pkgconfig gtk gettext intltool libart_lgpl libgnomecups bison flex ];
propagatedBuildInputs = [ libxml2 ];
}