1 { lib, stdenv, fetchurl, openssl, coreutils }:
3 stdenv.mkDerivation rec {
8 url = "https://www.tarsnap.com/spiped/${pname}-${version}.tgz";
9 sha256 = "sha256-BdRofRLRHX+YiNQ/PYDFQbdyHJhwONCF9xyRuwYgRWc=";
12 buildInputs = [ openssl ];
15 substituteInPlace libcperciva/cpusupport/Build/cpusupport.sh \
16 --replace "dirname" "${coreutils}/bin/dirname" \
17 --replace "2>/dev/null" "2>stderr.log"
19 substituteInPlace libcperciva/POSIX/posix-l.sh \
20 --replace "rm" "${coreutils}/bin/rm" \
21 --replace "2>/dev/null" "2>stderr.log"
26 mkdir -p $out/bin $out/share/man/man1
27 make install BINDIR=$out/bin MAN1DIR=$out/share/man/man1
32 description = "Utility for secure encrypted channels between sockets";
33 homepage = "https://www.tarsnap.com/spiped.html";
34 license = lib.licenses.bsd2;
35 platforms = lib.platforms.unix;
36 maintainers = [ lib.maintainers.thoughtpolice ];