nixpkgs/pkgs/tools/networking/6tunnel/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

25 lines
617 B
Nix

{ stdenv, lib, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "6tunnel";
version = "0.13";
src = fetchFromGitHub {
owner = "wojtekka";
repo = pname;
rev = version;
sha256 = "0zsx9d6xz5w8zvrqsm8r625gpbqqhjzvjdzc3z8yix668yg8ff8h";
};
nativeBuildInputs = [ autoreconfHook ];
meta = with lib; {
description = "Tunnelling for application that don't speak IPv6";
mainProgram = "6tunnel";
homepage = "https://github.com/wojtekka/6tunnel";
license = licenses.gpl2;
maintainers = with maintainers; [ Br1ght0ne ];
platforms = platforms.unix;
};
}