Merge staging-next into staging
This commit is contained in:
@@ -20,7 +20,8 @@ buildPythonApplication rec {
|
||||
# https://github.com/blue-yonder/bonfire/pull/24
|
||||
substituteInPlace requirements.txt \
|
||||
--replace "arrow>=0.5.4,<0.8" "arrow>=0.5.4" \
|
||||
--replace "keyring>=9,<10" "keyring>=9"
|
||||
--replace "keyring>=9,<10" "keyring>=9" \
|
||||
--replace "click>=3.3,<7" "click>=3.3"
|
||||
# pip fails when encountering the git hash for the package version
|
||||
substituteInPlace setup.py \
|
||||
--replace "version=version," "version='${version}',"
|
||||
|
||||
39
pkgs/tools/misc/cht.sh/default.nix
Normal file
39
pkgs/tools/misc/cht.sh/default.nix
Normal file
@@ -0,0 +1,39 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
, curl
|
||||
, ncurses
|
||||
, rlwrap
|
||||
, xsel
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cht.sh-${version}";
|
||||
version = "unstable-2018-11-02";
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "chubin";
|
||||
repo = "cheat.sh";
|
||||
rev = "9595805ac68b3c096f7c51fa024dcb97a7dfac44";
|
||||
sha256 = "11g8say5fksg0zg0bqrgl92rprn4lwp20g9rz1i0r38f0jy3nyrf";
|
||||
};
|
||||
|
||||
# Fix ".cht.sh-wrapped" in the help message
|
||||
postPatch = "substituteInPlace share/cht.sh.txt --replace '\${0##*/}' cht.sh";
|
||||
|
||||
installPhase = ''
|
||||
install -m755 -D share/cht.sh.txt "$out/bin/cht.sh"
|
||||
wrapProgram "$out/bin/cht.sh" \
|
||||
--prefix PATH : "${stdenv.lib.makeBinPath [ curl rlwrap ncurses xsel ]}"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "CLI client for cheat.sh, a community driven cheat sheet";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fgaz ];
|
||||
homepage = https://github.com/chubin/cheat.sh;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,16 +2,16 @@
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
name = "hexyl-${version}";
|
||||
version = "0.3.0";
|
||||
version = "0.3.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sharkdp";
|
||||
repo = "hexyl";
|
||||
rev = "v${version}";
|
||||
sha256 = "138w6czi62dpw6gcd3yqpk7lns7m89kwbgm1d1i5lnzsqck3wb4s";
|
||||
sha256 = "1q4klph45a7zjzwajrccb51yc3k1p16mjlnqislpm43h653f728q";
|
||||
};
|
||||
|
||||
cargoSha256 = "01m8n7yl3yqr8kj0dl1wfaz724da17hs3sb1fbncv64l6qpvdka1";
|
||||
cargoSha256 = "17mp6amib58akh175qprqsz3qkffgdacfm3dhkbysiqmw5m2p2p7";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A command-line hex viewer";
|
||||
@@ -23,7 +23,7 @@ rustPlatform.buildRustPackage rec {
|
||||
'';
|
||||
homepage = https://github.com/sharkdp/hexyl;
|
||||
license = with licenses; [ asl20 /* or */ mit ];
|
||||
maintainers = [];
|
||||
maintainers = with maintainers; [ dywedir ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "neofetch-${version}";
|
||||
version = "5.0.0";
|
||||
version = "6.0.0";
|
||||
src = fetchFromGitHub {
|
||||
owner = "dylanaraps";
|
||||
repo = "neofetch";
|
||||
rev = version;
|
||||
sha256 = "0yzyi2p0d8xp576lxyv5m9h60dl1d5dmrn40aad307872835b9rr";
|
||||
sha256 = "0j0r40llyry1sgc6p9wd7jrpydps2lnj4rwajjp37697g2bik89i";
|
||||
};
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
40
pkgs/tools/networking/ubridge/default.nix
Normal file
40
pkgs/tools/networking/ubridge/default.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{ stdenv, fetchFromGitHub
|
||||
, libpcap
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ubridge-${version}";
|
||||
version = "0.9.14";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "GNS3";
|
||||
repo = "ubridge";
|
||||
rev = "v${version}";
|
||||
sha256 = "1m3j9jfj8fm0532jhaagqgsyr241j6z9wn8lgrl7q3973rhiahfs";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "/usr/local/bin" "$out/bin" \
|
||||
--replace "setcap" "#setcap"
|
||||
'';
|
||||
|
||||
buildInputs = [ libpcap ];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p $out/bin
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Bridge for UDP tunnels, Ethernet, TAP, and VMnet interfaces";
|
||||
longDescription = ''
|
||||
uBridge is a simple application to create user-land bridges between
|
||||
various technologies. Currently bridging between UDP tunnels, Ethernet
|
||||
and TAP interfaces is supported. Packet capture is also supported.
|
||||
'';
|
||||
inherit (src.meta) homepage;
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ primeos ];
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{ lib, stdenv, fetchurl, fetchFromGitHub, fetchpatch, perl, curl, bzip2, sqlite, openssl ? null, xz
|
||||
, pkgconfig, boehmgc, perlPackages, libsodium, brotli, boost
|
||||
, pkgconfig, boehmgc, perlPackages, libsodium, brotli, boost, editline
|
||||
, autoreconfHook, autoconf-archive, bison, flex, libxml2, libxslt, docbook5, docbook_xsl_ns
|
||||
, busybox-sandbox-shell
|
||||
, storeDir ? "/nix/store"
|
||||
@@ -30,7 +30,7 @@ let
|
||||
|
||||
buildInputs = [ curl openssl sqlite xz bzip2 ]
|
||||
++ lib.optional (stdenv.isLinux || stdenv.isDarwin) libsodium
|
||||
++ lib.optionals is20 [ brotli boost ]
|
||||
++ lib.optionals is20 [ brotli boost editline ]
|
||||
++ lib.optional withLibseccomp libseccomp
|
||||
++ lib.optional (withAWS && is20)
|
||||
((aws-sdk-cpp.override {
|
||||
@@ -149,10 +149,10 @@ in rec {
|
||||
}) // { perl-bindings = nix1; };
|
||||
|
||||
nixStable = (common rec {
|
||||
name = "nix-2.1.3";
|
||||
name = "nix-2.2";
|
||||
src = fetchurl {
|
||||
url = "http://nixos.org/releases/nix/${name}/${name}.tar.xz";
|
||||
sha256 = "5d22dad058d5c800d65a115f919da22938c50dd6ba98c5e3a183172d149840a4";
|
||||
sha256 = "63238d00d290b8a93925891fc9164439d3941e2ccc569bf7f7ca32f53c3ec0c7";
|
||||
};
|
||||
}) // { perl-bindings = perl-bindings {
|
||||
nix = nixStable;
|
||||
@@ -166,7 +166,7 @@ in rec {
|
||||
owner = "NixOS";
|
||||
repo = "nix";
|
||||
rev = "85488a93ec3b07210339f2b05aa93e970f9ac3be";
|
||||
sha256 = "0fkmx7gmgg0yij9kw52fkyvib88hj1jsj90vbpy13ccfwknh1044";
|
||||
sha256 = "1n5dp7p2lzpnj7f834d25k020v16gnnsm56jz46y87v2x7b69ccm";
|
||||
};
|
||||
fromGit = true;
|
||||
})) // { perl-bindings = perl-bindings {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, python2Packages, libxslt, docbook_xsl_ns, openssh
|
||||
{ lib, python2Packages, libxslt, docbook_xsl_ns, openssh, cacert
|
||||
# version args
|
||||
, src, version
|
||||
}:
|
||||
@@ -29,7 +29,13 @@ python2Packages.buildPythonApplication {
|
||||
typing
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
checkPhase =
|
||||
# Ensure, that there are no (python) import errors
|
||||
''
|
||||
SSL_CERT_FILE=${cacert}/etc/ssl/certs/ca-bundle.crt \
|
||||
HOME=$(pwd) \
|
||||
$out/bin/nixops --version
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
make -C doc/manual install nixops.1 docbookxsl=${docbook_xsl_ns}/xml/xsl/docbook \
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libevent, openssl, zlib, torsocks
|
||||
, libseccomp, systemd, libcap
|
||||
, libseccomp, systemd, libcap, lzma, zstd, scrypt
|
||||
|
||||
# for update.nix
|
||||
, writeScript
|
||||
@@ -14,17 +14,17 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "tor-0.3.4.9";
|
||||
name = "tor-0.3.5.7";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://dist.torproject.org/${name}.tar.gz";
|
||||
sha256 = "0jhnvnp08hsfrzgsvg5xnfxyaw3nzgg9h24cwbwnz6iby20i05qs";
|
||||
sha256 = "17l31p58rsd30w4b6r4d8pbr84z3y7awahvjxbpmnlxc47y8f20v";
|
||||
};
|
||||
|
||||
outputs = [ "out" "geoip" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libevent openssl zlib ] ++
|
||||
buildInputs = [ libevent openssl zlib lzma zstd scrypt ] ++
|
||||
stdenv.lib.optionals stdenv.isLinux [ libseccomp systemd libcap ];
|
||||
|
||||
NIX_CFLAGS_LINK = stdenv.lib.optionalString stdenv.cc.isGNU "-lgcc_s";
|
||||
|
||||
Reference in New Issue
Block a user