mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
9a624d10e3
Since theey is not active from at least six years. All the packages on this commit became orphans. --------------------------------------------------------------------------- There are files not covered by this commit, because they will be adopted soon. Namely: - pkgs/by-name/zs/zsync/package.nix - pkgs/games/bsdgames/default.nix - pkgs/misc/ghostscript/default.nix - pkgs/os-specific/linux/kernel/perf/default.nix - pkgs/tools/system/logrotate/default.nix
31 lines
735 B
Nix
31 lines
735 B
Nix
{ lib, stdenv, fetchurl, libtiff, gettext }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "minidjvu";
|
|
version = "0.8";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/minidjvu/minidjvu-${version}.tar.gz";
|
|
sha256 = "0jmpvy4g68k6xgplj9zsl6brg6vi81mx3nx2x9hfbr1f4zh95j79";
|
|
};
|
|
|
|
patchPhase = ''
|
|
sed -i s,/usr/bin/gzip,gzip, Makefile.in
|
|
'';
|
|
|
|
buildInputs = [ libtiff gettext ];
|
|
|
|
preInstall = ''
|
|
mkdir -p $out/lib
|
|
'';
|
|
|
|
meta = {
|
|
homepage = "https://djvu.sourceforge.net/djview4.html";
|
|
description = "Black-and-white djvu page encoder and decoder that use interpage information";
|
|
license = lib.licenses.gpl2Plus;
|
|
maintainers = [ ];
|
|
platforms = lib.platforms.unix;
|
|
mainProgram = "minidjvu";
|
|
};
|
|
}
|