From d5604d07c23b05801402b3fcd37fcb20bb48e55a Mon Sep 17 00:00:00 2001 From: Nathaniel Baxter Date: Thu, 25 Sep 2014 11:09:55 +1000 Subject: [PATCH 01/29] qbittorrent: Bump version to 3.1.10. --- pkgs/applications/networking/p2p/qbittorrent/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/p2p/qbittorrent/default.nix b/pkgs/applications/networking/p2p/qbittorrent/default.nix index 0ba160c8a917..d0fe55ee46a5 100644 --- a/pkgs/applications/networking/p2p/qbittorrent/default.nix +++ b/pkgs/applications/networking/p2p/qbittorrent/default.nix @@ -2,11 +2,11 @@ , pkgconfig }: stdenv.mkDerivation rec { - name = "qbittorrent-3.1.3"; + name = "qbittorrent-3.1.10"; src = fetchurl { url = "mirror://sourceforge/qbittorrent/${name}.tar.xz"; - sha256 = "16m3l8qjcj63brzrdn82cbijvz8fcxfgpibi4g5g6sbissjkwsww"; + sha256 = "0xhqli191r5v9b5x6wj1wsjlj6svf6ldgzl7jza39q3ipr5c2pg6"; }; buildInputs = [ qt4 which dbus_libs boost libtorrentRasterbar From eb3d744af94ff028a5c3fa66ca9d4fe99a455119 Mon Sep 17 00:00:00 2001 From: Nathaniel Baxter Date: Thu, 25 Sep 2014 12:49:14 +1000 Subject: [PATCH 02/29] qbittorrent: Fixup meta data. --- pkgs/applications/networking/p2p/qbittorrent/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/networking/p2p/qbittorrent/default.nix b/pkgs/applications/networking/p2p/qbittorrent/default.nix index d0fe55ee46a5..b896cc8e05bc 100644 --- a/pkgs/applications/networking/p2p/qbittorrent/default.nix +++ b/pkgs/applications/networking/p2p/qbittorrent/default.nix @@ -17,9 +17,11 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - meta = { + meta = with stdenv.lib; { description = "Free Software alternative to µtorrent"; homepage = http://www.qbittorrent.org/; - maintainers = with stdenv.lib.maintainers; [ viric ]; + license = licenses.gpl2; + maintainers = with maintainers; [ viric ]; + platforms = platforms.linux; }; } From ec1118cbb93268c807dfee24b51b0f77667b176a Mon Sep 17 00:00:00 2001 From: Siarhei Zirukin Date: Thu, 25 Sep 2014 11:59:16 +0200 Subject: [PATCH 03/29] androidndk: fix make-standalone-toolchain.sh helper script The script does a copy of a toolchain and then rearranges files a bit. The problem is that these files have the same permissions (read-only) as installed ones. The patch fixes the problem by changing permissions of the copy before doing anything else. --- pkgs/development/mobile/androidenv/androidndk.nix | 4 ++++ .../androidenv/make-standalone-toolchain.patch | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/development/mobile/androidenv/make-standalone-toolchain.patch diff --git a/pkgs/development/mobile/androidenv/androidndk.nix b/pkgs/development/mobile/androidenv/androidndk.nix index cbcff8178e32..2b3bb3339481 100644 --- a/pkgs/development/mobile/androidenv/androidndk.nix +++ b/pkgs/development/mobile/androidenv/androidndk.nix @@ -22,6 +22,10 @@ stdenv.mkDerivation rec { mkdir -pv $out tar xf $src mv */* $out + + # so that it doesn't fail because of read-only permissions set + patch -p1 -d $out < ${ ./make-standalone-toolchain.patch } + find $out \( \ \( -type f -a -name "*.so*" \) -o \ \( -type f -a -perm +0100 \) \ diff --git a/pkgs/development/mobile/androidenv/make-standalone-toolchain.patch b/pkgs/development/mobile/androidenv/make-standalone-toolchain.patch new file mode 100644 index 000000000000..afc3470aaba1 --- /dev/null +++ b/pkgs/development/mobile/androidenv/make-standalone-toolchain.patch @@ -0,0 +1,13 @@ +diff -ru android-ndk-r9d.old/build/tools/make-standalone-toolchain.sh android-ndk-r9d/build/tools/make-standalone-toolchain.sh +--- android-ndk-r9d.old/build/tools/make-standalone-toolchain.sh 2014-09-25 11:42:09.990500975 +0200 ++++ android-ndk-r9d/build/tools/make-standalone-toolchain.sh 2014-09-25 11:43:06.097501636 +0200 +@@ -252,6 +252,9 @@ + # Now copy the GCC toolchain prebuilt binaries + run copy_directory "$TOOLCHAIN_PATH" "$TMPDIR" + ++# Making it writable again ++chmod -R +w "$TMPDIR" ++ + # Replace soft-link mcld by real file + ALL_LDS=`find $TMPDIR -name "*mcld"` + for LD in $ALL_LDS; do From 36f9b9c284342574ce178571195c313fc1874cca Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Mon, 15 Sep 2014 01:26:26 -0700 Subject: [PATCH 04/29] nixos/consul: Add module --- nixos/modules/module-list.nix | 1 + nixos/modules/services/networking/consul.nix | 166 +++++++++++++++++++ 2 files changed, 167 insertions(+) create mode 100644 nixos/modules/services/networking/consul.nix diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index ea87c48705ec..60d6c4ef6dbf 100755 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -213,6 +213,7 @@ ./services/networking/cjdns.nix ./services/networking/cntlm.nix ./services/networking/connman.nix + ./services/networking/consul.nix ./services/networking/ddclient.nix ./services/networking/dhcpcd.nix ./services/networking/dhcpd.nix diff --git a/nixos/modules/services/networking/consul.nix b/nixos/modules/services/networking/consul.nix new file mode 100644 index 000000000000..ebc836814089 --- /dev/null +++ b/nixos/modules/services/networking/consul.nix @@ -0,0 +1,166 @@ +{ config, lib, pkgs, utils, ... }: + +with lib; +let + + dataDir = "/var/lib/consul"; + cfg = config.services.consul; + + configOptions = { + data_dir = dataDir; + rejoin_after_leave = true; + } + // (if cfg.webUi then { ui_dir = "${pkgs.consul.ui}"; } else { }) + // cfg.extraConfig; + + configFiles = [ "/etc/consul.json" "/etc/consul-addrs.json" ] + ++ cfg.extraConfigFiles; + + devices = attrValues (filterAttrs (_: i: i != null) cfg.interface); + systemdDevices = flip map devices + (i: "sys-subsystem-net-devices-${utils.escapeSystemdPath i}.device"); +in +{ + options = { + + services.consul = { + + enable = mkOption { + type = types.bool; + default = false; + description = '' + Enables the consul daemon. + ''; + }; + + webUi = mkOption { + type = types.bool; + default = false; + description = '' + Enables the web interface on the consul http port. + ''; + }; + + interface = { + + advertise = mkOption { + type = types.nullOr types.str; + default = null; + description = '' + The name of the interface to pull the advertise_addr from. + ''; + }; + + bind = mkOption { + type = types.nullOr types.str; + default = null; + description = '' + The name of the interface to pull the bind_addr from. + ''; + }; + + }; + + forceIpv4 = mkOption { + type = types.bool; + default = false; + description = '' + Whether we should force the interfaces to only pull ipv4 addresses. + ''; + }; + + dropPrivileges = mkOption { + type = types.bool; + default = true; + description = '' + Whether the consul agent should be run as a non-root consul user. + ''; + }; + + extraConfig = mkOption { + default = { }; + description = '' + Extra configuration options which are serialized to json and added + to the config.json file. + ''; + }; + + extraConfigFiles = mkOption { + default = [ ]; + type = types.listOf types.str; + description = '' + Additional configuration files to pass to consul + NOTE: These will not trigger the service to be restarted when altered. + ''; + }; + + }; + + }; + + config = mkIf cfg.enable { + + users.extraUsers."consul" = { + description = "Consul agent daemon user"; + uid = config.ids.uids.consul; + }; + + environment = { + etc."consul.json".text = builtins.toJSON configOptions; + systemPackages = with pkgs; [ consul ]; + }; + + systemd.services.consul = { + wantedBy = [ "multi-user.target" ]; + after = [ "network.target" ] ++ systemdDevices; + bindsTo = systemdDevices; + restartTriggers = [ config.environment.etc."consul.json".source ]; + + serviceConfig = { + ExecStart = "@${pkgs.consul}/bin/consul consul agent" + + concatMapStrings (n: " -config-file ${n}") configFiles; + ExecStop = "${pkgs.consul}/bin/consul leave"; + ExecReload = "${pkgs.consul}/bin/consul reload"; + PermissionsStartOnly = true; + User = if cfg.dropPrivileges then "consul" else null; + }; + + path = with pkgs; [ iproute gnugrep gawk ]; + preStart = '' + mkdir -m 0700 -p ${dataDir} + chown -R consul ${dataDir} + + # Determine interface addresses + getAddrOnce () { + ip addr show dev "$1" \ + | grep 'inet${optionalString (cfg.forceIpv4) " "}.*scope global' \ + | awk -F '[ /\t]*' '{print $3}' | head -n 1 + } + getAddr () { + ADDR="$(getAddrOnce $1)" + LEFT=60 # Die after 1 minute + while [ -z "$ADDR" ]; do + sleep 1 + LEFT=$(expr $LEFT - 1) + if [ "$LEFT" -eq "0" ]; then + echo "Address lookup timed out" + exit 1 + fi + ADDR="$(getAddrOnce $1)" + done + echo "$ADDR" + } + echo "{" > /etc/consul-addrs.json + '' + + concatStrings (flip mapAttrsToList cfg.interface (name: i: + optionalString (i != null) '' + echo " \"${name}_addr\": \"$(getAddr "${i}")\"," >> /etc/consul-addrs.json + '')) + + '' + echo " \"\": \"\"" >> /etc/consul-addrs.json + echo "}" >> /etc/consul-addrs.json + ''; + }; + + }; +} From 428fdc879fbf629b2aac54482030ad2152786bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Tue, 23 Sep 2014 18:24:00 +0200 Subject: [PATCH 05/29] pypy: 2.3 -> 2.4 --- pkgs/development/interpreters/pypy/{2.3 => 2.4}/default.nix | 6 +++--- .../interpreters/pypy/{2.3 => 2.4}/setup-hook.sh | 2 +- pkgs/top-level/all-packages.nix | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) rename pkgs/development/interpreters/pypy/{2.3 => 2.4}/default.nix (97%) rename pkgs/development/interpreters/pypy/{2.3 => 2.4}/setup-hook.sh (94%) diff --git a/pkgs/development/interpreters/pypy/2.3/default.nix b/pkgs/development/interpreters/pypy/2.4/default.nix similarity index 97% rename from pkgs/development/interpreters/pypy/2.3/default.nix rename to pkgs/development/interpreters/pypy/2.4/default.nix index 0b3ca7390920..9cc19a220597 100644 --- a/pkgs/development/interpreters/pypy/2.3/default.nix +++ b/pkgs/development/interpreters/pypy/2.4/default.nix @@ -6,8 +6,8 @@ assert zlibSupport -> zlib != null; let - majorVersion = "2.3"; - version = "${majorVersion}.1"; + majorVersion = "2.4"; + version = "${majorVersion}.0"; pythonVersion = "2.7"; libPrefix = "pypy${majorVersion}"; @@ -18,7 +18,7 @@ let src = fetchurl { url = "https://bitbucket.org/pypy/pypy/get/release-${version}.tar.bz2"; - sha256 = "0fg4l48c7n59n5j3b1dgcsr927xzylkfny4a6pnk6z0pq2bhvl9z"; + sha256 = "1lhk86clnkj305dxa6xr9wjib6ckf6xxl6qj0bq20vqh80nfq3by"; }; buildInputs = [ bzip2 openssl pkgconfig pythonFull libffi ncurses expat sqlite tk tcl x11 libX11 makeWrapper ] diff --git a/pkgs/development/interpreters/pypy/2.3/setup-hook.sh b/pkgs/development/interpreters/pypy/2.4/setup-hook.sh similarity index 94% rename from pkgs/development/interpreters/pypy/2.3/setup-hook.sh rename to pkgs/development/interpreters/pypy/2.4/setup-hook.sh index 67c71bf00811..028ffb5a45eb 100644 --- a/pkgs/development/interpreters/pypy/2.3/setup-hook.sh +++ b/pkgs/development/interpreters/pypy/2.4/setup-hook.sh @@ -1,5 +1,5 @@ addPythonPath() { - addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/pypy2.3/site-packages + addToSearchPathWithCustomDelimiter : PYTHONPATH $1/lib/pypy2.4/site-packages } toPythonPath() { diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 30b36103bfbc..660098cce1f3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3878,7 +3878,7 @@ let python33 = callPackage ../development/interpreters/python/3.3 { }; python34 = hiPrio (callPackage ../development/interpreters/python/3.4 { }); - pypy = callPackage ../development/interpreters/pypy/2.3 { }; + pypy = callPackage ../development/interpreters/pypy/2.4 { }; python26Full = callPackage ../development/interpreters/python/wrapper.nix { extraLibs = []; From 3aefa63c75d28a016ee03ae7adc1e5e8d1576e76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 26 Sep 2014 10:30:50 +0200 Subject: [PATCH 06/29] pypy: pytest syntax change --- pkgs/development/interpreters/pypy/2.4/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/pypy/2.4/default.nix b/pkgs/development/interpreters/pypy/2.4/default.nix index 9cc19a220597..4f4b8869a40c 100644 --- a/pkgs/development/interpreters/pypy/2.4/default.nix +++ b/pkgs/development/interpreters/pypy/2.4/default.nix @@ -70,7 +70,7 @@ let # disable sqlite3 due to https://bugs.pypy.org/issue1740 # disable test_multiprocessing due to transient errors # disable test_os because test_urandom_failure fails - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -k '-test_sqlite -test_socket -test_os -test_shutil -test_mhlib -test_multiprocessing' lib-python + ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -k 'not (test_sqlite or test_socket or test_os or test_shutil or test_mhlib or test_multiprocessing)' lib-python ''; installPhase = '' From 4fa05bdc6fbb9d087fce1b32c2e422f2c5391e8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 26 Sep 2014 14:58:37 +0200 Subject: [PATCH 07/29] pypy: disable test_urllib2net and test_urllibnet --- pkgs/development/interpreters/pypy/2.4/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/pypy/2.4/default.nix b/pkgs/development/interpreters/pypy/2.4/default.nix index 4f4b8869a40c..8f9647c21342 100644 --- a/pkgs/development/interpreters/pypy/2.4/default.nix +++ b/pkgs/development/interpreters/pypy/2.4/default.nix @@ -70,7 +70,8 @@ let # disable sqlite3 due to https://bugs.pypy.org/issue1740 # disable test_multiprocessing due to transient errors # disable test_os because test_urandom_failure fails - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -k 'not (test_sqlite or test_socket or test_os or test_shutil or test_mhlib or test_multiprocessing)' lib-python + # disable test_urllib2net and test_urllibnet because it requires networking (example.com) + ./pypy-c ./pypy/test_all.py --pypy=./pypy-c -k 'not (test_sqlite or test_urllib2net or test_urllibnet or test_socket or test_os or test_shutil or test_mhlib or test_multiprocessing)' lib-python ''; installPhase = '' From 26303fd6c8cb48e4ab98549220a59016983d2618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 26 Sep 2014 18:11:38 +0200 Subject: [PATCH 08/29] pypyPackages.area53: use stable release --- pkgs/top-level/python-packages.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 665486502d6b..2930474444c5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -433,12 +433,11 @@ let area53 = buildPythonPackage (rec { - name = "area53-b2c9cdcabd"; + name = "Area53-0.94"; - src = fetchgit { - url = git://github.com/bigmlcom/Area53.git; - rev = "b2c9cdcabd"; - sha256 = "b0c12b8c48ed9180c7475fab18de50d63e1b517cfb46da4d2c66fc406fe902bc"; + src = fetchurl { + url = "https://pypi.python.org/packages/source/A/Area53/${name}.tar.gz"; + sha256 = "0v9b7f8b6v21y410anx5sr52k2ac8jrzdf19q6m6p0zsdsf9vr42"; }; # error: invalid command 'test' From 744c1974d01fcbba452ec920d637336574fd5d45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 26 Sep 2014 18:11:51 +0200 Subject: [PATCH 09/29] pypyPackages.flask: disable tests due to failures --- pkgs/top-level/python-packages.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2930474444c5..14deb2f7571c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3521,6 +3521,8 @@ let flask = buildPythonPackage { name = "flask-0.10.1"; + doCheck = !isPyPy; # https://github.com/mitsuhiko/werkzeug/issues/604 + src = fetchurl { url = "http://pypi.python.org/packages/source/F/Flask/Flask-0.10.1.tar.gz"; md5 = "378670fe456957eb3c27ddaef60b2b24"; From c4750f6f2e30a4a315ad0c8ca2c45565d75a6482 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 26 Sep 2014 18:22:25 +0200 Subject: [PATCH 10/29] pypyPackages.werkzeug: 0.9.4 -> 0.9.6 --- pkgs/top-level/python-packages.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 14deb2f7571c..55201743de9c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3521,8 +3521,6 @@ let flask = buildPythonPackage { name = "flask-0.10.1"; - doCheck = !isPyPy; # https://github.com/mitsuhiko/werkzeug/issues/604 - src = fetchurl { url = "http://pypi.python.org/packages/source/F/Flask/Flask-0.10.1.tar.gz"; md5 = "378670fe456957eb3c27ddaef60b2b24"; @@ -9277,12 +9275,12 @@ let }; - werkzeug = buildPythonPackage { - name = "werkzeug-0.9.4"; + werkzeug = buildPythonPackage rec { + name = "Werkzeug-0.9.6"; src = fetchurl { - url = "http://pypi.python.org/packages/source/W/Werkzeug/Werkzeug-0.9.4.tar.gz"; - md5 = "670fad41f57c13b71a6816765765a3dd"; + url = "http://pypi.python.org/packages/source/W/Werkzeug/${name}.tar.gz"; + md5 = "f7afcadc03b0f2267bdc156c34586043"; }; propagatedBuildInputs = [ itsdangerous ]; From 655ae3381662acdeed6a264084397b4dae11ea38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edward=20Tj=C3=B6rnhammar?= Date: Fri, 26 Sep 2014 18:32:14 +0200 Subject: [PATCH 11/29] libretro.ppsspp: Fixes building on i686 --- pkgs/misc/emulators/retroarch/cores.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/misc/emulators/retroarch/cores.nix b/pkgs/misc/emulators/retroarch/cores.nix index 9296b0d932df..a8b74959d90e 100644 --- a/pkgs/misc/emulators/retroarch/cores.nix +++ b/pkgs/misc/emulators/retroarch/cores.nix @@ -1,6 +1,5 @@ -{ stdenv, fetchgit, pkgconfig, makeWrapper, python27 -, retroarch, fluidsynth, mesa, SDL, libav, libpng, libjpeg, libvorbis -, zlib }: +{ stdenv, fetchgit, pkgconfig, makeWrapper, python27, retroarch +, fluidsynth, mesa, SDL, ffmpeg, libpng, libjpeg, libvorbis, zlib }: let @@ -179,7 +178,7 @@ in }; description = "ppsspp libretro port"; - extraBuildInputs = [ mesa libav ]; + extraBuildInputs = [ mesa ffmpeg ]; }).override{ buildPhase = "cd libretro && make"; }; From 8723b91cc7df57dcc91d60d17a37b09b6806f2d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Fri, 26 Sep 2014 18:49:32 +0200 Subject: [PATCH 12/29] pythonPackages.nose: 1.3.3 -> 1.3.4 --- pkgs/top-level/python-packages.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 55201743de9c..673bfb1fa9ed 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5246,12 +5246,12 @@ let }); nose = buildPythonPackage rec { - version = "1.3.3"; + version = "1.3.4"; name = "nose-${version}"; src = fetchurl { url = "http://pypi.python.org/packages/source/n/nose/${name}.tar.gz"; - sha256 = "09h3a74hzw1cfx4ic19ibxq8kg6sl1n64px2mmb57f5yd3r2y35l"; + sha256 = "00qymfgwg4iam4xi0w9bnv7lcb3fypq1hzfafzgs1rfmwaj67g3n"; }; buildInputs = [ coverage ]; From ae78f740fcedfa1b95cf6e66c295602f0c0f3514 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Fri, 26 Sep 2014 19:30:08 +0200 Subject: [PATCH 13/29] dwb: update to latest revision --- pkgs/applications/networking/browsers/dwb/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/browsers/dwb/default.nix b/pkgs/applications/networking/browsers/dwb/default.nix index ecb57d6fe6ca..73f8be7d93dc 100644 --- a/pkgs/applications/networking/browsers/dwb/default.nix +++ b/pkgs/applications/networking/browsers/dwb/default.nix @@ -2,12 +2,12 @@ m4, glib_networking, gsettings_desktop_schemas, dconf }: stdenv.mkDerivation { - name = "dwb-2014-07-03"; + name = "dwb-2014-09-20"; src = fetchgit { url = "https://bitbucket.org/portix/dwb.git"; - rev = "6224470489eb5ba92987e01396269f8b7cd78ada"; - sha256 = "04p9frsnh1qz067cw36anvr41an789fba839svdjrdva0f2751g8"; + rev = "6a0e483533021157fa83ce7533c1b25c71254f00"; + sha256 = "0l8ryz4aqcw6ax6w7y22yl9bh8fs3gxnlppbas1jq7q7hjk1qs31"; }; buildInputs = [ pkgconfig makeWrapper gsettings_desktop_schemas libsoup webkitgtk2 gtk2 gnutls json_c m4 ]; From e28f8e5cca9d7886e42c7c95bcab7f51b7d0c961 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Fri, 26 Sep 2014 20:08:15 +0200 Subject: [PATCH 14/29] calibre: update from 2.3.0 to 2.4.0 --- pkgs/applications/misc/calibre/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/misc/calibre/default.nix b/pkgs/applications/misc/calibre/default.nix index 1426fb8e3d71..3880ba0165e9 100644 --- a/pkgs/applications/misc/calibre/default.nix +++ b/pkgs/applications/misc/calibre/default.nix @@ -5,11 +5,11 @@ }: stdenv.mkDerivation rec { - name = "calibre-2.3.0"; + name = "calibre-2.4.0"; src = fetchurl { url = "mirror://sourceforge/calibre/${name}.tar.xz"; - sha256 = "13ny8d569hl7yv8m89216fmg0qdqqy6l9vgzf3cmbbb8i3l1lpxf"; + sha256 = "0rgfq7178mlaf6scpm1zvn2vsfls55rdb8apwbmskmnw5wk1q6hq"; }; inherit python; From 25e726b28397a09bae2574cf13a38b269250a0c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Fri, 26 Sep 2014 20:06:49 +0200 Subject: [PATCH 15/29] pypy: fix copy-paste error in setup-hook Introduced in 428fdc879fbf629b2aac54482030ad2152786bca ("pypy: 2.3 -> 2.4"). --- pkgs/development/interpreters/pypy/2.4/setup-hook.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/pypy/2.4/setup-hook.sh b/pkgs/development/interpreters/pypy/2.4/setup-hook.sh index 028ffb5a45eb..4cf7247fb9e7 100644 --- a/pkgs/development/interpreters/pypy/2.4/setup-hook.sh +++ b/pkgs/development/interpreters/pypy/2.4/setup-hook.sh @@ -6,7 +6,7 @@ toPythonPath() { local paths="$1" local result= for i in $paths; do - p="$i/lib/pypy2.3/site-packages" + p="$i/lib/pypy2.4/site-packages" result="${result}${result:+:}$p" done echo $result From a4f7660f7aa47a756afef970edebea193f628db1 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Fri, 26 Sep 2014 22:00:06 +0200 Subject: [PATCH 16/29] keynav: update from 0.20101014.3067 to 0.20110708.0 --- pkgs/tools/X11/keynav/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/X11/keynav/default.nix b/pkgs/tools/X11/keynav/default.nix index 1f590fec69c1..0b41e05e3f21 100644 --- a/pkgs/tools/X11/keynav/default.nix +++ b/pkgs/tools/X11/keynav/default.nix @@ -2,11 +2,11 @@ , libXinerama, glib, cairo, xdotool }: stdenv.mkDerivation rec { - name = "keynav-0.20101014.3067"; + name = "keynav-0.20110708.0"; src = fetchurl { url = "https://semicomplete.googlecode.com/files/${name}.tar.gz"; - sha256 = "05jpq17xqccv97mrqq2rgm4jwq4s8lkyq49rfaq7sz4gbnq1832k"; + sha256 = "1gizjhji3yspxxxvb90js3z1bv18rbf5phxg8rciixpj3cccff8z"; }; buildInputs = [ pkgconfig libX11 xextproto libXtst libXi libXext libXinerama From 239760ab981afde475ac5659d25f399646c568bc Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Fri, 26 Sep 2014 22:26:32 +0200 Subject: [PATCH 17/29] abiword: update from 2.8.6 to 3.0.0 and adopt it --- pkgs/applications/office/abiword/default.nix | 29 ++++++++------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/pkgs/applications/office/abiword/default.nix b/pkgs/applications/office/abiword/default.nix index d9b3627507eb..43b8f1f01157 100644 --- a/pkgs/applications/office/abiword/default.nix +++ b/pkgs/applications/office/abiword/default.nix @@ -1,30 +1,22 @@ -{ stdenv, fetchurl, pkgconfig, gtk, libglade, libgnomecanvas, fribidi -, libpng, popt, libgsf, enchant, wv, librsvg, bzip2, libjpeg +{ stdenv, fetchurl, pkgconfig, gtk3, libglade, libgnomecanvas, fribidi +, libpng, popt, libgsf, enchant, wv, librsvg, bzip2, libjpeg, perl +, boost, libxslt }: -stdenv.mkDerivation { - name = "abiword-2.8.6"; +stdenv.mkDerivation rec { + name = "abiword-${version}"; + version = "3.0.0"; src = fetchurl { - url = http://www.abisource.org/downloads/abiword/2.8.6/source/abiword-2.8.6.tar.gz; - sha256 = "059sd2apxdmcacc4pll880i7vm18h0kyjsq299m1mz3c7ak8k46r"; + url = "http://www.abisource.org/downloads/abiword/${version}/source/${name}.tar.gz"; + sha256 = "00dc3w48k2z3l1hh5b0jhzfrskqxic4lp6g7w19v6kpz02632zni"; }; - prePatch = '' - sed -i -e '/#include /d' src/af/util/xp/ut_go_file.h - sed -i -e 's|#include |#include |' \ - goffice-bits/goffice/app/goffice-app.h - sed -i -e 's/ptr->jmpbuf/jmpbuf(png_ptr)/' src/af/util/xp/ut_png.cpp - sed -i -e 's/\(m_pPNG\)->\(jmpbuf\)/png_\2(\1)/' \ - src/wp/impexp/gtk/ie_impGraphic_GdkPixbuf.cpp - sed -i -e 's/--no-undefined //' src/Makefile* - ''; - enableParallelBuilding = true; buildInputs = - [ pkgconfig gtk libglade librsvg bzip2 libgnomecanvas fribidi libpng popt - libgsf enchant wv libjpeg + [ pkgconfig gtk3 libglade librsvg bzip2 libgnomecanvas fribidi libpng popt + libgsf enchant wv libjpeg perl boost libxslt ]; meta = with stdenv.lib; { @@ -32,5 +24,6 @@ stdenv.mkDerivation { homepage = http://www.abisource.com/; license = licenses.gpl3; platforms = platforms.linux; + maintainers = with maintainers; [ pSub ]; }; } From d156824f4811d9ae2fe6b9d64c1618f0461048e8 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Fri, 26 Sep 2014 23:18:57 +0200 Subject: [PATCH 18/29] geeqie: update from 1.1 to 1.2 and adopt it --- pkgs/applications/graphics/geeqie/default.nix | 30 ++++++++----------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/pkgs/applications/graphics/geeqie/default.nix b/pkgs/applications/graphics/geeqie/default.nix index de906e3d8443..6636d5fc9ecb 100644 --- a/pkgs/applications/graphics/geeqie/default.nix +++ b/pkgs/applications/graphics/geeqie/default.nix @@ -1,26 +1,22 @@ -{ stdenv, fetchurl, pkgconfig, gtk, libpng, exiv2, lcms -, intltool, gettext, libchamplain_0_6, fbida }: +{ stdenv, fetchurl, pkgconfig, autoconf, automake, gtk, libpng, exiv2, lcms +, intltool, gettext, libchamplain, fbida }: stdenv.mkDerivation rec { - name = "geeqie-1.1"; + name = "geeqie-${version}"; + version = "1.2"; src = fetchurl { - url = "mirror://sourceforge/geeqie/${name}.tar.gz"; - sha256 = "1kzy39z9505xkayyx7rjj2wda76xy3ch1s5z35zn8yli54ffhi2m"; + url = "https://gitorious.org/geeqie/geeqie/archive/v${version}.tar.gz"; + sha256 = "13sgf20h0z8dz1075vmyh8vbxgchq30cqrl15zfv9h8hp271vpfj"; }; - preConfigure = - # XXX: Trick to have Geeqie use the version we have. - '' sed -i "configure" \ - -e 's/champlain-0.4/champlain-0.6/g ; - s/champlain-gtk-0.4/champlain-gtk-0.6/g' - ''; + preConfigure = "./autogen.sh"; configureFlags = [ "--enable-gps" ]; buildInputs = - [ pkgconfig gtk libpng exiv2 lcms intltool gettext - libchamplain_0_6 + [ pkgconfig autoconf automake gtk libpng exiv2 lcms intltool gettext + libchamplain ]; postInstall = @@ -31,7 +27,7 @@ stdenv.mkDerivation rec { -e '1 a export PATH=${exiv2}/bin:${fbida}/bin:$PATH' ''; - meta = { + meta = with stdenv.lib; { description = "Lightweight GTK+ based image viewer"; longDescription = @@ -45,11 +41,11 @@ stdenv.mkDerivation rec { initially based on GQview. ''; - license = stdenv.lib.licenses.gpl2Plus; + license = licenses.gpl2Plus; homepage = http://geeqie.sourceforge.net; - maintainers = [ ]; - platforms = stdenv.lib.platforms.gnu; + maintainers = with maintainers; [ pSub ]; + platforms = platforms.gnu; }; } From 3940aecc0d5e617891abaf1565aef345e6f8f0a5 Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Fri, 26 Sep 2014 23:22:25 +0200 Subject: [PATCH 19/29] remove unused library libchamplain-0.6 --- .../libraries/libchamplain/0.6.nix | 37 ------------------- pkgs/top-level/all-packages.nix | 2 - 2 files changed, 39 deletions(-) delete mode 100644 pkgs/development/libraries/libchamplain/0.6.nix diff --git a/pkgs/development/libraries/libchamplain/0.6.nix b/pkgs/development/libraries/libchamplain/0.6.nix deleted file mode 100644 index a2b35a726518..000000000000 --- a/pkgs/development/libraries/libchamplain/0.6.nix +++ /dev/null @@ -1,37 +0,0 @@ -{ fetchurl, stdenv, pkgconfig, glib, gtk, cairo, clutter, sqlite -, clutter_gtk_0_10, libsoup /*, libmenphis */ }: - -stdenv.mkDerivation rec { - name = "libchamplain-0.6.1"; - - src = fetchurl { - url = "mirror://gnome/sources/libchamplain/0.6/${name}.tar.gz"; - sha256 = "1l1in4khnral157j46aq2d26nviz23icnm353587vcwjhdbw86sg"; - }; - - buildInputs = [ pkgconfig ]; - - # These all appear in `champlain{,-gtk}-0.6.pc'. - propagatedBuildInputs = - [ glib gtk cairo clutter clutter_gtk_0_10 sqlite libsoup ]; - - configureFlags = [ "--disable-introspection" ]; # not needed anywhere AFAIK - - meta = { - homepage = http://projects.gnome.org/libchamplain/; - license = stdenv.lib.licenses.lgpl2Plus; - - description = "libchamplain, a C library providing a ClutterActor to display maps"; - - longDescription = - '' libchamplain is a C library providing a ClutterActor to display - maps. It also provides a Gtk+ widget to display maps in Gtk+ - applications. Python and Perl bindings are also available. It - supports numerous free map sources such as OpenStreetMap, - OpenCycleMap, OpenAerialMap, and Maps for free. - ''; - - maintainers = [ ]; - platforms = stdenv.lib.platforms.gnu; # arbitrary choice - }; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 660098cce1f3..6dd36592544b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5378,8 +5378,6 @@ let inherit (gnome) libsoup; }; - libchamplain_0_6 = callPackage ../development/libraries/libchamplain/0.6.nix {}; - libchardet = callPackage ../development/libraries/libchardet { }; libchop = callPackage ../development/libraries/libchop { }; From d346a9cc079f5d0441795504ccfd87db1fc2d89a Mon Sep 17 00:00:00 2001 From: Pascal Wittmann Date: Fri, 26 Sep 2014 23:44:29 +0200 Subject: [PATCH 20/29] fixed some meta.maintainers attributes --- pkgs/applications/gis/saga/default.nix | 2 +- pkgs/applications/misc/vym/default.nix | 2 +- pkgs/applications/window-managers/trayer/default.nix | 2 +- pkgs/development/interpreters/self/default.nix | 2 +- pkgs/development/libraries/LASzip/default.nix | 2 +- pkgs/development/libraries/libmpeg2/default.nix | 2 +- pkgs/misc/screensavers/alock/default.nix | 2 +- pkgs/tools/filesystems/bashmount/default.nix | 2 +- pkgs/tools/misc/binwalk/default.nix | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pkgs/applications/gis/saga/default.nix b/pkgs/applications/gis/saga/default.nix index f7ff583a2f27..a990e19dbc3f 100644 --- a/pkgs/applications/gis/saga/default.nix +++ b/pkgs/applications/gis/saga/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { description = "SAGA - System for Automated Geoscientific Analyses"; homepage = http://www.saga-gis.org; license = stdenv.lib.licenses.gpl2Plus; - maintainer = stdenv.lib.maintainers.michelk; + maintainers = [ stdenv.lib.maintainers.michelk ]; platforms = with stdenv.lib.platforms; linux; broken = true; }; diff --git a/pkgs/applications/misc/vym/default.nix b/pkgs/applications/misc/vym/default.nix index f53d3012b1e6..b1cfbd5d9ac4 100644 --- a/pkgs/applications/misc/vym/default.nix +++ b/pkgs/applications/misc/vym/default.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { ''; homepage = http://www.insilmaril.de/vym/; license = licenses.gpl2; - maintainer = [ maintainers.AndersonTorres ]; + maintainers = [ maintainers.AndersonTorres ]; platforms = platforms.linux; }; } diff --git a/pkgs/applications/window-managers/trayer/default.nix b/pkgs/applications/window-managers/trayer/default.nix index 43a1d2b8e79a..b7f1d9adad12 100644 --- a/pkgs/applications/window-managers/trayer/default.nix +++ b/pkgs/applications/window-managers/trayer/default.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation rec { license = licenses.mit; description = "A lightweight GTK2-based systray for UNIX desktop"; platforms = platforms.linux; - maintainer = with maintainers; [ pSub ]; + maintainers = with maintainers; [ pSub ]; }; } diff --git a/pkgs/development/interpreters/self/default.nix b/pkgs/development/interpreters/self/default.nix index 98e1edee3879..f53e42f0bdee 100644 --- a/pkgs/development/interpreters/self/default.nix +++ b/pkgs/development/interpreters/self/default.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation rec { description = "A prototype-based dynamic object-oriented programming language, environment, and virtual machine"; homepage = "http://selflanguage.org/"; license = stdenv.lib.licenses.bsd3; - maintainer = [ stdenv.lib.maintainers.doublec ]; + maintainers = [ stdenv.lib.maintainers.doublec ]; platforms = with stdenv.lib.platforms; linux; }; } diff --git a/pkgs/development/libraries/LASzip/default.nix b/pkgs/development/libraries/LASzip/default.nix index 50a82e41c808..df9d126ad719 100644 --- a/pkgs/development/libraries/LASzip/default.nix +++ b/pkgs/development/libraries/LASzip/default.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { description = "Turn quickly bulky LAS files into compact LAZ files without information loss"; homepage = http://www.laszip.org; license = stdenv.lib.licenses.lgpl2; - maintainer = stdenv.lib.maintainers.michelk; + maintainers = [ stdenv.lib.maintainers.michelk ]; platforms = stdenv.lib.platforms.linux; }; } diff --git a/pkgs/development/libraries/libmpeg2/default.nix b/pkgs/development/libraries/libmpeg2/default.nix index c20087008048..7ecac071ce40 100644 --- a/pkgs/development/libraries/libmpeg2/default.nix +++ b/pkgs/development/libraries/libmpeg2/default.nix @@ -13,6 +13,6 @@ stdenv.mkDerivation rec { homepage = http://libmpeg2.sourceforge.net/; description = "A free library for decoding mpeg-2 and mpeg-1 video streams"; license = stdenv.lib.licenses.gpl2; - maintainer = with stdenv.lib.maintainers; [ fuuzetsu ]; + maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; }; } diff --git a/pkgs/misc/screensavers/alock/default.nix b/pkgs/misc/screensavers/alock/default.nix index 2b8042ba9ab2..9db2fe45ed31 100644 --- a/pkgs/misc/screensavers/alock/default.nix +++ b/pkgs/misc/screensavers/alock/default.nix @@ -36,6 +36,6 @@ stdenv.mkDerivation rec { X session. ''; platforms = with stdenv.lib.platforms; allBut cygwin; - maintainers = stdenv.lib.maintainers.ftrvxmtrx; + maintainers = [ stdenv.lib.maintainers.ftrvxmtrx ]; }; } diff --git a/pkgs/tools/filesystems/bashmount/default.nix b/pkgs/tools/filesystems/bashmount/default.nix index 57bacfe6e887..579258f63f98 100644 --- a/pkgs/tools/filesystems/bashmount/default.nix +++ b/pkgs/tools/filesystems/bashmount/default.nix @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { homepage = https://github.com/jamielinux/bashmount; description = "A menu-driven bash script for the management of removable media with udisks"; - maintainers = maintainers.koral; + maintainers = [ maintainers.koral ]; platforms = platforms.all; }; } diff --git a/pkgs/tools/misc/binwalk/default.nix b/pkgs/tools/misc/binwalk/default.nix index d3972dadd341..761ae6169ebe 100644 --- a/pkgs/tools/misc/binwalk/default.nix +++ b/pkgs/tools/misc/binwalk/default.nix @@ -27,6 +27,6 @@ stdenv.mkDerivation rec { homepage = "http://binwalk.org"; description = "A tool for searching a given binary image for embedded files"; platforms = platforms.all; - maintainers = maintainers.koral; + maintainers = [ maintainers.koral ]; }; } From 859918d235f39747a4eed36192105b69bab216d6 Mon Sep 17 00:00:00 2001 From: Nathaniel Baxter Date: Sat, 27 Sep 2014 09:13:29 +1000 Subject: [PATCH 21/29] vlc: Add ffmpeg version 2.3.x for vlc. Vlc doesn't support libavcodec >= 56 yet, which means it needs an older version of ffmpeg. Closes #4286 --- pkgs/development/libraries/ffmpeg/2.3.x.nix | 108 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 6 +- 2 files changed, 113 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/libraries/ffmpeg/2.3.x.nix diff --git a/pkgs/development/libraries/ffmpeg/2.3.x.nix b/pkgs/development/libraries/ffmpeg/2.3.x.nix new file mode 100644 index 000000000000..8114eb4752d2 --- /dev/null +++ b/pkgs/development/libraries/ffmpeg/2.3.x.nix @@ -0,0 +1,108 @@ +{ stdenv, fetchurl, config, pkgconfig, yasm, zlib, bzip2, alsaLib, texinfo, perl +, lame, speex, libass, libtheora, libvorbis, libvpx, x264, xvidcore, libopus +, libvdpau, libva, faac, libdc1394, libXext, libXfixes, SDL +, freetype, fontconfig, fdk_aac, gnutls +}: + +stdenv.mkDerivation rec { + version = "2.3.3"; + name = "ffmpeg-${version}"; + + src = fetchurl { + url = "http://www.ffmpeg.org/releases/${name}.tar.bz2"; + sha256 = "0ik4c06anh49r5b0d3rq9if4zl6ysjsa341655kzw22fl880sk5v"; + }; + + subtitleSupport = config.ffmpeg.subtitle or true; + mp3Support = config.ffmpeg.mp3 or true; + speexSupport = config.ffmpeg.speex or true; + theoraSupport = config.ffmpeg.theora or true; + vorbisSupport = config.ffmpeg.vorbis or true; + vpxSupport = config.ffmpeg.vpx or true; + x264Support = config.ffmpeg.x264 or true; + xvidSupport = config.ffmpeg.xvid or true; + opusSupport = config.ffmpeg.opus or true; + vdpauSupport = config.ffmpeg.vdpau or true; + vaapiSupport = config.ffmpeg.vaapi or true; + faacSupport = config.ffmpeg.faac or false; + fdkAACSupport = config.ffmpeg.fdk or false; + dc1394Support = config.ffmpeg.dc1394 or false; + x11grabSupport = config.ffmpeg.x11grab or false; + playSupport = config.ffmpeg.play or true; + freetypeSupport = config.ffmpeg.freetype or true; + gnutlsSupport = config.ffmpeg.gnutls or true; + + # `--enable-gpl' (as well as the `postproc' and `swscale') mean that + # the resulting library is GPL'ed, so it can only be used in GPL'ed + # applications. + configureFlags = [ + "--enable-gpl" + "--enable-postproc" + "--enable-swscale" + "--enable-shared" + "--enable-avresample" + "--enable-runtime-cpudetect" + ] + ++ stdenv.lib.optional (!stdenv.isDarwin && subtitleSupport) "--enable-libass" + ++ stdenv.lib.optional mp3Support "--enable-libmp3lame" + ++ stdenv.lib.optional speexSupport "--enable-libspeex" + ++ stdenv.lib.optional theoraSupport "--enable-libtheora" + ++ stdenv.lib.optional vorbisSupport "--enable-libvorbis" + ++ stdenv.lib.optional vpxSupport "--enable-libvpx" + ++ stdenv.lib.optional x264Support "--enable-libx264" + ++ stdenv.lib.optional xvidSupport "--enable-libxvid" + ++ stdenv.lib.optional opusSupport "--enable-libopus" + ++ stdenv.lib.optional vdpauSupport "--enable-vdpau" + ++ stdenv.lib.optional faacSupport "--enable-libfaac --enable-nonfree" + ++ stdenv.lib.optional dc1394Support "--enable-libdc1394" + ++ stdenv.lib.optional x11grabSupport "--enable-x11grab" + ++ stdenv.lib.optional (!stdenv.isDarwin && playSupport) "--enable-ffplay" + ++ stdenv.lib.optional freetypeSupport "--enable-libfreetype --enable-fontconfig" + ++ stdenv.lib.optional fdkAACSupport "--enable-libfdk_aac --enable-nonfree" + ++ stdenv.lib.optional gnutlsSupport "--enable-gnutls"; + + buildInputs = [ pkgconfig lame yasm zlib bzip2 texinfo perl ] + ++ stdenv.lib.optional mp3Support lame + ++ stdenv.lib.optional speexSupport speex + ++ stdenv.lib.optional theoraSupport libtheora + ++ stdenv.lib.optional vorbisSupport libvorbis + ++ stdenv.lib.optional vpxSupport libvpx + ++ stdenv.lib.optional x264Support x264 + ++ stdenv.lib.optional xvidSupport xvidcore + ++ stdenv.lib.optional opusSupport libopus + ++ stdenv.lib.optional vdpauSupport libvdpau + ++ stdenv.lib.optional vaapiSupport libva + ++ stdenv.lib.optional faacSupport faac + ++ stdenv.lib.optional dc1394Support libdc1394 + ++ stdenv.lib.optionals x11grabSupport [ libXext libXfixes ] + ++ stdenv.lib.optional (!stdenv.isDarwin && playSupport) SDL + ++ stdenv.lib.optionals freetypeSupport [ freetype fontconfig ] + ++ stdenv.lib.optional fdkAACSupport fdk_aac + ++ stdenv.lib.optional gnutlsSupport gnutls + ++ stdenv.lib.optional (!stdenv.isDarwin && subtitleSupport) libass + ++ stdenv.lib.optional (!stdenv.isDarwin) alsaLib; + + enableParallelBuilding = true; + + crossAttrs = { + dontSetConfigureCross = true; + configureFlags = configureFlags ++ [ + "--cross-prefix=${stdenv.cross.config}-" + "--enable-cross-compile" + "--target_os=linux" + "--arch=${stdenv.cross.arch}" + ]; + }; + + passthru = { + inherit vdpauSupport; + }; + + meta = { + homepage = http://www.ffmpeg.org/; + description = "A complete, cross-platform solution to record, convert and stream audio and video"; + license = if (fdkAACSupport || faacSupport) then stdenv.lib.licenses.unfree else stdenv.lib.licenses.gpl2Plus; + platforms = stdenv.lib.platforms.linux; + maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6dd36592544b..3606ec56755a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4848,6 +4848,8 @@ let vpxSupport = !stdenv.isMips; }; + ffmpeg_2_3 = callPackage ../development/libraries/ffmpeg/2.3.x.nix { }; + ffmpeg_2 = callPackage ../development/libraries/ffmpeg/2.x.nix { }; ffmpeg = ffmpeg_2; @@ -10401,7 +10403,9 @@ let inherit (xlibs) libX11; }; - vlc = callPackage ../applications/video/vlc { }; + vlc = callPackage ../applications/video/vlc { + ffmpeg = ffmpeg_2_3; + }; vmpk = callPackage ../applications/audio/vmpk { }; From 5e4cf9212135796746862074b0e298487a4ec2ff Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 23 Sep 2014 01:33:59 +0100 Subject: [PATCH 22/29] ocamlnet: update 3.7.3 -> 3.7.6 Closes #4216 --- .../ocaml-modules/cryptokit/default.nix | 2 + .../ocaml-modules/ocamlnet/configure.patch | 63 ------------------- .../ocaml-modules/ocamlnet/default.nix | 8 +-- 3 files changed, 5 insertions(+), 68 deletions(-) delete mode 100644 pkgs/development/ocaml-modules/ocamlnet/configure.patch diff --git a/pkgs/development/ocaml-modules/cryptokit/default.nix b/pkgs/development/ocaml-modules/cryptokit/default.nix index 1f9e2b44e00c..cfb353bfe3e5 100644 --- a/pkgs/development/ocaml-modules/cryptokit/default.nix +++ b/pkgs/development/ocaml-modules/cryptokit/default.nix @@ -4,6 +4,8 @@ let ocaml_version = (builtins.parseDrvName ocaml.name).version; in +assert stdenv.lib.versionAtLeast ocaml_version "3.12"; + stdenv.mkDerivation { name = "cryptokit-1.9"; diff --git a/pkgs/development/ocaml-modules/ocamlnet/configure.patch b/pkgs/development/ocaml-modules/ocamlnet/configure.patch deleted file mode 100644 index 38b240f3c2c4..000000000000 --- a/pkgs/development/ocaml-modules/ocamlnet/configure.patch +++ /dev/null @@ -1,63 +0,0 @@ -diff -Naur ocamlnet-3.6.3.ori/configure ocamlnet-3.6.3/configure ---- ocamlnet-3.6.3.ori/configure 2013-01-14 00:04:59.000000000 +0000 -+++ ocamlnet-3.6.3/configure 2013-06-02 21:33:08.000000000 +0000 -@@ -642,59 +642,6 @@ - exit 1 - fi - -- printf "%s" "Checking whether lablgtk2 has GMain.Io.remove... " -- mkdir -p tmp -- cat <tmp/gtk.ml --let _ = GMain.Io.remove;; --EOF -- -- if ocamlfind ocamlc -package lablgtk2 -c tmp/gtk.ml >/dev/null 2>/dev/null; -- then -- echo "yes" -- else -- echo "no" -- echo "Your version of lablgtk2 is too old!" -- exit 1 -- fi -- -- printf "%s" "Checking whether lablgtk2 has GMain.Io.add_watch with list support... " -- mkdir -p tmp -- cat <<'EOF' >tmp/gtk.ml --open GMain.Io --let _ = (add_watch : cond:condition list -> callback:(condition list -> bool) -> ?prio:int -> channel -> id);; --exit 0 --EOF -- # Note: this newer API is never broken in the sense checked below, i.e. -- # such lablgtk2 versions do not exist. -- if ocamlfind ocamlc -package unix,lablgtk2 -linkpkg -o tmp/gtk tmp/gtk.ml >/dev/null 2>/dev/null && tmp/gtk; then -- echo "yes" -- gtk2_io_add_watch_supports_lists="-ppopt -DGTK2_IO_ADD_WATCH_SUPPORTS_LISTS" -- else -- echo "no" -- printf "%s" "Checking whether lablgtk2's GMain.Io.add_watch is broken... " -- mkdir -p tmp -- cat <<'EOF' >tmp/gtk.ml --GMain.Main.init();; --let ch = GMain.Io.channel_of_descr (Unix.stdout) in --let w = GMain.Io.add_watch -- ~cond:`OUT ~callback:(fun () -> true) ch in --(* add_watch is broken when it just returns Val_unit, and ok when it -- * returns a positive int -- *) --if (Obj.magic w : int) > 0 then -- exit 0 --else -- exit 1 --EOF -- if ocamlfind ocamlc -package unix,lablgtk2 -linkpkg -o tmp/gtk tmp/gtk.ml >/dev/null 2>/dev/null && tmp/gtk; then -- echo "no" -- else -- echo "yes" -- echo "You should apply the patch-ab-ml_glib.c to lablgtk2 to fix this!" -- exit 1 -- fi -- fi -- - for f in Makefile uq_gtk.ml uq_gtk.mli uq_gtk_helper.ml; do - rm -f src/equeue-gtk2/$f - ln -s ../equeue-gtk1/$f src/equeue-gtk2 diff --git a/pkgs/development/ocaml-modules/ocamlnet/default.nix b/pkgs/development/ocaml-modules/ocamlnet/default.nix index f1bf39a283d6..06e54a677334 100644 --- a/pkgs/development/ocaml-modules/ocamlnet/default.nix +++ b/pkgs/development/ocaml-modules/ocamlnet/default.nix @@ -5,19 +5,17 @@ let in stdenv.mkDerivation { - name = "ocamlnet-3.7.3"; + name = "ocamlnet-3.7.6"; src = fetchurl { - url = http://download.camlcity.org/download/ocamlnet-3.7.3.tar.gz; - sha256 = "0s24icyrxkqqai91rgxpf52s1fx70j7p12c8vq9vcmvdhll6kp2d"; + url = http://download.camlcity.org/download/ocamlnet-3.7.6.tar.gz; + sha256 = "0z17kxn1cyn1x5wgajw737m9rsjwji823rxdwvv8a5239xd1whji"; }; buildInputs = [ncurses ocaml findlib ocaml_pcre camlzip openssl ocaml_ssl cryptokit]; propagatedbuildInputs = [ncurses ocaml_pcre camlzip openssl ocaml_ssl cryptokit]; - patches = [ ./configure.patch ]; - createFindlibDestdir = true; dontAddPrefix = true; From 4d2a3933a48611ae3d6216db4b43ebeeb1800324 Mon Sep 17 00:00:00 2001 From: Mateusz Kowalczyk Date: Sat, 27 Sep 2014 02:35:54 +0100 Subject: [PATCH 23/29] agda-prelude: new package --- .../libraries/agda/agda-prelude/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/libraries/agda/agda-prelude/default.nix diff --git a/pkgs/development/libraries/agda/agda-prelude/default.nix b/pkgs/development/libraries/agda/agda-prelude/default.nix new file mode 100644 index 000000000000..9b67c5dbb5bb --- /dev/null +++ b/pkgs/development/libraries/agda/agda-prelude/default.nix @@ -0,0 +1,23 @@ +{ stdenv, agda, fetchgit }: + +agda.mkDerivation (self: rec { + version = "d598f35d88596c5a63766a7188a0c0144e467c8c"; + name = "agda-prelude-${version}"; + + src = fetchgit { + url = "https://github.com/UlfNorell/agda-prelude.git"; + rev = version; + sha256 = "bdcffb675d0ad1bafa2b47f581b6a9b90347ae739b6218f89f365fda2cc4f8c8"; + }; + + topSourceDirectories = [ "src" ]; + everythingFile = "src/Prelude.agda"; + + meta = with stdenv.lib; { + homepage = "https://github.com/UlfNorell/agda-prelude"; + description = "Programming library for Agda"; + license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.unix; + maintainers = with maintainers; [ fuuzetsu ]; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3606ec56755a..6be18fea575b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6789,6 +6789,8 @@ let inherit writeScriptBin; }; + agdaPrelude = callPackage ../development/libraries/agda/agda-prelude {}; + AgdaStdlib = callPackage ../development/compilers/agda/stdlib.nix { inherit (haskellPackages) ghc filemanip; }; From 4ed56b013fd3e85937c32c6ab305c512ec4bde10 Mon Sep 17 00:00:00 2001 From: Mateusz Kowalczyk Date: Sat, 27 Sep 2014 03:23:22 +0100 Subject: [PATCH 24/29] agda-TotalParserCombinators: new package --- .../agda/TotalParserCombinators/contextfile | 213 ++++++++++++++++++ .../agda/TotalParserCombinators/default.nix | 25 ++ pkgs/top-level/all-packages.nix | 2 + 3 files changed, 240 insertions(+) create mode 100644 pkgs/development/libraries/agda/TotalParserCombinators/contextfile create mode 100644 pkgs/development/libraries/agda/TotalParserCombinators/default.nix diff --git a/pkgs/development/libraries/agda/TotalParserCombinators/contextfile b/pkgs/development/libraries/agda/TotalParserCombinators/contextfile new file mode 100644 index 000000000000..1d211f397af9 --- /dev/null +++ b/pkgs/development/libraries/agda/TotalParserCombinators/contextfile @@ -0,0 +1,213 @@ + +Context: + +[Updated code to reflect changes to Agda. +Nils Anders Danielsson **20140425121055 + Ignore-this: 54d80fd647cb897eef85f57e9172f7db +] + +[Workaround for (possible) Agda bug. +Nils Anders Danielsson **20140228200347 + Ignore-this: b17884ad17a3bdb7faff678622365a8 +] + +[Updated code to reflect changes to library API. +Nils Anders Danielsson **20130307134644 + Ignore-this: 50d070a22a6796b9acdf19d44ba5de16 +] + +[Updated code to reflect changes to Agda and the library API. +Nils Anders Danielsson **20130228122951 + Ignore-this: 761dc4d85683a59cc3667a8706c88093 +] + +[Turned _◇_ into a constructor. +Nils Anders Danielsson **20120316125431 + Ignore-this: 41b492c3106a575f28f146253f78a5ae +] + +[Updated code to reflect changes to Agda. +Nils Anders Danielsson **20120316125416 + Ignore-this: e77d817d8b391c3b4806119d10848eb3 +] + +[Updated code to reflect changes to Agda. +Nils Anders Danielsson **20120215103344 + Ignore-this: 467716429d5553cd122722108ea82a08 +] + +[Modified a comment. +Nils Anders Danielsson **20120215103319 + Ignore-this: e57d4911f692f8a96a80017d910efc5f +] + +[Updated code to reflect change to library API. +Nils Anders Danielsson **20111006160229 + Ignore-this: 5359da54e7e6e0f92983fa3ecaccebf3 +] + +[Updated code to reflect changes to Agda and the library API. +Nils Anders Danielsson **20111003170117 + Ignore-this: cbdd35172e372779e12642985cf17268 +] + +[Rolled back addition of inversion lemmas. +Nils Anders Danielsson **20110930150912 + Ignore-this: 9c9b083f0afcf95aaaa55a01d871274e +] + +[Added inversion lemmas, implemented other lemmas using these lemmas. +Nils Anders Danielsson **20110930150842 + Ignore-this: 19b832c3f9e14d1e713b5911c094a130 + + This change was a response to a change to Agda's pattern matching + machinery. Subsequently the machinery was made more liberal again, + making this change unnecessary. +] + +[Updated code to reflect changes to library API. +Nils Anders Danielsson **20110517220158 + Ignore-this: ea9771a5014a25cb20afc2118638f8b5 +] + +[Updated code to reflect changes to Agda. +Nils Anders Danielsson **20110512124425 + Ignore-this: 97b154661679f574f6ab914583b14580 +] + +[Proved that many constructions preserve various preorders. +Nils Anders Danielsson **20110313012617 + Ignore-this: 8008efaff967c228448baa33b82edb81 +] + +[Updated code to reflect changes to library API. +Nils Anders Danielsson **20110313002106 + Ignore-this: 94799ba1ae411e59fd8c6c7eac3b8dfb +] + +[Simplified TotalRecognisers.LeftRecursion.MatchingParentheses. +Nils Anders Danielsson **20110118102159 + Ignore-this: 1e01a8092b0c0124979ffc5fe17a245c +] + +[Added TotalRecognisers.LeftRecursion.MatchingParentheses. +Nils Anders Danielsson **20110118102146 + Ignore-this: 13a3bc91425364e26c3047561655bb25 +] + +[Added a simplifying backend. +Nils Anders Danielsson **20101229012716 + Ignore-this: 9ac7ae21cd44c099633678a994fb9a3 +] + +[Fixed another "bug" in the deep simplifier. +Nils Anders Danielsson **20101229010854 + Ignore-this: e258adf963436ef715242db23c6808e + + Sometimes the first layer of bind's right-hand argument was not + simplified. +] + +[Made simplify₁ public and changed its type. +Nils Anders Danielsson **20101228235603 + Ignore-this: d39b8453a15089126261e098080223c6 +] + +[Deep simplification no longer adds casts. +Nils Anders Danielsson **20101228192850 + Ignore-this: 2ba016825adfa3a1e36922869eabfd39 +] + +[The first constructor in a simplified parser can no longer be a cast. +Nils Anders Danielsson **20101228175822 + Ignore-this: ce3e38cc0b9a096aa436655c9013ae97 +] + +[Modified the outline. +Nils Anders Danielsson **20101228173414 + Ignore-this: f8866e69f6d1a344e79fb6f708dfa4c +] + +[Added an example: a right recursive expression grammar. +Nils Anders Danielsson **20101228173159 + Ignore-this: 9a4d732b451cca08ba19aac5d115c678 +] + +[Rearranged the code. +Nils Anders Danielsson **20101228172209 + Ignore-this: 50fa29406d0f150669ff3feec4dbe513 +] + +[Renamed same-bag/set to (initial-bag-)cong. +Nils Anders Danielsson **20101228170706 + Ignore-this: dd3ce43d77dde74cc2428d2568dd2d30 +] + +[Added TotalParserCombinators.Force. +Nils Anders Danielsson **20101228153638 + Ignore-this: 3b6ff6ea20df0c1293494f06845d17eb +] + +[Proved that uses of subst can be erased. +Nils Anders Danielsson **20101228153621 + Ignore-this: f503ba495b923ae521718b6957167128 +] + +[The deep simplifier no longer skips layers. +Nils Anders Danielsson **20101228141138 + Ignore-this: 733a4a4a9aa0f890ad1740ecfc6a599f +] + +[Documented that the deep simplifier misses every second layer. +Nils Anders Danielsson **20101228121910 + Ignore-this: 8a0baf25b12f63f8748dbc1d16affacf +] + +[The simplifier now applies the token-bind rule more often. +Nils Anders Danielsson **20101227165413 + Ignore-this: 40132fa6f19602886bbe29aadd8a683c +] + +[Switched back to deep simplification, now with a proper proof. +Nils Anders Danielsson **20101227125434 + Ignore-this: ccc46e82f6f9c6c2a27ddb43d315f7dd +] + +[Simplified the soundness proof. +Nils Anders Danielsson **20101227123839 + Ignore-this: fb6826dd9836e34fc3bfdce2928ba13d +] + +[Made some _≈[_]P_ constructors conditionally coinductive. +Nils Anders Danielsson **20101227123827 + Ignore-this: f521f70475403697229051b62343a080 + + The structure of the soundness proof was also changed. +] + +[Unified And, AsymmetricChoice and Not. +Nils Anders Danielsson **20101225103109 + Ignore-this: 5ae8b80e1505fe6e707bb2307d22688c +] + +[Modified some comments. +Nils Anders Danielsson **20101225101051 + Ignore-this: e812d8c3e9720895c368f7a286f8315c +] + +[Modified a comment. +Nils Anders Danielsson **20101223202647 + Ignore-this: 16ea5dc01a4cbe0fe38714b2e4b7ff6 +] + +[Updated code to reflect changes to library API. +Nils Anders Danielsson **20101107162658 + Ignore-this: 9e38a10a9997c9825ece6ad9f871b673 +] + +[Added an alternative backend for TotalRecognisers.Simple. +Nils Anders Danielsson **20101020183743 + Ignore-this: a111a89e0c237e132b649561000f53d6 +] + +[TAG Code corresponding to the paper "Total Parser Combinators" (4). +Nils Anders Danielsson **20100928013815 + Ignore-this: 45ccc28373ed3974047315613eb14833 +] diff --git a/pkgs/development/libraries/agda/TotalParserCombinators/default.nix b/pkgs/development/libraries/agda/TotalParserCombinators/default.nix new file mode 100644 index 000000000000..6b0a63066b2f --- /dev/null +++ b/pkgs/development/libraries/agda/TotalParserCombinators/default.nix @@ -0,0 +1,25 @@ +{ stdenv, agda, fetchdarcs, AgdaStdlib }: + +agda.mkDerivation (self: rec { + version = "2014-09-27"; + name = "TotalParserCombinators-${version}"; + + src = fetchdarcs { + url = "http://www.cse.chalmers.se/~nad/repos/parser-combinators.code/"; + context = ./contextfile; + sha256 = "1rb8prqqp4dnz9s83ays7xfvpqs0n20vl1bg2zlg5si171j9rd4i"; + }; + + buildDepends = [ AgdaStdlib ]; + everythingFile = "TotalParserCombinators.agda"; + sourceDirectories = []; + topSourceDirectories = [ "../$sourceRoot" ]; + + meta = with stdenv.lib; { + homepage = "http://www.cse.chalmers.se/~nad/publications/danielsson-parser-combinators.html"; + description = "A monadic parser combinator library which guarantees termination of parsing"; + license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.unix; + maintainers = with maintainers; [ fuuzetsu ]; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6be18fea575b..ac8ab1830f8c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6801,6 +6801,8 @@ let categories = callPackage ../development/libraries/agda/categories {}; + TotalParserCombinators = callPackage ../development/libraries/agda/TotalParserCombinators {}; + ### DEVELOPMENT / LIBRARIES / JAVA atermjava = callPackage ../development/libraries/java/aterm { From d409ae809ab03770043e6328a71e038e4bab5cbe Mon Sep 17 00:00:00 2001 From: Mateusz Kowalczyk Date: Sat, 27 Sep 2014 03:30:30 +0100 Subject: [PATCH 25/29] agda-pretty: new package --- .../libraries/agda/pretty/contextfile | 7 ++++++ .../libraries/agda/pretty/default.nix | 25 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 34 insertions(+) create mode 100644 pkgs/development/libraries/agda/pretty/contextfile create mode 100644 pkgs/development/libraries/agda/pretty/default.nix diff --git a/pkgs/development/libraries/agda/pretty/contextfile b/pkgs/development/libraries/agda/pretty/contextfile new file mode 100644 index 000000000000..4ad31c2e7fab --- /dev/null +++ b/pkgs/development/libraries/agda/pretty/contextfile @@ -0,0 +1,7 @@ + +Context: + +[TAG Correct-by-Construction Pretty-Printing (2013-06-14) +Nils Anders Danielsson **20130614153155 + Ignore-this: a64ae32de9e22d60d64ef3da19847e00 +] diff --git a/pkgs/development/libraries/agda/pretty/default.nix b/pkgs/development/libraries/agda/pretty/default.nix new file mode 100644 index 000000000000..1bcb9f8459bc --- /dev/null +++ b/pkgs/development/libraries/agda/pretty/default.nix @@ -0,0 +1,25 @@ +{ stdenv, agda, fetchdarcs, AgdaStdlib }: + +agda.mkDerivation (self: rec { + version = "2014-09-27"; + name = "pretty-${version}"; + + src = fetchdarcs { + url = "http://www.cse.chalmers.se/~nad/repos/pretty/"; + context = ./contextfile; + sha256 = "067pv55r3wlchbgjpx3ha5hyzr29y6xsix0ywwgirm8njcc8nv16"; + }; + + buildDepends = [ AgdaStdlib ]; + everythingFile = "Pretty.agda"; + sourceDirectories = []; + topSourceDirectories = [ "../$sourceRoot" ]; + + meta = with stdenv.lib; { + homepage = "http://www.cse.chalmers.se/~nad/publications/danielsson-correct-pretty.html"; + description = "Correct-by-Construction Pretty-Printing"; + license = stdenv.lib.licenses.mit; + platforms = stdenv.lib.platforms.unix; + maintainers = with maintainers; [ fuuzetsu ]; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ac8ab1830f8c..020437bb41e0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6801,6 +6801,8 @@ let categories = callPackage ../development/libraries/agda/categories {}; + pretty = callPackage ../development/libraries/agda/pretty {}; + TotalParserCombinators = callPackage ../development/libraries/agda/TotalParserCombinators {}; ### DEVELOPMENT / LIBRARIES / JAVA From d8f2c32bcfedc69217039c16d82217f335f7b86d Mon Sep 17 00:00:00 2001 From: Mateusz Kowalczyk Date: Sat, 27 Sep 2014 04:25:26 +0100 Subject: [PATCH 26/29] agda-aaron-stump-stdlib: new package --- .../agda/aaron-stump-stdlib/default.nix | 26 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/libraries/agda/aaron-stump-stdlib/default.nix diff --git a/pkgs/development/libraries/agda/aaron-stump-stdlib/default.nix b/pkgs/development/libraries/agda/aaron-stump-stdlib/default.nix new file mode 100644 index 000000000000..5f4275a34e41 --- /dev/null +++ b/pkgs/development/libraries/agda/aaron-stump-stdlib/default.nix @@ -0,0 +1,26 @@ +{ stdenv, agda, fetchsvn }: + +agda.mkDerivation (self: rec { + version = "18437"; + name = "aaron-stump-stdlib-${version}"; + + src = fetchsvn { + url = "https://svn.divms.uiowa.edu/repos/clc/projects/agda/lib"; + rev = version; + sha256 = "1g6pwvrcir53ppf6wd8s62gizc3qy35mp229b66mh53abg4brik2"; + }; + + sourceDirectories = [ "./." ]; + buildPhase = '' + patchShebangs find-deps.sh + make + ''; + + meta = { + homepage = "https://svn.divms.uiowa.edu/repos/clc/projects/agda/lib/"; + description = "A standard library by Aaron Stump"; + license = stdenv.lib.licenses.free; + platforms = stdenv.lib.platforms.unix; + maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; + }; +}) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 020437bb41e0..3aececde9e53 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6782,6 +6782,8 @@ let ### DEVELOPMENT / LIBRARIES / AGDA + aaronStumpStdlib = callPackage ../development/libraries/agda/aaron-stump-stdlib {}; + agda = callPackage ../build-support/agda { glibcLocales = if pkgs.stdenv.isLinux then pkgs.glibcLocales else null; extension = self : super : {}; From 5861898fc2d8dcb7b38c4a1c4b588c2b92c7cb7e Mon Sep 17 00:00:00 2001 From: muflax Date: Sat, 27 Sep 2014 07:06:54 +0100 Subject: [PATCH 27/29] add jpeg support to mplayer and mplayer2 Closes #4288 --- pkgs/applications/video/mplayer/default.nix | 3 +++ pkgs/applications/video/mplayer2/default.nix | 3 +++ 2 files changed, 6 insertions(+) diff --git a/pkgs/applications/video/mplayer/default.nix b/pkgs/applications/video/mplayer/default.nix index 07bcb26569e9..dec3a5fc28da 100644 --- a/pkgs/applications/video/mplayer/default.nix +++ b/pkgs/applications/video/mplayer/default.nix @@ -21,6 +21,7 @@ , bs2bSupport ? false, libbs2b ? null # For screenshots , libpngSupport ? true, libpng ? null +, libjpegSupport ? true, libjpeg ? null , useUnfreeCodecs ? false }: @@ -46,6 +47,7 @@ assert jackaudioSupport -> jack2 != null; assert pulseSupport -> pulseaudio != null; assert bs2bSupport -> libbs2b != null; assert libpngSupport -> libpng != null; +assert libjpegSupport -> libjpeg != null; let @@ -121,6 +123,7 @@ stdenv.mkDerivation rec { ++ optional vdpauSupport libvdpau ++ optional speexSupport speex ++ optional libpngSupport libpng + ++ optional libjpegSupport libjpeg ++ optional bs2bSupport libbs2b ; diff --git a/pkgs/applications/video/mplayer2/default.nix b/pkgs/applications/video/mplayer2/default.nix index d8ada6372b10..a1e930d57d59 100644 --- a/pkgs/applications/video/mplayer2/default.nix +++ b/pkgs/applications/video/mplayer2/default.nix @@ -15,6 +15,7 @@ , bs2bSupport ? false, libbs2b ? null # For screenshots , libpngSupport ? true, libpng ? null +, libjpegSupport ? true, libjpeg ? null , useUnfreeCodecs ? false }: @@ -32,6 +33,7 @@ assert jackaudioSupport -> jack2 != null; assert pulseSupport -> pulseaudio != null; assert bs2bSupport -> libbs2b != null; assert libpngSupport -> libpng != null; +assert libjpegSupport -> libjpeg != null; let @@ -96,6 +98,7 @@ stdenv.mkDerivation rec { ++ optional speexSupport speex ++ optional bs2bSupport libbs2b ++ optional libpngSupport libpng + ++ optional libjpegSupport libjpeg ; nativeBuildInputs = [ yasm python3 ]; From 9da620a7233a54e506f058bace44b0607f2fde50 Mon Sep 17 00:00:00 2001 From: muflax Date: Sat, 27 Sep 2014 07:21:24 +0100 Subject: [PATCH 28/29] mplayer2: fix typo in configure Closes #4287 --- pkgs/applications/video/mplayer2/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/video/mplayer2/default.nix b/pkgs/applications/video/mplayer2/default.nix index a1e930d57d59..5827e22ea5e0 100644 --- a/pkgs/applications/video/mplayer2/default.nix +++ b/pkgs/applications/video/mplayer2/default.nix @@ -113,8 +113,8 @@ stdenv.mkDerivation rec { ${optionalString (stdenv.isi686 || stdenv.isx86_64) "--enable-runtime-cpudetection"} ${optionalString dvdnavSupport "--extra-ldflags=-ldvdread"} ${if xvSupport then "--enable-xv" else "--disable-xv"} - ${if x11Support then "--enable-x11 --enable-gl --extra-cflags=-I{libx11}/include" - else "--disable-x11 --disable-gl"} + ${if x11Support then "--enable-x11 --enable-gl --extra-cflags=-I${libX11}/include" + else "--disable-x11 --disable-gl"} --disable-xvid --disable-ossaudio ''; From 7323d5e1289a8da957172dbdf92bb7ebf72dd963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 27 Sep 2014 11:21:10 +0200 Subject: [PATCH 29/29] lib/platforms: add "armv6l-linux" to all platforms It was only in mesaPlatforms, which caused nix appear unsupported in there. --- lib/platforms.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/platforms.nix b/lib/platforms.nix index 067670c6b3e7..93ede5cef084 100644 --- a/lib/platforms.nix +++ b/lib/platforms.nix @@ -2,7 +2,7 @@ let lists = import ./lists.nix; in rec { gnu = linux; /* ++ hurd ++ kfreebsd ++ ... */ - linux = ["i686-linux" "x86_64-linux" "armv5tel-linux" "armv7l-linux" "mips64el-linux"]; + linux = ["i686-linux" "x86_64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "mips64el-linux"]; darwin = ["x86_64-darwin"]; freebsd = ["i686-freebsd" "x86_64-freebsd"]; openbsd = ["i686-openbsd" "x86_64-openbsd"];