nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (709B)


      1 {
      2   lib,
      3   stdenv,
      4   fetchurl,
      5   libpcap,
      6 }:
      7 
      8 stdenv.mkDerivation (finalAttrs: {
      9   pname = "ptunnel";
     10   version = "0.72";
     11 
     12   src = fetchurl {
     13     url = "https://www.cs.uit.no/~daniels/PingTunnel/PingTunnel-${finalAttrs.version}.tar.gz";
     14     hash = "sha256-sxj3qn2IkYtiadBUp+JvBPl9iHD0e9Sadsssmcc0B6Q=";
     15   };
     16 
     17   buildInputs = [ libpcap ];
     18 
     19   makeFlags = [ "prefix=$(out)" ];
     20 
     21   meta = {
     22     description = "A tool for reliably tunneling TCP connections over ICMP echo request and reply packets";
     23     homepage = "https://www.cs.uit.no/~daniels/PingTunnel";
     24     license = lib.licenses.bsd3;
     25     maintainers = [ lib.maintainers.sikmir ];
     26     platforms = lib.platforms.linux;
     27     skip.ci = stdenv.isDarwin;
     28   };
     29 })