diff --git a/doc/languages-frameworks/ruby.xml b/doc/languages-frameworks/ruby.xml
index 3c6e4f5e01a..b13da92dcc4 100644
--- a/doc/languages-frameworks/ruby.xml
+++ b/doc/languages-frameworks/ruby.xml
@@ -46,7 +46,7 @@ bundlerEnv rec {
so it has all the libraries necessary for sensu in its paths. The second one can be used to make derivations from custom Ruby scripts which have
Gemfiles with their dependencies specified. It is a derivation with ruby wrapped so it can find all the needed dependencies.
For example, to make a derivation my-script for a my-script.rb (which should be placed in bin) you should
-run bundix as specified above and then use bundlerEnv lile this:
+run bundix as specified above and then use bundlerEnv like this:
gnutls != null;
+
+stdenv.mkDerivation rec {
+
+ version = "2.0";
+ name = "nullmailer-${version}";
+
+ src = fetchurl {
+ url = "http://untroubled.org/nullmailer/nullmailer-${version}.tar.gz";
+ sha256 = "112ghdln8q9yljc8kp9mc3843mh0fyb4rig2v4q2dzy1l324q3yp";
+ };
+
+ buildInputs = stdenv.lib.optional tls gnutls;
+
+ configureFlags = [
+ "--sysconfdir=/etc"
+ "--localstatedir=/var"
+ ] ++ stdenv.lib.optional tls "--enable-tls";
+
+ installFlags = [ "DESTDIR=$(out)" ];
+
+ # We have to remove the ''var'' directory, since nix can't handle named pipes
+ # and we can't use it in the store anyway. Same for ''etc''.
+ # The second line is need, because the installer of nullmailer will copy its
+ # own prepared version of ''etc'' and ''var'' and also uses the prefix path (configure phase)
+ # for hardcoded absolute references to its own binary farm, e.g. sendmail binary is
+ # calling nullmailer-inject binary. Since we can't configure inside the store of
+ # the derivation we need both directories in the root, but don't want to put them there
+ # during install, hence we have to fix mumbling inside the install directory.
+ # This is kind of a hack, but the only way I know of, yet.
+ postInstall = ''
+ rm -rf $out/var/ $out/etc/
+ mv $out/$out/* $out/
+ rmdir $out/$out
+ '';
+
+ enableParallelBuilding = true;
+
+ meta = {
+ homepage = "http://untroubled.org/nullmailer/";
+ description = ''
+ A sendmail/qmail/etc replacement MTA for hosts which relay to a fixed set of smart relays.
+ It is designed to be simple to configure, secure, and easily extendable.
+ '';
+ license = lib.licenses.gpl2;
+ platforms = lib.platforms.all;
+ maintainers = with lib.maintainers ; [ sargon ];
+ };
+}
diff --git a/pkgs/tools/filesystems/dosfstools/default.nix b/pkgs/tools/filesystems/dosfstools/default.nix
index d6a4e83a533..2eeb2003a19 100644
--- a/pkgs/tools/filesystems/dosfstools/default.nix
+++ b/pkgs/tools/filesystems/dosfstools/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig }:
+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libiconv }:
stdenv.mkDerivation rec {
name = "dosfstools-${version}";
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1a2zn1655d5f1m6jp9vpn3bp8yfxhcmxx3mx23ai9hmxiydiykr1";
};
- nativeBuildInputs = [ autoreconfHook pkgconfig ];
+ nativeBuildInputs = [ autoreconfHook pkgconfig ]
+ ++ stdenv.lib.optional stdenv.isDarwin libiconv;
configureFlags = [ "--enable-compat-symlinks" ];
@@ -19,6 +20,6 @@ stdenv.mkDerivation rec {
description = "Utilities for creating and checking FAT and VFAT file systems";
repositories.git = git://daniel-baumann.ch/git/software/dosfstools.git;
homepage = http://www.daniel-baumann.ch/software/dosfstools/;
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
};
}
diff --git a/pkgs/tools/networking/openvpn/default.nix b/pkgs/tools/networking/openvpn/default.nix
index a8f3a5a19ae..f2741e2b724 100644
--- a/pkgs/tools/networking/openvpn/default.nix
+++ b/pkgs/tools/networking/openvpn/default.nix
@@ -8,11 +8,11 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "openvpn-${version}";
- version = "2.4.0";
+ version = "2.4.2";
src = fetchurl {
url = "http://swupdate.openvpn.net/community/releases/${name}.tar.xz";
- sha256 = "0zpqnbhjaifdalyxwmvk5kcyd7cpxbcigbn7967nbsyvl54vl8vg";
+ sha256 = "1ydzy5i7yaifz0v1ivrckksvm0nkkx5sia3g5y5b1xkx9cw4yp6z";
};
buildInputs = [ lzo openssl pkgconfig ]
diff --git a/pkgs/tools/security/afl/default.nix b/pkgs/tools/security/afl/default.nix
index d07396319d8..252be087675 100644
--- a/pkgs/tools/security/afl/default.nix
+++ b/pkgs/tools/security/afl/default.nix
@@ -9,11 +9,11 @@ let
in
stdenv.mkDerivation rec {
name = "afl-${version}";
- version = "2.35b";
+ version = "2.41b";
src = fetchurl {
url = "http://lcamtuf.coredump.cx/afl/releases/${name}.tgz";
- sha256 = "1smwc3j0mrpnhqq7li2ry42fxcmq3q2kl568dpq9r9npg996fqar";
+ sha256 = "13wnjk0rklcjglj7dmpahv67vig9azifxgnggj56hki66lrb2w06";
};
# Note: libcgroup isn't needed for building, just for the afl-cgroup
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index e3131c4d788..6ebefb74a36 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -3331,6 +3331,8 @@ with pkgs;
openmvg = callPackage ../applications/science/misc/openmvg { };
+ openmvs = callPackage ../applications/science/misc/openmvs { };
+
openntpd = callPackage ../tools/networking/openntpd { };
openntpd_nixos = openntpd.override {
@@ -12749,6 +12751,8 @@ with pkgs;
inherit (callPackages ../data/fonts/noto-fonts {})
noto-fonts noto-fonts-cjk noto-fonts-emoji;
+ nullmailer = callPackage ../servers/mail/nullmailer { };
+
numix-icon-theme = callPackage ../data/icons/numix-icon-theme { };
numix-icon-theme-circle = callPackage ../data/icons/numix-icon-theme-circle { };
@@ -15134,7 +15138,7 @@ with pkgs;
openbox-menu = callPackage ../applications/misc/openbox-menu { };
- openbrf = callPackage ../applications/misc/openbrf { };
+ openbrf = libsForQt5.callPackage ../applications/misc/openbrf { };
opencpn = callPackage ../applications/misc/opencpn { };
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 110ce6b8411..07bb85632cc 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -677,15 +677,15 @@ in {
aniso8601 = buildPythonPackage rec {
name = "aniso8601-${version}";
version = "1.2.0";
-
+
meta = {
description = "Parses ISO 8601 strings.";
homepage = "https://bitbucket.org/nielsenb/aniso8601";
license = licenses.bsd3;
};
-
+
propagatedBuildInputs = with self; [ dateutil ];
-
+
src = pkgs.fetchurl {
url = "mirror://pypi/a/aniso8601/${name}.tar.gz";
sha256 = "502400f82574afa804cc915d83f15c67533d364dcd594f8a6b9d2053f3404dd4";
@@ -22087,7 +22087,7 @@ in {
homepage = "https://github.com/goinnn/django-multiselectfield";
};
};
-
+
reviewboard = buildPythonPackage rec {
name = "ReviewBoard-2.5.1.1";
@@ -31070,32 +31070,7 @@ EOF
};
};
- whoosh = buildPythonPackage rec {
- name = "${pname}-${version}";
- pname = "Whoosh";
- version = "2.7.4";
- src = pkgs.fetchurl {
- url = "https://pypi.python.org/packages/25/2b/6beed2107b148edc1321da0d489afc4617b9ed317ef7b72d4993cad9b684/${name}.tar.gz";
- sha256 = "10qsqdjpbc85fykc1vgcs8xwbgn4l2l52c8d83xf1q59pwyn79bw";
- };
- buildInputs = with self; [ pytest ];
-
- # Wrong encoding
- postPatch = ''
- rm tests/test_reading.py
- '';
- checkPhase = ''
- py.test -k "not test_timelimit"
- '';
-
- meta = {
- description = "Fast, pure-Python full text indexing, search, and spell checking library.";
- homepage = "http://bitbucket.org/mchaput/whoosh";
- license = licenses.bsd2;
- maintainers = with maintainers; [ nand0p ];
- platforms = platforms.all;
- };
- };
+ whoosh = callPackage ../development/python-modules/whoosh { };
packet-python = buildPythonPackage rec {
name = "${pname}-${version}";