10 stdenv.mkDerivation rec {
15 url = "https://www.tarsnap.com/spiped/spiped-${version}.tgz";
16 hash = "sha256-BdRofRLRHX+YiNQ/PYDFQbdyHJhwONCF9xyRuwYgRWc=";
19 buildInputs = [ openssl ];
22 substituteInPlace libcperciva/cpusupport/Build/cpusupport.sh \
23 --replace "dirname" "${coreutils}/bin/dirname" \
24 --replace "2>/dev/null" "2>stderr.log"
26 substituteInPlace libcperciva/POSIX/posix-l.sh \
27 --replace "rm" "${coreutils}/bin/rm" \
28 --replace "2>/dev/null" "2>stderr.log"
33 mkdir -p $out/bin $out/share/man/man1
34 make install BINDIR=$out/bin MAN1DIR=$out/share/man/man1
38 passthru.tests.spiped = nixosTests.spiped;
41 description = "Utility for secure encrypted channels between sockets";
42 homepage = "https://www.tarsnap.com/spiped.html";
43 license = lib.licenses.bsd2;
44 platforms = lib.platforms.unix;
45 maintainers = [ lib.maintainers.thoughtpolice ];