1 { lib, stdenv, fetchurl, perl }:
3 stdenv.mkDerivation rec {
8 url = "ftp://ftp.knackered.org/pub/psutils/psutils-p${version}.tar.gz";
9 sha256 = "1r4ab1fvgganm02kmm70b2r1azwzbav2am41gbigpa2bb1wynlrq";
13 sed -e 's,/usr/local/bin/perl,${perl}/bin/perl,' \
14 -e "s,/usr/local,$out," \
15 Makefile.unix > Makefile
19 mkdir -p $out/bin $out/share/man/man1
23 description = "Collection of useful utilities for manipulating PS documents";
24 homepage = "http://knackered.knackered.org/angus/psutils/";
25 license = licenses.bsd3;