mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
dsvpn: init at 0.1.0
This commit is contained in:
parent
f2639566b5
commit
58e584ccd3
29
pkgs/applications/networking/dsvpn/default.nix
Normal file
29
pkgs/applications/networking/dsvpn/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dsvpn";
|
||||
version = "0.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jedisct1";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1g747197zpg83ba9l9vxg8m3jv13wcprhnyr8asdxq745kzmynsr";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm755 -t $out/bin dsvpn
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A Dead Simple VPN";
|
||||
homepage = "https://github.com/jedisct1/dsvpn";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -1482,6 +1482,8 @@ in
|
||||
gtk = gtk3;
|
||||
};
|
||||
|
||||
dsvpn = callPackage ../applications/networking/dsvpn { };
|
||||
|
||||
dtools = callPackage ../development/tools/dtools { };
|
||||
|
||||
dtrx = callPackage ../tools/compression/dtrx { };
|
||||
|
Loading…
Reference in New Issue
Block a user