From 41aaeef570e4b6c009f3a84abf6577582cf91deb Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Tue, 29 Aug 2017 17:43:50 -0400 Subject: [PATCH] shallot: init at 0.0.3 --- pkgs/tools/misc/shallot/default.nix | 32 +++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/tools/misc/shallot/default.nix diff --git a/pkgs/tools/misc/shallot/default.nix b/pkgs/tools/misc/shallot/default.nix new file mode 100644 index 000000000000..279de83e817a --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 94b1c68804c9..626e96f78cff 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7303,6 +7303,8 @@ with pkgs; sbt-with-scala-native = callPackage ../development/tools/build-managers/sbt/scala-native.nix { }; simpleBuildTool = sbt; + shallot = callPackage ../tools/misc/shallot { }; + shards = callPackage ../development/tools/build-managers/shards { }; shellcheck = haskell.lib.justStaticExecutables haskellPackages.ShellCheck;