diff options
author | Tim Steinbach <tim@nequissimus.com> | 2017-08-29 17:43:50 -0400 |
---|---|---|
committer | Tim Steinbach <tim@nequissimus.com> | 2017-08-29 17:43:50 -0400 |
commit | 41aaeef570e4b6c009f3a84abf6577582cf91deb (patch) | |
tree | b0253da0e5a43c5f460c13d2b76cfc41a05ed50d /pkgs/tools/misc/shallot | |
parent | 8b4392094f0abc96dfe5ee01c1328a4faf0b9321 (diff) |
shallot: init at 0.0.3
Diffstat (limited to 'pkgs/tools/misc/shallot')
-rw-r--r-- | pkgs/tools/misc/shallot/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/tools/misc/shallot/default.nix b/pkgs/tools/misc/shallot/default.nix new file mode 100644 index 0000000000000..279de83e817a2 --- /dev/null +++ b/pkgs/tools/misc/shallot/default.nix @@ -0,0 +1,32 @@ +{ + stdenv, fetchFromGitHub, + openssl +}: + +let + version = "0.0.3"; +in stdenv.mkDerivation { + name = "shallot-${version}"; + + src = fetchFromGitHub { + owner = "katmagic"; + repo = "Shallot"; + rev = "shallot-${version}"; + sha256 = "0cjafdxvjkwb9vyifhh11mw0la7yfqswqwqmrfp1fy9jl7m0il9k"; + }; + + buildInputs = [ openssl ]; + + installPhase = '' + mkdir -p $out/bin + cp ./shallot $out/bin/ + ''; + + meta = { + description = "Shallot allows you to create customized .onion addresses for your hidden service"; + + license = stdenv.lib.licenses.mit; + homepage = https://github.com/katmagic/Shallot; + platforms = stdenv.lib.platforms.unix; + }; +} |