Merge remote-tracking branch 'NixOS/master' into staging
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{stdenv, fetchurl, openssh}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "autossh-1.4f";
|
||||
name = "autossh-1.4g";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.harding.motd.ca/autossh/${name}.tgz";
|
||||
sha256 = "1wpqwa2872nqgqbhnb6nnkrlzpdawd5k69gh1qp68354pvhyawh1";
|
||||
sha256 = "0xqjw8df68f4kzkns5gcah61s5wk0m44qdk2z1d6388w6viwxhsz";
|
||||
};
|
||||
|
||||
buildInputs = [ openssh ];
|
||||
|
||||
@@ -1,30 +1,41 @@
|
||||
{ stdenv, fetchFromGitHub, pythonPackages
|
||||
{ stdenv, fetchFromGitHub, python
|
||||
, unzip, makeWrapper }:
|
||||
let
|
||||
inherit (pythonPackages) python;
|
||||
docker_1_10 = pythonPackages.buildPythonPackage rec {
|
||||
name = "docker-${version}";
|
||||
version = "1.10.6";
|
||||
python' = python.override {
|
||||
packageOverrides = self: super: {
|
||||
docker = self.buildPythonPackage rec {
|
||||
name = "docker-${version}";
|
||||
version = "1.10.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "docker";
|
||||
repo = "docker-py";
|
||||
rev = version;
|
||||
sha256 = "1awzpbrkh4fympqzddz5i3ml81b7f0i0nwkvbpmyxjjfqx6l0m4m";
|
||||
src = fetchFromGitHub {
|
||||
owner = "docker";
|
||||
repo = "docker-py";
|
||||
rev = version;
|
||||
sha256 = "1awzpbrkh4fympqzddz5i3ml81b7f0i0nwkvbpmyxjjfqx6l0m4m";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
six
|
||||
requests
|
||||
websocket_client
|
||||
ipaddress
|
||||
backports_ssl_match_hostname
|
||||
docker_pycreds
|
||||
uptime
|
||||
];
|
||||
|
||||
# due to flake8
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
pymongo = super.pymongo.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2.9.5";
|
||||
src = oldAttrs.src.override {
|
||||
inherit version;
|
||||
sha256 = "912516ac6a355d7624374a38337b8587afe3eb535c0a5456b3bd12df637a6e70";
|
||||
};
|
||||
});
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
six
|
||||
requests
|
||||
websocket_client
|
||||
ipaddress
|
||||
backports_ssl_match_hostname
|
||||
docker_pycreds
|
||||
uptime
|
||||
];
|
||||
|
||||
# due to flake8
|
||||
doCheck = false;
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
@@ -41,21 +52,21 @@ in stdenv.mkDerivation rec {
|
||||
patches = [ ./40103-iostat-fix.patch ];
|
||||
|
||||
buildInputs = [
|
||||
python
|
||||
unzip
|
||||
makeWrapper
|
||||
pythonPackages.requests
|
||||
pythonPackages.psycopg2
|
||||
pythonPackages.psutil
|
||||
pythonPackages.ntplib
|
||||
pythonPackages.simplejson
|
||||
pythonPackages.pyyaml
|
||||
pythonPackages.pymongo_2_9_1
|
||||
pythonPackages.python-etcd
|
||||
pythonPackages.consul
|
||||
docker_1_10
|
||||
];
|
||||
propagatedBuildInputs = with pythonPackages; [ python tornado ];
|
||||
] ++ (with python'.pkgs; [
|
||||
requests
|
||||
psycopg2
|
||||
psutil
|
||||
ntplib
|
||||
simplejson
|
||||
pyyaml
|
||||
pymongo
|
||||
python-etcd
|
||||
consul
|
||||
docker
|
||||
]);
|
||||
propagatedBuildInputs = with python'.pkgs; [ python tornado ];
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
@@ -6,14 +6,14 @@ let
|
||||
|
||||
in buildGoPackage rec {
|
||||
name = "datadog-agent-${version}";
|
||||
version = "6.8.3";
|
||||
version = "6.9.0";
|
||||
owner = "DataDog";
|
||||
repo = "datadog-agent";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit owner repo;
|
||||
rev = "${version}";
|
||||
sha256 = "18kk3f10pbcxplshxzbblga6bqlkk5mgy536yy27j463l4xps92q";
|
||||
sha256 = "1ddzml9ip5nm5z6cmnsrqxlmcr8411qlyr05hky7yn1dacin9ifw";
|
||||
};
|
||||
|
||||
subPackages = [
|
||||
|
||||
@@ -72,6 +72,5 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://www.isc.org/products/DHCP/;
|
||||
license = licenses.isc;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ wkennington ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,37 +1,40 @@
|
||||
{ stdenv, fetchurl, bind, libseccomp, zlib, openssl, libcap }:
|
||||
{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook
|
||||
, bind, libseccomp, zlib, openssl, libcap
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dnsperf-${version}";
|
||||
version = "2.1.0.0";
|
||||
version = "2.2.0";
|
||||
|
||||
# The same as the initial commit of the new GitHub repo (only readme changed).
|
||||
src = fetchurl {
|
||||
url = "ftp://ftp.nominum.com/pub/nominum/dnsperf/${version}/"
|
||||
+ "dnsperf-src-${version}-1.tar.gz";
|
||||
sha256 = "03kfc65s5a9csa5i7xjsv0psq144k8d9yw7xlny61bg1h2kg1db4";
|
||||
src = fetchFromGitHub {
|
||||
owner = "DNS-OARC";
|
||||
repo = "dnsperf";
|
||||
rev = "v${version}";
|
||||
sha256 = "1acbpgk1d7hjs48j3w6xkmyf9xlxhqskjy50a16f9dvjwvvxp84b";
|
||||
};
|
||||
|
||||
# Almost the same as https://github.com/DNS-OARC/dnsperf/pull/12
|
||||
postPatch = ''
|
||||
find . -name '*.h' -o -name '*.c' | xargs sed \
|
||||
-e 's/\<isc_boolean_t\>/bool/g' -e 's/\<ISC_TRUE\>/true/g' -e 's/\<ISC_FALSE\>/false/g' \
|
||||
-e 's/\<isc_uint/uint/g' -e 's/\<ISC_UINT/UINT/g' -e 's/\<isc_int/int/g' \
|
||||
-e 's/\<ISC_PRINT_QUADFORMAT\>/PRIu64/g' -e 's/\<ISC_TF\>//g' \
|
||||
-i --
|
||||
'';
|
||||
|
||||
outputs = [ "out" "man" "doc" ];
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ bind zlib openssl ]
|
||||
++ stdenv.lib.optionals stdenv.isLinux [ libcap.lib ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p "$out/share/doc/"
|
||||
cp -r ./doc "$out/share/doc/dnsperf"
|
||||
# For now, keep including the old PDFs as well.
|
||||
# https://github.com/DNS-OARC/dnsperf/issues/27
|
||||
postInstall = let
|
||||
src-doc = fetchurl {
|
||||
url = "ftp://ftp.nominum.com/pub/nominum/dnsperf/2.1.0.0/"
|
||||
+ "dnsperf-src-2.1.0.0-1.tar.gz";
|
||||
sha256 = "03kfc65s5a9csa5i7xjsv0psq144k8d9yw7xlny61bg1h2kg1db4";
|
||||
};
|
||||
in ''
|
||||
tar xf '${src-doc}'
|
||||
cp ./dnsperf-src-*/doc/*.pdf "$doc/share/doc/dnsperf/"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
outputsToInstall = outputs; # The man pages and PDFs are likely useful to most.
|
||||
outputsToInstall = outputs; # The man pages and docs are likely useful to most.
|
||||
|
||||
description = "Tools for DNS benchmaring";
|
||||
homepage = "https://github.com/DNS-OARC/dnsperf";
|
||||
|
||||
@@ -12,8 +12,7 @@ pythonPackages.buildPythonApplication rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [ gdata IMAPClient Logbook
|
||||
argparse chardet ];
|
||||
propagatedBuildInputs = with pythonPackages; [ gdata IMAPClient Logbook chardet ];
|
||||
|
||||
startScript = ./gmvault.py;
|
||||
|
||||
|
||||
@@ -23,10 +23,10 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://software.es.net/iperf/;
|
||||
homepage = http://software.es.net/iperf/;
|
||||
description = "Tool to measure IP bandwidth using UDP or TCP";
|
||||
platforms = platforms.unix;
|
||||
license = "as-is";
|
||||
maintainers = with maintainers; [ wkennington fpletz ];
|
||||
maintainers = with maintainers; [ fpletz ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,6 +30,5 @@ stdenv.mkDerivation rec {
|
||||
description = "Routing software written in C";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ wkennington ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://www.remlab.net/ndisc6/;
|
||||
description = "A small collection of useful tools for IPv6 networking";
|
||||
maintainers = with maintainers; [ eelco wkennington ];
|
||||
maintainers = with maintainers; [ eelco ];
|
||||
platforms = platforms.linux;
|
||||
license = licenses.gpl2;
|
||||
};
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
with stdenv.lib;
|
||||
|
||||
let repo = "openfortivpn";
|
||||
version = "1.7.1";
|
||||
version = "1.8.0";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "${repo}-${version}";
|
||||
@@ -12,7 +12,7 @@ in stdenv.mkDerivation {
|
||||
owner = "adrienverge";
|
||||
inherit repo;
|
||||
rev = "v${version}";
|
||||
sha256 = "01nsgmmh72qk0aq2zdjh8qqn256mmvz1w2gl0wi7g29d82y2hdfm";
|
||||
sha256 = "1p7zfysqvivca565ifb5anla3rgqavq2npavj1vlmhipa01080lk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
@@ -20,9 +20,7 @@ in stdenv.mkDerivation {
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error=unused-function";
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace src/tunnel.c --replace "/usr/sbin/pppd" "${ppp}/bin/pppd"
|
||||
'';
|
||||
configureFlags = [ "--with-pppd=${ppp}/bin/pppd" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
@@ -37,6 +37,5 @@ stdenv.mkDerivation rec {
|
||||
license = licenses.bsd3;
|
||||
description = "OpenBSD NTP daemon (Debian port)";
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ wkennington ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ in buildPythonApplication rec {
|
||||
sha256 = "17yj5n8byxp09l5zkap73hpphjy35px84wy68ps824w8l0l8kcd4";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ argparse pytz ];
|
||||
propagatedBuildInputs = [ pytz ];
|
||||
|
||||
prePatch = ''
|
||||
siteDir=$out/${python.sitePackages}
|
||||
|
||||
@@ -17,6 +17,6 @@ stdenv.mkDerivation rec {
|
||||
description = "IPv6 Router Advertisement Daemon";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.bsdOriginal;
|
||||
maintainers = with maintainers; [ wkennington fpletz ];
|
||||
maintainers = with maintainers; [ fpletz ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,6 +39,6 @@ stdenv.mkDerivation rec {
|
||||
homepage="http://www.tinc-vpn.org/";
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.unix;
|
||||
maintainers = with maintainers; [ wkennington fpletz lassulus ];
|
||||
maintainers = with maintainers; [ fpletz lassulus ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user