nixpkgs/pkgs/applications/misc/djvulibre/default.nix
2021-04-29 18:27:21 +02:00

35 lines
697 B
Nix

{ lib, stdenv
, fetchurl
, libjpeg
, libtiff
, librsvg
, libiconv
}:
stdenv.mkDerivation rec {
pname = "djvulibre";
version = "3.5.28";
src = fetchurl {
url = "mirror://sourceforge/djvu/${pname}-${version}.tar.gz";
sha256 = "1p1fiygq9ny8aimwc4vxwjc6k9ykgdsq1sq06slfbzalfvm0kl7w";
};
outputs = [ "bin" "dev" "out" ];
buildInputs = [
libjpeg
libtiff
librsvg
libiconv
];
meta = with lib; {
description = "The big set of CLI tools to make/modify/optimize/show/export DJVU files";
homepage = "http://djvu.sourceforge.net";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ Anton-Latukha ];
platforms = platforms.all;
};
}