Let cups-pdf-filter use cups.src

svn path=/nixpkgs/trunk/; revision=28652
This commit is contained in:
Yury G. Kudryashov 2011-08-18 12:52:22 +00:00
parent e33a0c0a85
commit 385ae7d2c4
2 changed files with 4 additions and 7 deletions

View file

@ -6,6 +6,8 @@ let version = "1.4.7"; in
stdenv.mkDerivation {
name = "cups-${version}";
passthru = { inherit version; };
src = fetchurl {
url = "http://ftp.easysw.com/pub/cups/${version}/cups-${version}-source.tar.bz2";
sha256 = "1xlnkdqldq81pdqgisqbyh92k249bzz35m1f5bp4la06p00ksvjf";

View file

@ -1,14 +1,9 @@
{ stdenv, fetchurl, pkgconfig, cups, poppler }:
let version = "1.4.5"; in
stdenv.mkDerivation {
name = "cups-pdf-filter-${version}";
name = "cups-pdf-filter-${cups.version}";
src = fetchurl {
url = "http://ftp.easysw.com/pub/cups/${version}/cups-${version}-source.tar.bz2";
sha256 = "1zhf3hvx11i0qnbwyybmdhx4fxkxfd4ch69k59fj5bz8wvcdcl04";
};
inherit (cups) src;
buildInputs = [ pkgconfig cups poppler ];