1 { lib, stdenv, fetchurl, cmake, pkg-config, zlib, libpng, libjpeg, giflib, libtiff
4 stdenv.mkDerivation rec {
9 name = "${pname}-snixource-${version}.tar.gz";
10 url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
11 sha256 = "0m191ckqj1kj2yvxiilqw26x4vrn7pnlc2vy636yphjxr02q8bk4";
14 nativeBuildInputs = [ cmake pkg-config ];
15 buildInputs = [ zlib libpng libjpeg giflib libtiff ];
19 outputs = [ "out" "dev" "doc" ];
23 for path in *.so *.so.* *.o *.o.*; do
27 mv ../include/libps $dev/include
28 if test -d nix-support; then
31 mkdir -p $doc/share/doc/${pname}
32 cp -r ../doc/. $doc/share/doc/${pname}
36 description = "A C-library for generating multi page PostScript documents";
37 homepage = "http://pslib.sourceforge.net/";
39 "https://sourceforge.net/p/pslib/git/ci/master/tree/pslib/ChangeLog";
40 license = licenses.gpl2;
41 maintainers = with maintainers; [ ShamrockLee ];