2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, perl }:
|
2016-07-27 08:26:15 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2016-07-27 08:26:15 +00:00
|
|
|
name = "psutils-17";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "ftp://ftp.knackered.org/pub/psutils/psutils-p17.tar.gz";
|
|
|
|
sha256 = "1r4ab1fvgganm02kmm70b2r1azwzbav2am41gbigpa2bb1wynlrq";
|
|
|
|
};
|
|
|
|
|
|
|
|
configurePhase = ''
|
|
|
|
sed -e 's,/usr/local/bin/perl,${perl}/bin/perl,' \
|
|
|
|
-e "s,/usr/local,$out," \
|
|
|
|
Makefile.unix > Makefile
|
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/bin $out/share/man/man1
|
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2016-07-27 08:26:15 +00:00
|
|
|
description = "Collection of useful utilities for manipulating PS documents";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://knackered.knackered.org/angus/psutils/";
|
2016-07-27 08:29:30 +00:00
|
|
|
license = licenses.bsd3;
|
2016-07-27 08:26:15 +00:00
|
|
|
};
|
|
|
|
}
|