mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 19:51:17 +00:00
bud: new package
This adds `bud`, a TLS terminating proxy.
This commit is contained in:
parent
8590e39e01
commit
5668ac61e9
34
pkgs/tools/networking/bud/default.nix
Normal file
34
pkgs/tools/networking/bud/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue