mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
0893fc1e7b
I find no new build failures of depending packages.
22 lines
645 B
Nix
22 lines
645 B
Nix
{ stdenv, fetchurl, libjpeg, libtiff, librsvg, libintlOrEmpty }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "djvulibre-3.5.27";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/djvu/${name}.tar.gz";
|
|
sha256 = "0psh3zl9dj4n4r3lx25390nx34xz0bg0ql48zdskhq354ljni5p6";
|
|
};
|
|
|
|
buildInputs = [ libjpeg libtiff librsvg ] ++ libintlOrEmpty;
|
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
|
|
|
meta = {
|
|
description = "A library and viewer for the DJVU file format for scanned images";
|
|
homepage = http://djvu.sourceforge.net;
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|