Adding psutils.
Have we lived without psnup so many years? Incredible.
This commit is contained in:
parent
0309ab350b
commit
03f368ca93
26
pkgs/tools/typesetting/psutils/default.nix
Normal file
26
pkgs/tools/typesetting/psutils/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv, fetchurl, perl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
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
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Collection of useful utilities for manipulating PS documents";
|
||||||
|
homepage = http://knackered.knackered.org/angus/psutils/;
|
||||||
|
license = licenses.bsd;
|
||||||
|
};
|
||||||
|
}
|
@ -3164,6 +3164,8 @@ in
|
|||||||
|
|
||||||
pstoedit = callPackage ../tools/graphics/pstoedit { };
|
pstoedit = callPackage ../tools/graphics/pstoedit { };
|
||||||
|
|
||||||
|
psutils = callPackage ../tools/typesetting/psutils { };
|
||||||
|
|
||||||
pv = callPackage ../tools/misc/pv { };
|
pv = callPackage ../tools/misc/pv { };
|
||||||
|
|
||||||
pwgen = callPackage ../tools/security/pwgen { };
|
pwgen = callPackage ../tools/security/pwgen { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user