bud: new package

This adds `bud`, a TLS terminating proxy.
This commit is contained in:
Charles Strahan 2014-07-08 15:38:55 -04:00 committed by Domen Kožar
parent 8590e39e01
commit 5668ac61e9
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{ stdenv, lib, fetchgit, python, gyp, utillinux }:
stdenv.mkDerivation rec {
name = "bud-${version}";
version = "0.25.0";
src = fetchgit {
url = "https://github.com/indutny/bud.git";
rev = "f65b9c3531dac1a5b3c962e01f3bed1d41ab5621";
sha256 = "000wwc88hsf6ccz8wxjn2af6l0nxm6a2fcad71xw35ymmdp9n5xg";
};
buildInputs = [
python gyp
] ++ lib.optional stdenv.isLinux utillinux;
buildPhase = ''
python ./gyp_bud -f make
make -C out
'';
installPhase = ''
ensureDir $out/bin
cp out/Release/bud $out/bin
'';
meta = with lib; {
description = "A TLS terminating proxy";
license = licenses.mit;
platforms = with platforms; linux;
maintainers = with maintainers; [ cstrahan ];
};
}

View file

@ -698,6 +698,10 @@ let
btar = callPackage ../tools/backup/btar { };
bud = callPackage ../tools/networking/bud {
inherit (pythonPackages) gyp;
};
bup = callPackage ../tools/backup/bup {
inherit (pythonPackages) pyxattr pylibacl setuptools fuse;
inherit (haskellPackages) pandoc;