nixpkgs/pkgs/applications/misc/djvulibre/default.nix

35 lines
697 B
Nix
Raw Normal View History

{ lib, stdenv
, fetchurl
, libjpeg
, libtiff
, librsvg
, libiconv
}:
stdenv.mkDerivation rec {
pname = "djvulibre";
2021-04-29 14:20:21 +00:00
version = "3.5.28";
src = fetchurl {
url = "mirror://sourceforge/djvu/${pname}-${version}.tar.gz";
2021-04-29 14:20:21 +00:00
sha256 = "1p1fiygq9ny8aimwc4vxwjc6k9ykgdsq1sq06slfbzalfvm0kl7w";
};
outputs = [ "bin" "dev" "out" ];
2015-10-28 18:36:40 +00:00
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";
2021-04-29 14:20:21 +00:00
license = licenses.gpl2Plus;
maintainers = with maintainers; [ Anton-Latukha ];
2015-03-27 21:09:22 +00:00
platforms = platforms.all;
};
}