mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
2b5b344788
Tested at -j48.
43 lines
798 B
Nix
43 lines
798 B
Nix
{ lib, stdenv
|
|
, fetchurl
|
|
, libjpeg
|
|
, libtiff
|
|
, librsvg
|
|
, libiconv
|
|
, bash
|
|
}:
|
|
|
|
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" ];
|
|
|
|
strictDeps = true;
|
|
nativeBuildInputs = [
|
|
librsvg
|
|
];
|
|
|
|
buildInputs = [
|
|
libjpeg
|
|
libtiff
|
|
libiconv
|
|
bash
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
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;
|
|
};
|
|
}
|