Merge remote-tracking branch 'upstream/master' into HEAD

This commit is contained in:
Frederik Rietdijk
2018-02-14 21:30:08 +01:00
134 changed files with 2619 additions and 2325 deletions

View File

@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "C++ Unit Testing Easy Environment";
homepage = http://codesink.org/cutee_unit_testing.html;
homepage = http://www.codesink.org/cutee_unit_testing.html;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ leenaars];
platforms = platforms.linux;

View File

@@ -0,0 +1,41 @@
{ stdenv, fetchurl, libtool, unbound, libidn, m4, file
, openssl, doxygen, autoreconfHook, automake }:
stdenv.mkDerivation rec {
pname = "getdns";
name = "${pname}-${version}";
version = "1.3.0";
src = fetchurl {
url = "https://getdnsapi.net/releases/${pname}-1-3-0/${pname}-${version}.tar.gz";
sha256 = "920fa2e07c72fd0e5854db1820fa777108009fc5cb702f9aa5155ef58b12adb1";
};
nativeBuildInputs = [ libtool m4 autoreconfHook automake file ];
buildInputs = [ unbound libidn openssl doxygen ];
patchPhase = ''
substituteInPlace m4/acx_openssl.m4 \
--replace /usr/local/ssl ${openssl.dev}
'';
meta = with stdenv.lib; {
description = "A modern asynchronous DNS API";
longDescription = ''
getdns is an implementation of a modern asynchronous DNS API; the
specification was originally edited by Paul Hoffman. It is intended to make all
types of DNS information easily available to application developers and non-DNS
experts. DNSSEC offers a unique global infrastructure for establishing and
enhancing cryptographic trust relations. With the development of this API the
developers intend to offer application developers a modern and flexible
interface that enables end-to-end trust in the DNS architecture, and which will
inspire application developers to implement innovative security solutions in
their applications.
'';
homepage = https://getdnsapi.net;
maintainers = with maintainers; [ leenaars ];
license = licenses.bsd3;
platforms = platforms.all;
};
}

View File

@@ -84,7 +84,7 @@ stdenv.mkDerivation {
layer. It adds TLS-KDH ciphers: Kerberos + Diffie-Hellman.
'';
homepage = http://www.gnu.org/software/gnutls://github.com/arpa2/gnutls-kdh;
homepage = https://github.com/arpa2/gnutls-kdh;
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ leenaars ];
platforms = platforms.all;

View File

@@ -2,28 +2,26 @@
stdenv.mkDerivation rec {
name = "libyaml-cpp-${version}";
version = "0.5.3";
version = "0.6.1";
src = fetchFromGitHub {
owner = "jbeder";
repo = "yaml-cpp";
rev = "release-${version}";
sha256 = "0qr286q8mwbr4cxz0y0rf045zc071qh3cb804by6w1ydlqciih8a";
rev = "yaml-cpp-${version}";
sha256 = "16x53p9gfch7gpyg865j7m1zhqsixx2hbbd206ffjv0ip8cjipjf";
};
outputs = [ "out" "dev" ];
buildInputs = [ cmake boost ];
nativeBuildInputs = [ cmake ];
cmakeFlags = "-DBUILD_SHARED_LIBS=ON";
enableParallelBuilding = true;
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "A YAML parser and emitter for C++";
license = licenses.mit;
platforms = platforms.unix;
maintainers = with maintainers; [ wkennington ];
maintainers = with maintainers; [ andir ];
};
}

View File

@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "MIME handling library";
homepage = http://codesink.org/mimetic_mime_library.html;
homepage = http://www.codesink.org/mimetic_mime_library.html;
license = licenses.mit;
maintainers = with maintainers; [ leenaars];
platforms = platforms.linux;

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, nix, boehmgc }:
let version = "2.0.7"; in
{ stdenv, fetchFromGitHub, nix, cmake, pkgconfig }:
let version = "3.0.1"; in
stdenv.mkDerivation {
name = "nix-plugins-${version}";
@@ -7,12 +7,12 @@ stdenv.mkDerivation {
owner = "shlevy";
repo = "nix-plugins";
rev = version;
sha256 = "1q4ydp2w114wbfm41m4qgrabha7ifa17xyz5dr137vvnj6njp4vs";
sha256 = "1pmk2m0kc6a3jqygm5cy1fl5gbcy0ghc2xs4ww0gh20walrys82r";
};
buildFlags = [ "NIX_INCLUDE=${nix.dev}/include" "GC_INCLUDE=${boehmgc.dev}/include" ];
nativeBuildInputs = [ cmake pkgconfig ];
installFlags = [ "PREFIX=$(out)" ];
buildInputs = [ nix ];
meta = {
description = "Collection of miscellaneous plugins for the nix expression language";

View File

@@ -0,0 +1,47 @@
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, doxygen, graphviz, valgrind
, glib, dbus, gst_all_1, v4l_utils, alsaLib, ffmpeg, libjack2, libudev, libva, xlibs
, sbc, SDL2
}:
let
version = "0.1.8";
in stdenv.mkDerivation rec {
name = "pipewire-${version}";
src = fetchFromGitHub {
owner = "PipeWire";
repo = "pipewire";
rev = version;
sha256 = "1nim8d1lsf6yxk97piwmsz686w84b09lk6cagbyjr9m3k2hwybqn";
};
outputs = [ "out" "dev" "doc" ];
nativeBuildInputs = [
meson ninja pkgconfig doxygen graphviz valgrind
];
buildInputs = [
glib dbus gst_all_1.gst-plugins-base gst_all_1.gstreamer v4l_utils
alsaLib ffmpeg libjack2 libudev libva xlibs.libX11 sbc SDL2
];
patches = [
./fix-paths.patch
];
mesonFlags = [
"-Denable_docs=true"
"-Denable_gstreamer=true"
];
doCheck = true;
checkPhase = "meson test";
meta = with stdenv.lib; {
description = "Server and user space API to deal with multimedia pipelines";
homepage = http://pipewire.org/;
license = licenses.lgpl21;
platforms = platforms.linux;
maintainers = with maintainers; [ jtojnar ];
};
}

View File

@@ -0,0 +1,8 @@
--- a/src/daemon/systemd/user/meson.build
+++ b/src/daemon/systemd/user/meson.build
@@ -1,4 +1,4 @@
-systemd_user_services_dir = systemd.get_pkgconfig_variable('systemduserunitdir')
+systemd_user_services_dir = join_paths(get_option('prefix'), 'etc', 'systemd', 'user')
install_data(sources : 'pipewire.socket', install_dir : systemd_user_services_dir)

View File

@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "tinyxml-2-${version}";
version = "4.0.1";
version = "6.0.0";
src = fetchFromGitHub {
repo = "tinyxml2";
owner = "leethomason";
rev = version;
sha256 = "1a0skfi8rzk53qcxbv88qlvhlqzvsvg4hm20dnx4zw7vrn6anr9y";
sha256 = "031fmhpah449h3rkyamzzdpzccrrfrvjb4qn6vx2vjm47jwc54qv";
};
nativeBuildInputs = [ cmake ];