mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
microsocks: init at 1.0.4
This commit is contained in:
parent
ab7e0e6384
commit
4d16584c41
33
pkgs/by-name/mi/microsocks/package.nix
Normal file
33
pkgs/by-name/mi/microsocks/package.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ stdenv,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "microsocks";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "rofl0r";
|
||||
repo = "microsocks";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-cB2XMWjoZ1zLAmAfl/nqjdOyBDKZ+xtlEmqsZxjnFn0=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm 755 microsocks -t $out/bin/
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/rofl0r/microsocks/releases/tag/v${version}";
|
||||
description = "Tiny, portable SOCKS5 server with very moderate resource usage";
|
||||
homepage = "https://github.com/rofl0r/microsocks";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "microsocks";
|
||||
maintainers = with lib.maintainers; [ ramblurr ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user