lol

Merge branch 'master' into staging

+1108 -941
+2 -1
lib/maintainers.nix
··· 240 240 mathnerd314 = "Mathnerd314 <mathnerd314.gph+hs@gmail.com>"; 241 241 matthiasbeyer = "Matthias Beyer <mail@beyermatthias.de>"; 242 242 maurer = "Matthew Maurer <matthew.r.maurer+nix@gmail.com>"; 243 - mbakke = "Marius Bakke <ymse@tuta.io>"; 243 + mbakke = "Marius Bakke <mbakke@fastmail.com>"; 244 244 matthewbauer = "Matthew Bauer <mjbauer95@gmail.com>"; 245 245 mbe = "Brandon Edens <brandonedens@gmail.com>"; 246 246 mboes = "Mathieu Boespflug <mboes@tweag.net>"; ··· 248 248 meditans = "Carlo Nucera <meditans@gmail.com>"; 249 249 meisternu = "Matt Miemiec <meister@krutt.org>"; 250 250 michaelpj = "Michael Peyton Jones <michaelpj@gmail.com>"; 251 + michalrus = "Michal Rus <m@michalrus.com>"; 251 252 michelk = "Michel Kuhlmann <michel@kuhlmanns.info>"; 252 253 mimadrid = "Miguel Madrid <mimadrid@ucm.es>"; 253 254 mingchuan = "Ming Chuan <ming@culpring.com>";
+1 -1
nixos/modules/services/backup/crashplan.nix
··· 28 28 description = "CrashPlan Backup Engine"; 29 29 30 30 wantedBy = [ "multi-user.target" ]; 31 - after = [ "network.target" ]; 31 + after = [ "network.target" "local-fs.target" ]; 32 32 33 33 preStart = '' 34 34 ensureDir() {
+6 -3
nixos/modules/services/misc/autofs.nix
··· 75 75 boot.kernelModules = [ "autofs4" ]; 76 76 77 77 systemd.services.autofs = 78 - { description = "Filesystem automounter"; 78 + { description = "Automounts filesystems on demand"; 79 + after = [ "network.target" "ypbind.service" "sssd.service" "network-online.target" ]; 80 + wants = [ "network-online.target" ]; 79 81 wantedBy = [ "multi-user.target" ]; 80 - after = [ "network.target" ]; 81 82 82 83 preStart = '' 83 84 # There should be only one autofs service managed by systemd, so this should be safe. ··· 85 86 ''; 86 87 87 88 serviceConfig = { 88 - ExecStart = "${pkgs.autofs5}/sbin/automount ${if cfg.debug then "-d" else ""} -f -t ${builtins.toString cfg.timeout} ${autoMaster} ${if cfg.debug then "-l7" else ""}"; 89 + Type = "forking"; 90 + PIDFile = "/run/autofs.pid"; 91 + ExecStart = "${pkgs.autofs5}/bin/automount ${optionalString cfg.debug "-d"} -p /run/autofs.pid -t ${builtins.toString cfg.timeout} ${autoMaster}"; 89 92 ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; 90 93 }; 91 94 };
+12 -17
nixos/modules/services/networking/ejabberd.nix
··· 111 111 description = "ejabberd server"; 112 112 wantedBy = [ "multi-user.target" ]; 113 113 after = [ "network.target" ]; 114 - path = [ pkgs.findutils pkgs.coreutils ] ++ lib.optional cfg.imagemagick pkgs.imagemagick; 114 + path = [ pkgs.findutils pkgs.coreutils pkgs.runit ] ++ lib.optional cfg.imagemagick pkgs.imagemagick; 115 115 116 116 serviceConfig = { 117 - Type = "forking"; 117 + ExecStart = ''${ectl} foreground''; 118 118 # FIXME: runit is used for `chpst` -- can we get rid of this? 119 119 ExecStop = ''${pkgs.runit}/bin/chpst -u "${cfg.user}:${cfg.group}" ${ectl} stop''; 120 120 ExecReload = ''${pkgs.runit}/bin/chpst -u "${cfg.user}:${cfg.group}" ${ectl} reload_config''; ··· 132 132 133 133 mkdir -p -m750 "${cfg.spoolDir}" 134 134 chown -R "${cfg.user}:${cfg.group}" "${cfg.spoolDir}" 135 + 136 + if [ -z "$(ls -A '${cfg.spoolDir}')" ]; then 137 + touch "${cfg.spoolDir}/.firstRun" 138 + fi 135 139 ''; 136 140 137 - script = '' 138 - [ -z "$(ls -A '${cfg.spoolDir}')" ] && firstRun=1 139 - 140 - ${ectl} start 141 - 142 - count=0 141 + postStart = '' 143 142 while ! ${ectl} status >/dev/null 2>&1; do 144 - if [ $count -eq 30 ]; then 145 - echo "ejabberd server hasn't started in 30 seconds, giving up" 146 - exit 1 147 - fi 148 - 149 - count=$((count++)) 150 - sleep 1 143 + if ! kill -0 "$MAINPID"; then exit 1; fi 144 + sleep 0.1 151 145 done 152 146 153 - if [ -n "$firstRun" ]; then 147 + if [ -e "${cfg.spoolDir}/.firstRun" ]; then 148 + rm "${cfg.spoolDir}/.firstRun" 154 149 for src in ${dumps}; do 155 150 find "$src" -type f | while read dump; do 156 151 echo "Loading configuration dump at $dump" 157 - ${ectl} load "$dump" 152 + chpst -u "${cfg.user}:${cfg.group}" ${ectl} load "$dump" 158 153 done 159 154 done 160 155 fi
+3 -9
nixos/modules/services/networking/networkmanager.nix
··· 235 235 236 236 systemd.packages = cfg.packages; 237 237 238 - # Create an initialisation service that both starts 239 - # NetworkManager when network.target is reached, 240 - # and sets up necessary directories for NM. 241 - systemd.services."networkmanager-init" = { 242 - description = "NetworkManager initialisation"; 238 + systemd.services."network-manager" = { 243 239 wantedBy = [ "network.target" ]; 244 - wants = [ "network-manager.service" ]; 245 - before = [ "network-manager.service" ]; 246 - script = '' 240 + 241 + preStart = '' 247 242 mkdir -m 700 -p /etc/NetworkManager/system-connections 248 243 mkdir -m 755 -p ${stateDirs} 249 244 ''; 250 - serviceConfig.Type = "oneshot"; 251 245 }; 252 246 253 247 # Turn off NixOS' network management
+10 -8
pkgs/applications/audio/morituri/default.nix
··· 1 - { stdenv, fetchgit, python, pythonPackages, cdparanoia, cdrdao 2 - , pygobject, gst_python, gst_plugins_base, gst_plugins_good 3 - , setuptools, utillinux, makeWrapper, substituteAll, autoreconfHook }: 1 + { stdenv, fetchgit, pythonPackages, cdparanoia, cdrdao 2 + , gst_python, gst_plugins_base, gst_plugins_good 3 + , utillinux, makeWrapper, substituteAll, autoreconfHook }: 4 4 5 - stdenv.mkDerivation rec { 5 + let 6 + inherit (pythonPackages) python; 7 + in stdenv.mkDerivation rec { 6 8 name = "morituri-${version}"; 7 9 version = "0.2.3.20151109"; 8 10 namePrefix = ""; ··· 14 16 sha256 = "1sl5y5j3gdbynf2v0gf9dwd2hzawj8lm8ywadid7qm34yn8lx12k"; 15 17 }; 16 18 17 - pythonPath = [ 18 - pygobject gst_python pythonPackages.musicbrainzngs 19 - pythonPackages.pycdio pythonPackages.pyxdg setuptools 20 - pythonPackages.CDDB 19 + pythonPath = with pythonPackages; [ 20 + pygobject gst_python musicbrainzngs 21 + pycdio pyxdg setuptools 22 + CDDB 21 23 ]; 22 24 23 25 nativeBuildInputs = [ autoreconfHook ];
+6 -6
pkgs/applications/audio/picard/default.nix
··· 1 - { stdenv, buildPythonApplication, fetchurl, gettext 1 + { stdenv, pythonPackages, fetchurl, gettext 2 2 , pkgconfig, libofa, ffmpeg, chromaprint 3 - , pyqt4, mutagen, python-libdiscid 4 3 }: 5 4 6 - let version = "1.3.2"; in 7 - buildPythonApplication { 5 + let 6 + version = "1.3.2"; 7 + in pythonPackages.buildPythonApplication { 8 8 name = "picard-${version}"; 9 9 namePrefix = ""; 10 10 ··· 20 20 gettext 21 21 ]; 22 22 23 - propagatedBuildInputs = [ 23 + propagatedBuildInputs = with pythonPackages; [ 24 24 pyqt4 25 25 mutagen 26 - python-libdiscid 26 + discid 27 27 ]; 28 28 29 29 installPhase = ''
+2 -2
pkgs/applications/editors/nano/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 name = "nano-${version}"; 15 - version = "2.6.2"; 15 + version = "2.6.3"; 16 16 src = fetchurl { 17 17 url = "https://nano-editor.org/dist/v2.6/${name}.tar.gz"; 18 - sha256 = "11c9iqiah4q7q3ndn7z9192a796vp4fffkg27s6q1dn8avp06dj5"; 18 + sha256 = "00ym3zws1vdds726drgr5wj14mjn18d96ghn6vjci0915zhm8h2g"; 19 19 }; 20 20 nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext; 21 21 buildInputs = [ ncurses ];
+3 -3
pkgs/applications/graphics/screencloud/default.nix
··· 1 - { stdenv, fetchurl, fetchFromGitHub, cmake, qt4, quazip, qt-mobility, qxt, python, pycrypto, glib }: 1 + { stdenv, fetchurl, fetchFromGitHub, cmake, qt4, quazip, qt-mobility, qxt, pythonPackages, glib }: 2 2 3 3 with stdenv.lib; 4 4 stdenv.mkDerivation rec { ··· 17 17 sha256 = "1s0dxa1sa37nvna5nfqdsp294810favj68qb7ghl78qna7zw0cim"; 18 18 }; 19 19 20 - buildInputs = [ cmake qt4 quazip qt-mobility qxt python pycrypto ]; 20 + buildInputs = [ cmake qt4 quazip qt-mobility qxt pythonPackages.python pythonPackages.pycrypto ]; 21 21 22 22 patchPhase = '' 23 23 # Required to make the configure script work. Normally, screencloud's ··· 58 58 postInstall = '' 59 59 patchShebangs $prefix/opt/screencloud/screencloud.sh 60 60 substituteInPlace "$prefix/opt/screencloud/screencloud.sh" --replace "/opt" "$prefix/opt" 61 - sed -i "2 i\export PYTHONPATH=$(toPythonPath ${pycrypto}):\$PYTHONPATH" "$prefix/opt/screencloud/screencloud.sh" 61 + sed -i "2 i\export PYTHONPATH=$(toPythonPath ${pythonPackages.pycrypto}):\$PYTHONPATH" "$prefix/opt/screencloud/screencloud.sh" 62 62 mkdir $prefix/bin 63 63 mkdir $prefix/lib 64 64 ln -s $prefix/opt/screencloud/screencloud.sh $prefix/bin/screencloud
+3 -2
pkgs/applications/graphics/yed/default.nix
··· 1 1 { stdenv, fetchurl, requireFile, makeWrapper, unzip, jre }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "yEd-3.15.0.2"; 4 + name = "yEd-${version}"; 5 + version = "3.16.1"; 5 6 6 7 src = requireFile { 7 8 name = "${name}.zip"; 8 9 url = "https://www.yworks.com/en/products/yfiles/yed/"; 9 - sha256 = "c60e4868f267303ee8b6fc2587beb4cc846f32bd8a6a557b77e01f0d8039aa4d"; 10 + sha256 = "0h7ykcpvsikjfap51hpcz6z814riiwyps585j2i1yv9dmsbqdi7j"; 10 11 }; 11 12 12 13 nativeBuildInputs = [ unzip makeWrapper ];
+2 -1
pkgs/applications/misc/dmenu/default.nix
··· 13 13 inherit patches; 14 14 15 15 postPatch = '' 16 - sed -ri -e 's!\<(dmenu|stest)\>!'"$out/bin"'/&!g' dmenu_run 16 + sed -ri -e 's!\<(dmenu|dmenu_path|stest)\>!'"$out/bin"'/&!g' dmenu_run 17 + sed -ri -e 's!\<stest\>!'"$out/bin"'/&!g' dmenu_path 17 18 ''; 18 19 19 20 preConfigure = ''
+5 -4
pkgs/applications/misc/gramps/default.nix
··· 1 - { stdenv, fetchurl, gtk3, pythonPackages, python, pycairo, pygobject3, intltool, 1 + { stdenv, fetchurl, gtk3, pythonPackages, intltool, 2 2 pango, gsettings_desktop_schemas }: 3 3 4 - pythonPackages.buildPythonApplication rec { 4 + let 5 + inherit (pythonPackages) python buildPythonApplication; 6 + in buildPythonApplication rec { 5 7 version = "4.1.1"; 6 8 name = "gramps-${version}"; 7 - namePrefix = ""; 8 9 9 10 buildInputs = [ intltool gtk3 ]; 10 11 ··· 16 17 sha256 = "0jdps7yx2mlma1hdj64wssvnqd824xdvw0bmn2dnal5fn3h7h060"; 17 18 }; 18 19 19 - pythonPath = [ pygobject3 pango pycairo pythonPackages.bsddb ]; 20 + pythonPath = with pythonPackages; [ pygobject3 pycairo bsddb ] ++ [ pango ]; 20 21 21 22 # Same installPhase as in buildPythonApplication but without --old-and-unmanageble 22 23 # install flag.
+5 -2
pkgs/applications/misc/mysql-workbench/default.nix
··· 3 3 , libctemplate, libglade 4 4 , libiodbc 5 5 , libgnome, libsigcxx, libuuid, libxml2, libzip, lua, mesa, mysql 6 - , pango, paramiko, pcre, pexpect, pkgconfig, pycrypto, python, sqlite, sudo 6 + , pango, pcre, pkgconfig, sqlite, sudo 7 + , pythonPackages 7 8 }: 8 9 9 - stdenv.mkDerivation rec { 10 + let 11 + inherit (pythonPackages) pexpect pycrypto python paramiko; 12 + in stdenv.mkDerivation rec { 10 13 pname = "mysql-workbench"; 11 14 version = "5.2.47"; 12 15 name = "${pname}-${version}";
-113
pkgs/applications/misc/octoprint/0001-Don-t-use-static-library.patch
··· 1 - From 0be3198cccf753226758684955f49a32d8d920c0 Mon Sep 17 00:00:00 2001 2 - From: Nikolay Amiantov <ab@fmap.me> 3 - Date: Wed, 17 Feb 2016 14:37:31 +0300 4 - Subject: [PATCH] Don't use static library 5 - 6 - --- 7 - octoprint_m3dfio/__init__.py | 67 +----------------------------------------- 8 - shared library source/Makefile | 6 ++-- 9 - 2 files changed, 5 insertions(+), 68 deletions(-) 10 - 11 - diff --git a/octoprint_m3dfio/__init__.py b/octoprint_m3dfio/__init__.py 12 - index a2ca533..43f178a 100644 13 - --- a/octoprint_m3dfio/__init__.py 14 - +++ b/octoprint_m3dfio/__init__.py 15 - @@ -793,72 +793,7 @@ class M3DFioPlugin( 16 - # Set file locations 17 - self.setFileLocations() 18 - 19 - - # Check if running on Linux 20 - - if platform.uname()[0].startswith("Linux") : 21 - - 22 - - # Check if running on a Raspberry Pi 1 23 - - if platform.uname()[4].startswith("armv6l") and self.getCpuHardware() == "BCM2708" : 24 - - 25 - - # Set shared library 26 - - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_arm1176jzf-s.so") 27 - - 28 - - # Otherwise check if running on a Raspberry Pi 2 or Raspberry Pi 3 29 - - elif platform.uname()[4].startswith("armv7l") and self.getCpuHardware() == "BCM2709" : 30 - - 31 - - # Set shared library 32 - - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_arm_cortex-a7.so") 33 - - 34 - - # Otherwise check if running on an ARM7 device 35 - - elif platform.uname()[4].startswith("armv7") : 36 - - 37 - - # Set shared library 38 - - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_arm7.so") 39 - - 40 - - # Otherwise check if using an i386 or x86-64 device 41 - - elif platform.uname()[4].endswith("86") or platform.uname()[4].endswith("64") : 42 - - 43 - - # Check if Python is running as 32-bit 44 - - if platform.architecture()[0].startswith("32") : 45 - - 46 - - # Set shared library 47 - - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_i386.so") 48 - - 49 - - # Otherwise check if Python is running as 64-bit 50 - - elif platform.architecture()[0].startswith("64") : 51 - - 52 - - # Set shared library 53 - - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_x86-64.so") 54 - - 55 - - # Otherwise check if running on Windows and using an i386 or x86-64 device 56 - - elif platform.uname()[0].startswith("Windows") and (platform.uname()[4].endswith("86") or platform.uname()[4].endswith("64")) : 57 - - 58 - - # Check if Python is running as 32-bit 59 - - if platform.architecture()[0].startswith("32") : 60 - - 61 - - # Set shared library 62 - - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_i386.dll") 63 - - 64 - - # Otherwise check if Python is running as 64-bit 65 - - elif platform.architecture()[0].startswith("64") : 66 - - 67 - - # Set shared library 68 - - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_x86-64.dll") 69 - - 70 - - # Otherwise check if running on OS X and using an i386 or x86-64 device 71 - - elif platform.uname()[0].startswith("Darwin") and (platform.uname()[4].endswith("86") or platform.uname()[4].endswith("64")) : 72 - - 73 - - # Check if Python is running as 32-bit 74 - - if platform.architecture()[0].startswith("32") : 75 - - 76 - - # Set shared library 77 - - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_i386.dylib") 78 - - 79 - - # Otherwise check if Python is running as 64-bit 80 - - elif platform.architecture()[0].startswith("64") : 81 - - 82 - - # Set shared library 83 - - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_x86-64.dylib") 84 - - 85 - + self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/../../../libpreprocessor.so") 86 - # Check if shared library was set 87 - if self.sharedLibrary : 88 - 89 - diff --git a/shared library source/Makefile b/shared library source/Makefile 90 - index 9d015a1..a24f134 100644 91 - --- a/shared library source/Makefile 92 - +++ b/shared library source/Makefile 93 - @@ -58,13 +58,15 @@ ifeq ($(TARGET_PLATFORM), OSX64) 94 - CFLAGS = -fPIC -m64 -stdlib=libc++ -O3 -Wl,-install_name,$(PROG)$(VER) 95 - endif 96 - 97 - +PROG = lib$(LIBRARY_NAME).so 98 - +CC = g++ 99 - SRCS = preprocessor.cpp gcode.cpp vector.cpp 100 - -CFLAGS += -Wall -std=c++11 -fvisibility=hidden -shared 101 - +CFLAGS = -O3 -fPIC -Wall -std=c++11 -fvisibility=hidden -shared 102 - 103 - all: $(PROG) 104 - 105 - $(PROG): $(SRCS) 106 - - $(CC) $(CFLAGS) -o ../octoprint_m3dfio/static/libraries/$(PROG) $(SRCS) 107 - + $(CC) $(CFLAGS) -o $(PROG) $(SRCS) 108 - 109 - clean: 110 - rm -f ../octoprint_m3dfio/static/libraries/$(PROG) 111 - -- 112 - 2.7.1 113 -
+19 -16
pkgs/applications/misc/octoprint/default.nix
··· 2 2 3 3 pythonPackages.buildPythonApplication rec { 4 4 name = "OctoPrint-${version}"; 5 - version = "1.2.10"; 5 + version = "1.2.15"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "foosel"; 9 9 repo = "OctoPrint"; 10 10 rev = version; 11 - sha256 = "1ips1083c4qrfnkssvp1lxrs92svlid29l225ifsymrinpbjawav"; 11 + sha256 = "0qfragp7n8m7l5l30s5fz1x7xzini2sdh2y3m1ahs7ay8zp4xk56"; 12 12 }; 13 13 14 14 # We need old Tornado 15 15 propagatedBuildInputs = with pythonPackages; [ 16 - awesome-slugify flask_assets watchdog rsa requests2 pkginfo pylru 17 - semantic-version flask_principal sarge tornado_4_0_1 werkzeug netaddr flaskbabel 18 - netifaces psutil pyserial flask_login pyyaml sockjs-tornado 16 + awesome-slugify flask_assets rsa requests2 pkginfo watchdog 17 + semantic-version flask_principal werkzeug flaskbabel tornado_4_0_1 18 + psutil pyserial flask_login netaddr markdown sockjs-tornado 19 + pylru pyyaml sarge feedparser netifaces 19 20 ]; 20 21 22 + # Jailbreak dependencies. 23 + # Currently broken for new: tornado, pyserial, flask_login 21 24 postPatch = '' 22 - # Jailbreak dependencies 23 25 sed -i \ 24 - -e 's,rsa==,rsa>=,g' \ 25 - -e 's,sockjs-tornado==,sockjs-tornado>=,g' \ 26 - -e 's,Flask-Principal==,Flask-Principal>=,g' \ 27 - -e 's,werkzeug==,werkzeug>=,g' \ 28 - -e 's,netaddr==,netaddr>=,g' \ 29 - -e 's,requests==,requests>=,g' \ 30 - -e 's,netifaces==,netifaces>=,g' \ 31 - -e 's,psutil==,psutil>=,g' \ 32 - -e 's,PyYAML==,PyYAML>=,g' \ 26 + -e 's,werkzeug>=[^"]*,werkzeug,g' \ 27 + -e 's,requests>=[^"]*,requests,g' \ 28 + -e 's,pkginfo>=[^"]*,pkginfo,g' \ 29 + -e 's,semantic_version>=[^"]*,semantic_version,g' \ 30 + -e 's,psutil>=[^"]*,psutil,g' \ 31 + -e 's,Flask-Babel>=[^"]*,Flask-Babel,g' \ 32 + -e 's,Flask-Principal>=[^"]*,Flask-Principal,g' \ 33 + -e 's,markdown>=[^"]*,markdown,g' \ 34 + -e 's,Flask-Assets>=[^"]*,Flask-Assets,g' \ 35 + -e 's,rsa>=[^"]*,rsa,g' \ 36 + -e 's,PyYAML>=[^"]*,PyYAML,g' \ 33 37 setup.py 34 38 ''; 35 39 36 40 meta = with stdenv.lib; { 37 41 homepage = "http://octoprint.org/"; 38 42 description = "The snappy web interface for your 3D printer"; 39 - platforms = platforms.all; 40 43 license = licenses.agpl3; 41 44 maintainers = with maintainers; [ abbradar ]; 42 45 };
+161
pkgs/applications/misc/octoprint/m33-fio-one-library.patch
··· 1 + From 62b4fabd1d4ee7a584a565d48c7eaec6e80fe0bd Mon Sep 17 00:00:00 2001 2 + From: Nikolay Amiantov <ab@fmap.me> 3 + Date: Fri, 12 Aug 2016 23:41:22 +0300 4 + Subject: [PATCH] Build and use one version of preprocessor library 5 + 6 + --- 7 + octoprint_m33fio/__init__.py | 66 +----------------------------------------- 8 + shared library source/Makefile | 59 +++---------------------------------- 9 + 2 files changed, 5 insertions(+), 120 deletions(-) 10 + 11 + diff --git a/octoprint_m33fio/__init__.py b/octoprint_m33fio/__init__.py 12 + index da539f5..b0a17ad 100755 13 + --- a/octoprint_m33fio/__init__.py 14 + +++ b/octoprint_m33fio/__init__.py 15 + @@ -979,71 +979,7 @@ class M33FioPlugin( 16 + # Check if using shared library or checking if it is usable 17 + if self._settings.get_boolean(["UseSharedLibrary"]) or isUsable : 18 + 19 + - # Check if running on Linux 20 + - if platform.uname()[0].startswith("Linux") : 21 + - 22 + - # Check if running on a Raspberry Pi 1 23 + - if platform.uname()[4].startswith("armv6l") and self.getCpuHardware() == "BCM2708" : 24 + - 25 + - # Set shared library 26 + - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_arm1176jzf-s.so") 27 + - 28 + - # Otherwise check if running on a Raspberry Pi 2 or Raspberry Pi 3 29 + - elif platform.uname()[4].startswith("armv7l") and self.getCpuHardware() == "BCM2709" : 30 + - 31 + - # Set shared library 32 + - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_arm_cortex-a7.so") 33 + - 34 + - # Otherwise check if running on an ARM7 device 35 + - elif platform.uname()[4].startswith("armv7") : 36 + - 37 + - # Set shared library 38 + - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_arm7.so") 39 + - 40 + - # Otherwise check if using an i386 or x86-64 device 41 + - elif platform.uname()[4].endswith("86") or platform.uname()[4].endswith("64") : 42 + - 43 + - # Check if Python is running as 32-bit 44 + - if platform.architecture()[0].startswith("32") : 45 + - 46 + - # Set shared library 47 + - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_i386.so") 48 + - 49 + - # Otherwise check if Python is running as 64-bit 50 + - elif platform.architecture()[0].startswith("64") : 51 + - 52 + - # Set shared library 53 + - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_x86-64.so") 54 + - 55 + - # Otherwise check if running on Windows and using an i386 or x86-64 device 56 + - elif platform.uname()[0].startswith("Windows") and (platform.uname()[4].endswith("86") or platform.uname()[4].endswith("64")) : 57 + - 58 + - # Check if Python is running as 32-bit 59 + - if platform.architecture()[0].startswith("32") : 60 + - 61 + - # Set shared library 62 + - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_i386.dll") 63 + - 64 + - # Otherwise check if Python is running as 64-bit 65 + - elif platform.architecture()[0].startswith("64") : 66 + - 67 + - # Set shared library 68 + - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_x86-64.dll") 69 + - 70 + - # Otherwise check if running on OS X and using an i386 or x86-64 device 71 + - elif platform.uname()[0].startswith("Darwin") and (platform.uname()[4].endswith("86") or platform.uname()[4].endswith("64")) : 72 + - 73 + - # Check if Python is running as 32-bit 74 + - if platform.architecture()[0].startswith("32") : 75 + - 76 + - # Set shared library 77 + - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_i386.dylib") 78 + - 79 + - # Otherwise check if Python is running as 64-bit 80 + - elif platform.architecture()[0].startswith("64") : 81 + - 82 + - # Set shared library 83 + - self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/preprocessor_x86-64.dylib") 84 + + self.sharedLibrary = ctypes.cdll.LoadLibrary(self._basefolder.replace('\\', '/') + "/static/libraries/libpreprocessor.so") 85 + 86 + # Check if shared library was set 87 + if self.sharedLibrary : 88 + diff --git a/shared library source/Makefile b/shared library source/Makefile 89 + index a43d657..0b254aa 100755 90 + --- a/shared library source/Makefile 91 + +++ b/shared library source/Makefile 92 + @@ -1,62 +1,11 @@ 93 + # Target platform options: LINUX32, LINUX64, WINDOWS32, WINDOWS64, PI, PI2, ARM7, OSX32, OSX64 94 + -LIBRARY_NAME = preprocessor 95 + +LIBRARY_NAME = libpreprocessor 96 + TARGET_PLATFORM = LINUX64 97 + VER = .1 98 + 99 + -ifeq ($(TARGET_PLATFORM), LINUX32) 100 + - PROG = $(LIBRARY_NAME)_i386.so 101 + - CC = g++ 102 + - CFLAGS = -fPIC -m32 -static-libgcc -O3 -Wl,-soname,$(PROG)$(VER) -static-libstdc++ 103 + -endif 104 + - 105 + -ifeq ($(TARGET_PLATFORM), LINUX64) 106 + - PROG = $(LIBRARY_NAME)_x86-64.so 107 + - CC = g++ 108 + - CFLAGS = -fPIC -m64 -static-libgcc -O3 -Wl,-soname,$(PROG)$(VER) -static-libstdc++ 109 + -endif 110 + - 111 + -ifeq ($(TARGET_PLATFORM), WINDOWS32) 112 + - PROG = $(LIBRARY_NAME)_i386.dll 113 + - CC = i686-w64-mingw32-g++ 114 + - CFLAGS = -static-libgcc -O3 -Wl,-soname,$(PROG)$(VER) -static-libstdc++ 115 + -endif 116 + - 117 + -ifeq ($(TARGET_PLATFORM), WINDOWS64) 118 + - PROG = $(LIBRARY_NAME)_x86-64.dll 119 + - CC = x86_64-w64-mingw32-g++ 120 + - CFLAGS = -static-libgcc -O3 -Wl,-soname,$(PROG)$(VER) -static-libstdc++ 121 + -endif 122 + - 123 + -ifeq ($(TARGET_PLATFORM), PI) 124 + - PROG = $(LIBRARY_NAME)_arm1176jzf-s.so 125 + - CC = ~/tools/arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ 126 + - CFLAGS = -fPIC -mcpu=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard -static-libgcc -O3 -Wl,-soname,$(PROG)$(VER) -static-libstdc++ 127 + -endif 128 + - 129 + -ifeq ($(TARGET_PLATFORM), PI2) 130 + - PROG = $(LIBRARY_NAME)_arm_cortex-a7.so 131 + - CC = ~/tools/arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf/bin/arm-linux-gnueabihf-g++ 132 + - CFLAGS = -fPIC -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -static-libgcc -O3 -Wl,-soname,$(PROG)$(VER) -static-libstdc++ 133 + -endif 134 + - 135 + -ifeq ($(TARGET_PLATFORM), ARM7) 136 + - PROG = $(LIBRARY_NAME)_arm7.so 137 + - CC = ~/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++ 138 + - CFLAGS = -fPIC -mcpu=generic-armv7-a -mfpu=vfp -mfloat-abi=hard -static-libgcc -O3 -Wl,-soname,$(PROG)$(VER) -static-libstdc++ 139 + -endif 140 + - 141 + -ifeq ($(TARGET_PLATFORM), OSX32) 142 + - PROG = $(LIBRARY_NAME)_i386.dylib 143 + - CC = clang++ 144 + - CFLAGS = -fPIC -m32 -stdlib=libc++ -O3 -Wl,-install_name,$(PROG)$(VER) 145 + - 146 + -endif 147 + - 148 + -ifeq ($(TARGET_PLATFORM), OSX64) 149 + - PROG = $(LIBRARY_NAME)_x86-64.dylib 150 + - CC = clang++ 151 + - CFLAGS = -fPIC -m64 -stdlib=libc++ -O3 -Wl,-install_name,$(PROG)$(VER) 152 + -endif 153 + +PROG = $(LIBRARY_NAME).so 154 + +CC = g++ 155 + +CFLAGS = -fPIC -O3 -Wl,-soname,$(PROG)$(VER) 156 + 157 + SRCS = preprocessor.cpp gcode.cpp vector.cpp 158 + CFLAGS += -Wall -std=c++11 -fvisibility=hidden -shared 159 + -- 160 + 2.9.2 161 +
+65 -60
pkgs/applications/misc/octoprint/plugins.nix
··· 4 4 buildPlugin = args: pythonPackages.buildPythonApplication (args // { 5 5 buildInputs = (args.buildInputs or []) ++ [ octoprint ]; 6 6 }); 7 - in { 8 7 9 - m3d-fio = buildPlugin rec { 10 - name = "M3D-Fio-${version}"; 11 - version = "0.32"; 8 + self = { 12 9 13 - src = fetchFromGitHub { 14 - owner = "donovan6000"; 15 - repo = "M3D-Fio"; 16 - rev = "V${version}"; 17 - sha256 = "1s15nx6v56yjwd88b19fx0gk1l0abp76nz10yicspdn91fpr1sf4"; 18 - }; 10 + # Deprecated alias 11 + m3d-fio = self.m33-fio; # added 2016-08-13 19 12 20 - patches = [ 21 - ./0001-Don-t-use-static-library.patch 22 - ]; 13 + m33-fio = buildPlugin rec { 14 + name = "M33-Fio-${version}"; 15 + version = "1.5"; 23 16 24 - postInstall = '' 25 - ( 26 - cd 'shared library source' 27 - make 28 - install -Dm755 libpreprocessor.so $out/lib/libpreprocessor.so 29 - ) 30 - rm -rf $out/${pythonPackages.python.sitePackages}/octoprint_m3dfio/static/libraries 31 - ''; 17 + src = fetchFromGitHub { 18 + owner = "donovan6000"; 19 + repo = "M33-Fio"; 20 + rev = "V${version}"; 21 + sha256 = "0ss8ic9l5srb5wj2mj0qafam0z4d6zv0cixhxgghh03fp0lvwjyq"; 22 + }; 23 + 24 + patches = [ 25 + ./m33-fio-one-library.patch 26 + ]; 27 + 28 + postPatch = '' 29 + rm -rf octoprint_m33fio/static/libraries/* 30 + ( 31 + cd 'shared library source' 32 + make 33 + ) 34 + ''; 32 35 33 - meta = with stdenv.lib; { 34 - homepage = "https://github.com/donovan6000/M3D-Fio"; 35 - description = "OctoPrint plugin for the Micro 3D printer"; 36 - platforms = platforms.all; 37 - license = licenses.gpl3; 38 - maintainers = with maintainers; [ abbradar ]; 36 + meta = with stdenv.lib; { 37 + homepage = "https://github.com/donovan6000/M3D-Fio"; 38 + description = "OctoPrint plugin for the Micro 3D printer"; 39 + platforms = platforms.all; 40 + license = licenses.gpl3; 41 + maintainers = with maintainers; [ abbradar ]; 42 + }; 39 43 }; 40 - }; 44 + 45 + titlestatus = buildPlugin rec { 46 + name = "OctoPrint-TitleStatus-${version}"; 47 + version = "0.0.4"; 41 48 42 - titlestatus = buildPlugin rec { 43 - name = "OctoPrint-TitleStatus-${version}"; 44 - version = "0.0.4"; 49 + src = fetchFromGitHub { 50 + owner = "MoonshineSG"; 51 + repo = "OctoPrint-TitleStatus"; 52 + rev = version; 53 + sha256 = "1l78xrabn5hcly2mgxwi17nwgnp2s6jxi9iy4wnw8k8icv74ag7k"; 54 + }; 45 55 46 - src = fetchFromGitHub { 47 - owner = "MoonshineSG"; 48 - repo = "OctoPrint-TitleStatus"; 49 - rev = version; 50 - sha256 = "1l78xrabn5hcly2mgxwi17nwgnp2s6jxi9iy4wnw8k8icv74ag7k"; 56 + meta = with stdenv.lib; { 57 + homepage = "https://github.com/MoonshineSG/OctoPrint-TitleStatus"; 58 + description = "Show printers status in window title"; 59 + platforms = platforms.all; 60 + license = licenses.agpl3; 61 + maintainers = with maintainers; [ abbradar ]; 62 + }; 51 63 }; 52 64 53 - meta = with stdenv.lib; { 54 - homepage = https://github.com/MoonshineSG/OctoPrint-TitleStatus; 55 - description = "Show printers status in window title"; 56 - platforms = platforms.all; 57 - license = licenses.agpl3; 58 - maintainers = with maintainers; [ abbradar ]; 59 - }; 60 - }; 65 + stlviewer = buildPlugin rec { 66 + name = "OctoPrint-STLViewer-${version}"; 67 + version = "0.3.0"; 61 68 62 - stlviewer = buildPlugin rec { 63 - name = "OctoPrint-STLViewer-${version}"; 64 - version = "0.3.0"; 69 + src = fetchFromGitHub { 70 + owner = "jneilliii"; 71 + repo = "OctoPrint-STLViewer"; 72 + rev = "v${version}"; 73 + sha256 = "1a6sa8pw9ay7x27pfwr3nzb22x3jaw0c9vwyz4mrj76zkiw6svfi"; 74 + }; 65 75 66 - src = fetchFromGitHub { 67 - owner = "jneilliii"; 68 - repo = "OctoPrint-STLViewer"; 69 - rev = "v${version}"; 70 - sha256 = "1a6sa8pw9ay7x27pfwr3nzb22x3jaw0c9vwyz4mrj76zkiw6svfi"; 76 + meta = with stdenv.lib; { 77 + homepage = "https://github.com/jneilliii/Octoprint-STLViewer"; 78 + description = "A simple stl viewer tab for OctoPrint"; 79 + platforms = platforms.all; 80 + license = licenses.agpl3; 81 + maintainers = with maintainers; [ abbradar ]; 82 + }; 71 83 }; 72 84 73 - meta = with stdenv.lib; { 74 - homepage = https://github.com/jneilliii/Octoprint-STLViewer; 75 - description = "A simple stl viewer tab for OctoPrint"; 76 - platforms = platforms.all; 77 - license = licenses.agpl3; 78 - maintainers = with maintainers; [ abbradar ]; 79 - }; 80 85 }; 81 86 82 - } 87 + in self
+8 -8
pkgs/applications/misc/rofi/default.nix
··· 1 - { stdenv, fetchurl, autoreconfHook, pkgconfig, libX11, libxkbcommon, pango 2 - , cairo, glib, libxcb, xcbutil, xcbutilwm, libstartup_notification 3 - , i3Support ? false, i3 1 + { stdenv, fetchurl, autoreconfHook, pkgconfig, libxkbcommon, pango 2 + , cairo, glib, libxcb, xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification 4 3 }: 5 4 6 5 stdenv.mkDerivation rec { 7 - version = "1.1.0"; 6 + version = "1.2.0"; 8 7 name = "rofi-${version}"; 9 8 10 9 src = fetchurl { 11 10 url = "https://github.com/DaveDavenport/rofi/releases/download/${version}/${name}.tar.xz"; 12 - sha256 = "1l8vl0mh7i0b1ycifqpg6392f5i4qxlv003m126skfk6fnlfq8hn"; 11 + sha256 = "0xxx0xpxhrhlhi2axq9867zqrhwqavc1qrr833k1xr0pvm5m0aqc"; 13 12 }; 14 13 15 14 preConfigure = '' ··· 18 17 sed -i 's/~root/~nobody/g' test/helper-expand.c 19 18 ''; 20 19 21 - buildInputs = [ autoreconfHook pkgconfig libX11 libxkbcommon pango 22 - cairo libstartup_notification libxcb xcbutil xcbutilwm 23 - ] ++ stdenv.lib.optional i3Support i3; 20 + buildInputs = [ autoreconfHook pkgconfig libxkbcommon pango cairo 21 + libstartup_notification libxcb xcbutil xcbutilwm xcbutilxrm 22 + ]; 23 + doCheck = true; 24 24 25 25 meta = with stdenv.lib; { 26 26 description = "Window switcher, run dialog and dmenu replacement";
+10 -9
pkgs/applications/misc/rxvt_unicode-plugins/urxvt-tabbedex/default.nix
··· 1 - { stdenv, fetchgit }: 1 + { stdenv, fetchFromGitHub, perl }: 2 2 3 3 stdenv.mkDerivation { 4 - name = "urxvt-tabbedex-2015-03-03"; 4 + name = "urxvt-tabbedex-2016-08-09"; 5 5 6 - src = fetchgit { 7 - url = "https://github.com/mina86/urxvt-tabbedex"; 8 - rev = "b0a02018b1cbaaba2a0c8ea7af9368db0adf3363"; 9 - sha256 = "f0025f2741d424736620147d9fc39faac68193cb9f74bde0fb6e02a6f1ae61c3"; 6 + src = fetchFromGitHub { 7 + owner = "mina86"; 8 + repo = "urxvt-tabbedex"; 9 + rev = "ac220eb3984e151ba14dce08f446bc7bc8ca29a2"; 10 + sha256 = "1b5mff5137jb5ysklsmfp5ql3m4g1z3bdhk0nwhz2hgwz40ap6k8"; 10 11 }; 11 12 12 - installPhase = '' 13 - install -D tabbedex $out/lib/urxvt/perl/tabbedex 14 - ''; 13 + nativeBuildInputs = [ perl ]; 14 + 15 + installFlags = [ "PREFIX=$(out)" ]; 15 16 16 17 meta = with stdenv.lib; { 17 18 description = "Tabbed plugin for rxvt-unicode with many enhancements (mina86's fork)";
+2
pkgs/applications/networking/browsers/firefox-bin/default.nix
··· 17 17 , gtk3 18 18 , libX11 19 19 , libXScrnSaver 20 + , libxcb 20 21 , libXcomposite 21 22 , libXdamage 22 23 , libXext ··· 90 91 libX11 91 92 libXScrnSaver 92 93 libXcomposite 94 + libxcb 93 95 libXdamage 94 96 libXext 95 97 libXfixes
+20 -13
pkgs/applications/networking/browsers/midori/default.nix
··· 1 - { stdenv, fetchurl, cmake, pkgconfig, intltool, vala, makeWrapper 1 + { stdenv, fetchurl, cmake, pkgconfig, intltool, vala, wrapGAppsHook 2 2 , gtk3, webkitgtk, librsvg, libnotify, sqlite 3 3 , glib_networking, gsettings_desktop_schemas, libsoup, pcre, gnome3 4 + , libxcb, libpthreadstubs, libXdmcp, libxkbcommon, epoxy, at_spi2_core 5 + , zeitgeistSupport ? false, zeitgeist ? null 4 6 }: 5 7 6 - let 7 - version = "0.5.11"; 8 - in 8 + assert zeitgeistSupport -> zeitgeist != null; 9 + 9 10 stdenv.mkDerivation rec { 10 11 name = "midori-${version}"; 12 + version = "0.5.11"; 11 13 12 14 meta = with stdenv.lib; { 13 15 description = "Lightweight WebKitGTK+ web browser"; 14 16 homepage = "http://midori-browser.org"; 15 - license = licenses.lgpl21Plus; 16 - platforms = platforms.linux; 17 + license = with licenses; [ lgpl21Plus ]; 18 + platforms = with platforms; linux; 17 19 maintainers = with maintainers; [ raskin ramkromberg ]; 18 20 }; 19 21 ··· 26 28 sha256 = "0gcwqkcyliqz10i33ww3wl02mmfnl7jzl2d493l4l53ipsb1l6cn"; 27 29 }; 28 30 31 + nativeBuildInputs = [ 32 + pkgconfig wrapGAppsHook cmake intltool 33 + ]; 34 + 29 35 buildInputs = [ 30 - cmake pkgconfig intltool vala makeWrapper 31 - webkitgtk librsvg libnotify sqlite gsettings_desktop_schemas pcre gnome3.gcr 36 + vala 37 + gtk3 webkitgtk librsvg libnotify sqlite gsettings_desktop_schemas pcre gnome3.gcr 38 + libxcb libpthreadstubs libXdmcp libxkbcommon epoxy at_spi2_core 32 39 (libsoup.override {gnomeSupport = true; valaSupport = true;}) 40 + ] ++ stdenv.lib.optionals zeitgeistSupport [ 41 + zeitgeist 33 42 ]; 34 43 35 44 cmakeFlags = [ 36 45 "-DCMAKE_BUILD_TYPE=Release" 37 - "-DUSE_ZEITGEIST=OFF" 38 - "-DHALF_BRO_INCOM_WEBKIT2=OFF" 46 + "-DUSE_ZEITGEIST=${if zeitgeistSupport then "ON" else "OFF"}" 47 + "-DHALF_BRO_INCOM_WEBKIT2=ON" 39 48 "-DUSE_GTK3=1" 40 49 ]; 41 50 42 51 NIX_LDFLAGS="-lX11"; 43 52 44 53 preFixup = '' 45 - wrapProgram $out/bin/midori \ 46 - --prefix GIO_EXTRA_MODULES : "${glib_networking.out}/lib/gio/modules" \ 47 - --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" 54 + gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" --prefix GIO_EXTRA_MODULES : "${glib_networking.out}/lib/gio/modules") 48 55 ''; 49 56 }
+2 -2
pkgs/applications/networking/instant-messengers/blink/default.nix
··· 1 - { stdenv, fetchurl, pythonPackages, pyqt4, cython, libvncserver, zlib, twisted 1 + { stdenv, fetchurl, pythonPackages, libvncserver, zlib 2 2 , gnutls, libvpx, makeDesktopItem }: 3 3 4 4 pythonPackages.buildPythonApplication rec { ··· 18 18 propagatedBuildInputs = with pythonPackages;[ pyqt4 cjson sipsimple twisted 19 19 ]; 20 20 21 - buildInputs = [ cython zlib libvncserver libvpx ]; 21 + buildInputs = [ pythonPackages.cython zlib libvncserver libvpx ]; 22 22 23 23 desktopItem = makeDesktopItem { 24 24 name = "Blink";
+3 -3
pkgs/applications/networking/instant-messengers/pybitmessage/default.nix
··· 1 - { stdenv, fetchFromGitHub, python, pythonPackages, pyqt4, openssl }: 1 + { stdenv, fetchFromGitHub, pythonPackages, openssl }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "pybitmessage-${version}"; ··· 12 12 sha256 = "1f4h0yc1mfjnxzvxiv9hxgak59mgr3a5ykv50vlyiay82za20jax"; 13 13 }; 14 14 15 - buildInputs = [ python pyqt4 openssl pythonPackages.wrapPython pythonPackages.sqlite3 ]; 15 + buildInputs = with pythonPackages; [ python pyqt4 wrapPython sqlite3 ] ++ [ openssl ]; 16 16 17 17 preConfigure = '' 18 18 substituteInPlace Makefile \ ··· 24 24 25 25 postInstall = '' 26 26 substituteInPlace $out/bin/pybitmessage \ 27 - --replace "exec python2" "exec ${python}/bin/python" \ 27 + --replace "exec python2" "exec ${pythonPackages.python}/bin/python" \ 28 28 --replace "/opt/openssl-compat-bitcoin/lib/" "${openssl.out}/lib/" 29 29 wrapProgram $out/bin/pybitmessage \ 30 30 --prefix PYTHONPATH : "$(toPythonPath $out):$PYTHONPATH"
+8 -23
pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
··· 16 16 17 17 in stdenv.mkDerivation rec { 18 18 name = "telegram-desktop-${version}"; 19 - version = "0.9.56"; 19 + version = "0.10.1"; 20 20 qtVersion = lib.replaceStrings ["."] ["_"] packagedQt; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "telegramdesktop"; 24 24 repo = "tdesktop"; 25 25 rev = "v${version}"; 26 - sha256 = "000ngg6arfb6mif0hvin099f83q3sn7mw4vfvrikskczblw3a5lc"; 26 + sha256 = "08isxwif6zllglkpd9i7ypxm2s4bibzqris48607bafr88ylksdk"; 27 27 }; 28 28 29 29 tgaur = fetchgit { 30 30 url = "https://aur.archlinux.org/telegram-desktop.git"; 31 - rev = "f8907d1ccaf8345c06232238342921213270e3d8"; 32 - sha256 = "04jh0fsrh4iwg188d20z15qkxv05wa5lpd8h21yxx3jxqljpdkws"; 31 + rev = "9ce7be9efed501f988bb099956fa63729f2c25ea"; 32 + sha256 = "1wp6lqscpm2byizchm0bj48dg9bga02r9r69ns10zxk0gk0qvvdn"; 33 33 }; 34 34 35 35 buildInputs = [ ··· 50 50 "CONFIG+=release" 51 51 "DEFINES+=TDESKTOP_DISABLE_AUTOUPDATE" 52 52 "DEFINES+=TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME" 53 - "INCLUDEPATH+=${gtk2.dev}/include/gtk-2.0" 54 - "INCLUDEPATH+=${glib.dev}/include/glib-2.0" 55 - "INCLUDEPATH+=${glib.out}/lib/glib-2.0/include" 56 - "INCLUDEPATH+=${cairo.dev}/include/cairo" 57 - "INCLUDEPATH+=${pango.dev}/include/pango-1.0" 58 - "INCLUDEPATH+=${gtk2.out}/lib/gtk-2.0/include" 59 - "INCLUDEPATH+=${gdk_pixbuf.dev}/include/gdk-pixbuf-2.0" 60 - "INCLUDEPATH+=${atk.dev}/include/atk-1.0" 61 - "INCLUDEPATH+=${libappindicator-gtk2}/include/libappindicator-0.1" 62 - "INCLUDEPATH+=${libunity}/include/unity" 63 - "INCLUDEPATH+=${dee}/include/dee-1.0" 64 - "INCLUDEPATH+=${libdbusmenu-glib}/include/libdbusmenu-glib-0.4" 65 53 "INCLUDEPATH+=${breakpad}/include/breakpad" 66 54 "QT_TDESKTOP_VERSION=${systemQt}" 67 - "LIBS+=-lcrypto" 68 - "LIBS+=-lssl" 69 55 ]; 70 56 71 57 qtSrcs = [ qtbase.src qtimageformats.src ]; ··· 79 65 sed -i 'Telegram/Telegram.pro' \ 80 66 -e 's,CUSTOM_API_ID,,g' \ 81 67 -e 's,/usr,/does-not-exist,g' \ 82 - -e '/LIBS += .*libxkbcommon.a/d' \ 83 - -e 's,LIBS += .*libz.a,LIBS += -lz,' \ 68 + -e 's, -flto,,g' \ 84 69 -e 's,LIBS += .*libbreakpad_client.a,LIBS += ${breakpad}/lib/libbreakpad_client.a,' \ 85 - -e 's, -flto,,g' \ 86 - -e 's, -static-libstdc++,,g' 70 + -e 's, -static-libstdc++,,g' \ 71 + -e '/LIBS += .*libxkbcommon.a/d' 87 72 88 73 export qmakeFlags="$qmakeFlags QT_TDESKTOP_PATH=$PWD/../qt" 89 74 ··· 105 90 export configureFlags="-prefix "$PWD/../qt" -release -opensource -confirm-license -system-zlib \ 106 91 -system-libpng -system-libjpeg -system-freetype -system-harfbuzz -system-pcre -system-xcb \ 107 92 -system-xkbcommon-x11 -no-opengl -static -nomake examples -nomake tests \ 108 - -openssl-linked -dbus-linked -system-sqlite -verbose \ 93 + -openssl-linked -dbus-linked -system-sqlite -verbose -no-gtkstyle \ 109 94 ${lib.optionalString (!system-x86_64) "-no-sse2"} -no-sse3 -no-ssse3 \ 110 95 -no-sse4.1 -no-sse4.2 -no-avx -no-avx2 -no-mips_dsp -no-mips_dspr2" 111 96 export dontAddPrefix=1
+2 -2
pkgs/applications/networking/mailreaders/claws-mail/default.nix
··· 32 32 33 33 stdenv.mkDerivation rec { 34 34 name = "claws-mail-${version}"; 35 - version = "3.13.2"; 35 + version = "3.14.0"; 36 36 37 37 meta = { 38 38 description = "The user-friendly, lightweight, and fast email client"; ··· 44 44 45 45 src = fetchurl { 46 46 url = "http://www.claws-mail.org/download.php?file=releases/claws-mail-${version}.tar.xz"; 47 - sha256 = "1l8ankx0qpq1ix1an8viphcf11ksh53jsrm1xjmq8cjbh5910wva"; 47 + sha256 = "0nfchgga3ir91s8rky0a0vnz8cgj2f6h716wh3cmb466a01xfss6"; 48 48 }; 49 49 50 50 patches = [ ./mime.patch ];
+2 -2
pkgs/applications/networking/syncthing/default.nix
··· 1 1 { stdenv, fetchFromGitHub, go }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "0.14.3"; 4 + version = "0.14.4"; 5 5 name = "syncthing-${version}"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "syncthing"; 9 9 repo = "syncthing"; 10 10 rev = "v${version}"; 11 - sha256 = "114i0911h3q6dn3j9x2qcm5lzpqclvrpf5vk87qpqp9qy62jp3az"; 11 + sha256 = "0i1pgwy7vn2hfcqa7dvrrc40hzrzn47alvnxm058f2hhxjis3fdw"; 12 12 }; 13 13 14 14 buildInputs = [ go ];
+6 -6
pkgs/applications/office/impressive/default.nix
··· 1 - { fetchurl, stdenv, python, makeWrapper, lib 2 - , xpdf, pillow, pyopengl, pygame 3 - , setuptools, mesa, freeglut }: 1 + { fetchurl, stdenv, pythonPackages, makeWrapper, lib 2 + , xpdf, mesa, freeglut }: 4 3 5 - let version = "0.10.5"; 6 - in 7 - stdenv.mkDerivation { 4 + let 5 + inherit (pythonPackages) python pyopengl pygame setuptools pillow; 6 + version = "0.10.5"; 7 + in stdenv.mkDerivation { 8 8 # This project was formerly known as KeyJNote. 9 9 # See http://keyj.s2000.ws/?p=77 for details. 10 10
+1 -1
pkgs/applications/search/catfish/default.nix
··· 1 - { stdenv, fetchurl, file, which, intltool, findutils, xdg_utils, pycairo, 1 + { stdenv, fetchurl, file, which, intltool, findutils, xdg_utils, 2 2 gnome3, pythonPackages, wrapGAppsHook }: 3 3 4 4 pythonPackages.buildPythonApplication rec {
+9 -11
pkgs/applications/version-management/meld/default.nix
··· 1 - { stdenv, fetchurl, itstool, buildPythonApplication, python27, intltool, wrapGAppsHook 2 - , libxml2, pygobject3, gobjectIntrospection, gtk3, gnome3, pycairo, cairo, file 1 + { stdenv, fetchurl, itstool, pythonPackages, intltool, wrapGAppsHook 2 + , libxml2, gobjectIntrospection, gtk3, gnome3, cairo, file 3 3 }: 4 4 5 5 6 6 let 7 7 minor = "3.16"; 8 8 version = "${minor}.2"; 9 - in 10 - 11 - buildPythonApplication rec { 9 + inherit (pythonPackages) python buildPythonApplication pycairo pygobject3; 10 + in buildPythonApplication rec { 12 11 name = "meld-${version}"; 13 - namePrefix = ""; 14 12 15 13 src = fetchurl { 16 14 url = "mirror://gnome/sources/meld/${minor}/meld-${version}.tar.xz"; ··· 18 16 }; 19 17 20 18 buildInputs = [ 21 - python27 intltool wrapGAppsHook itstool libxml2 19 + intltool wrapGAppsHook itstool libxml2 22 20 gnome3.gtksourceview gnome3.gsettings_desktop_schemas pycairo cairo 23 21 gnome3.defaultIconTheme gnome3.dconf file 24 22 ]; 25 23 propagatedBuildInputs = [ gobjectIntrospection pygobject3 gtk3 ]; 26 24 27 25 installPhase = '' 28 - mkdir -p "$out/lib/${python27.libPrefix}/site-packages" 26 + mkdir -p "$out/lib/${python.libPrefix}/site-packages" 29 27 30 - export PYTHONPATH="$out/lib/${python27.libPrefix}/site-packages:$PYTHONPATH" 28 + export PYTHONPATH="$out/lib/${python.libPrefix}/site-packages:$PYTHONPATH" 31 29 32 - ${python27}/bin/${python27.executable} setup.py install \ 33 - --install-lib=$out/lib/${python27.libPrefix}/site-packages \ 30 + ${python}/bin/${python.executable} setup.py install \ 31 + --install-lib=$out/lib/${python.libPrefix}/site-packages \ 34 32 --prefix="$out" 35 33 36 34 mkdir -p $out/share/gsettings-schemas/$name
+12 -10
pkgs/applications/version-management/reposurgeon/default.nix
··· 1 - {stdenv, fetchurl, makeWrapper, python27, python27Packages, git, 2 - docbook_xml_dtd_412, docbook_xml_xslt, asciidoc, xmlto, 3 - cython ? null, 4 - bazaar ? null, cvs ? null, darcs ? null, fossil ? null, 5 - mercurial ? null, monotone ? null, rcs ? null, src ? null, 6 - subversion ? null, cvs_fast_export ? null }: 1 + { stdenv, fetchurl, makeWrapper, python27Packages, git 2 + , docbook_xml_dtd_412, docbook_xml_xslt, asciidoc, xmlto 3 + , bazaar ? null, cvs ? null, darcs ? null, fossil ? null 4 + , mercurial ? null, monotone ? null, rcs ? null, src ? null 5 + , subversion ? null, cvs_fast_export ? null }: 6 + 7 7 with stdenv; with lib; 8 - mkDerivation rec { 8 + let 9 + inherit (python27Packages) python cython; 10 + in mkDerivation rec { 9 11 name = "reposurgeon-${meta.version}"; 10 12 meta = { 11 13 description = "A tool for editing version-control repository history"; ··· 33 35 makeFlagsArray=( 34 36 XML_CATALOG_FILES="${docbook_xml_dtd_412}/xml/dtd/docbook/catalog.xml ${docbook_xml_xslt}/xml/xsl/docbook/catalog.xml" 35 37 prefix="$out" 36 - pyinclude="-I${python27}/include/python2.7" 37 - pylib="-L${python27}/lib -lpython2.7" 38 + pyinclude="-I${python}/include/python2.7" 39 + pylib="-L${python}/lib -lpython2.7" 38 40 ) 39 41 ''; 40 42 ··· 51 53 [ out git bazaar cvs darcs fossil mercurial 52 54 monotone rcs src subversion cvs_fast_export ] 53 55 ); 54 - pythonpath = makeSearchPathOutput "lib" python27.sitePackages ( 56 + pythonpath = makeSearchPathOutput "lib" python.sitePackages ( 55 57 filter (x: x != null) 56 58 [ python27Packages.readline or null python27Packages.hglib or null ] 57 59 );
+1 -1
pkgs/applications/version-management/src/default.nix
··· 1 - { stdenv, fetchurl, python, rcs, git, pylint }: 1 + { stdenv, fetchurl, python, rcs, git }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "src-1.11";
+14 -13
pkgs/applications/video/miro/default.nix
··· 1 - { stdenv, fetchurl, python, buildPythonApplication, pythonPackages, pkgconfig 2 - , pyrex096, ffmpeg, boost, glib, pygobject, gtk2, webkitgtk2, libsoup, pygtk 3 - , taglib, sqlite, pycurl, mutagen, pycairo, pythonDBus, pywebkitgtk 1 + { stdenv, fetchurl, pkgconfig 2 + , pythonPackages, pyrex096, ffmpeg, boost, glib, gtk2, webkitgtk2, libsoup 3 + , taglib, sqlite 4 4 , libtorrentRasterbar, glib_networking, gsettings_desktop_schemas 5 5 , gst_python, gst_plugins_base, gst_plugins_good, gst_ffmpeg 6 6 , enableBonjour ? false, avahi ? null ··· 10 10 11 11 with stdenv.lib; 12 12 13 - buildPythonApplication rec { 13 + let 14 + inherit (pythonPackages) python buildPythonApplication; 15 + version = "6.0"; 16 + in buildPythonApplication rec { 14 17 name = "miro-${version}"; 15 - namePrefix = ""; 16 - version = "6.0"; 17 18 18 19 src = fetchurl { 19 20 url = "http://ftp.osuosl.org/pub/pculture.org/miro/src/${name}.tar.gz"; ··· 56 57 57 58 preInstall = '' 58 59 # see https://bitbucket.org/pypa/setuptools/issue/130/install_data-doesnt-respect-prefix 59 - ${python}/bin/${python.executable} setup.py install_data --root=$out 60 + ${python.interpreter} setup.py install_data --root=$out 60 61 sed -i '/data_files=data_files/d' setup.py 61 62 ''; 62 63 ··· 68 69 --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share" 69 70 ''; 70 71 71 - buildInputs = [ 72 - pkgconfig pyrex096 ffmpeg boost glib pygobject gtk2 webkitgtk2 libsoup 73 - pygtk taglib gsettings_desktop_schemas sqlite 72 + buildInputs = with pythonPackages; [ pygtk pygobject ] ++ [ 73 + pkgconfig pyrex096 ffmpeg boost glib gtk2 webkitgtk2 libsoup 74 + taglib gsettings_desktop_schemas sqlite 74 75 ]; 75 76 76 - propagatedBuildInputs = [ 77 - pygobject pygtk pycurl python.modules.sqlite3 mutagen pycairo pythonDBus 78 - pywebkitgtk libtorrentRasterbar 77 + propagatedBuildInputs = with pythonPackages; [ 78 + pygobject pygtk pycurl sqlite3 mutagen pycairo dbus 79 + pywebkitgtk] ++ [ libtorrentRasterbar 79 80 gst_python gst_plugins_base gst_plugins_good gst_ffmpeg 80 81 ] ++ optional enableBonjour avahi; 81 82
+5 -2
pkgs/applications/video/qarte/default.nix
··· 1 - { stdenv, fetchbzr, python, pyqt4, sip, rtmpdump, makeWrapper }: 1 + { stdenv, fetchbzr, pythonPackages, rtmpdump, makeWrapper }: 2 2 3 - stdenv.mkDerivation { 3 + let 4 + inherit (pythonPackages) python pyqt4; 5 + sip = pythonPackages.sip_4_16; 6 + in stdenv.mkDerivation { 4 7 name = "qarte-2.4.0"; 5 8 src = fetchbzr { 6 9 url = http://bazaar.launchpad.net/~vincent-vandevyvre/qarte/trunk;
+1 -3
pkgs/applications/virtualization/tini/default.nix
··· 7 7 url = "https://github.com/krallin/tini/archive/v0.8.3.tar.gz"; 8 8 sha256 ="1w7rj4crrcyv25idmh4asbp2sxzwyihy5mbpw384bzxjzaxn9xpa"; 9 9 }; 10 + patchPhase = "sed -i /tini-static/d CMakeLists.txt"; 10 11 NIX_CFLAGS_COMPILE = [ 11 12 "-DPR_SET_CHILD_SUBREAPER=36" 12 13 "-DPR_GET_CHILD_SUBREAPER=37" 13 14 ]; 14 15 buildInputs = [ cmake ]; 15 - postInstall = '' 16 - rm $out/bin/tini-static 17 - ''; 18 16 meta = with stdenv.lib; { 19 17 description = "A tiny but valid init for containers"; 20 18 homepage = https://github.com/krallin/tini;
-2
pkgs/build-support/kernel/modules-closure.sh
··· 1 1 source $stdenv/setup 2 2 3 - set -o pipefail 4 - 5 3 version=$(cd $kernel/lib/modules && ls -d *) 6 4 7 5 echo "kernel version is $version"
+2 -2
pkgs/data/fonts/emojione/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "emojione-${version}"; 5 - version = "1.2"; 5 + version = "1.3"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "eosrei"; 9 9 repo = "emojione-color-font"; 10 10 rev = "v${version}"; 11 - sha256 = "001c2bph4jcdg9arfmyxrscf1i09gvg44kqy28chjmhxzq99hpcg"; 11 + sha256 = "0hgs661g1j91lkafhrfx5ix7ymarh5bzcx34r2id6jl7dc3j41l3"; 12 12 }; 13 13 14 14 preBuild = ''
+2 -2
pkgs/data/misc/wireless-regdb/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "wireless-regdb-${version}"; 5 - version = "2016-05-02"; 5 + version = "2016-06-10"; 6 6 7 7 src = fetchgit { 8 - sha256 = "1qa741an242wi6gdikkr4ahanphfhwnjg8q2z3rsv8wdha91k895"; 8 + sha256 = "0im9likzpziircl96pql2jpyl8pfcqc5v0wgqy705j4ga5sx8pmn"; 9 9 url = https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git; 10 10 rev = "refs/tags/master-${version}"; 11 11 };
-1
pkgs/desktops/gnome-3/3.20/core/gnome-control-center/default.nix
··· 30 30 networkmanager modemmanager makeWrapper gnome3.gnome-bluetooth grilo ]; 31 31 32 32 preBuild = '' 33 - substituteInPlace tz.h --replace "/usr/share/zoneinfo/zone.tab" "${tzdata}/share/zoneinfo/zone.tab" 34 33 substituteInPlace panels/datetime/tz.h --replace "/usr/share/zoneinfo/zone.tab" "${tzdata}/share/zoneinfo/zone.tab" 35 34 36 35 # hack to make test-endianess happy
-4
pkgs/desktops/gnome-3/3.20/core/vte/default.nix
··· 19 19 20 20 enableParallelBuilding = true; 21 21 22 - postInstall = '' 23 - substituteInPlace $out/lib/libvte2_90.la --replace "-lncurses" "-L${ncurses.out}/lib -lncurses" 24 - ''; 25 - 26 22 meta = with stdenv.lib; { 27 23 homepage = http://www.gnome.org/; 28 24 description = "A library implementing a terminal emulator widget for GTK+";
+2 -2
pkgs/desktops/kde-4.14/applications/kate.nix
··· 1 - { stdenv, kde, kdelibs, kactivities, qjson, pyqt4, python, pykde4}: 1 + { stdenv, kde, kdelibs, kactivities, qjson, pythonPackages, pykde4}: 2 2 3 3 kde { 4 4 5 - buildInputs = [ kdelibs kactivities qjson pyqt4 python pykde4 ]; 5 + buildInputs = [ kdelibs kactivities qjson pythonPackages.pyqt4 pythonPackages.python pykde4 ]; 6 6 7 7 meta = { 8 8 description = "Kate, the KDE Advanced Text Editor, as well as KWrite";
+5 -4
pkgs/desktops/kde-4.14/kdebindings/pykde4.nix
··· 1 - { kde, kdelibs, python, pyqt4, kdepimlibs, shared_desktop_ontologies, 1 + { kde, kdelibs, pythonPackages, kdepimlibs, shared_desktop_ontologies, 2 2 polkit_qt4, boost, lndir, pkgconfig }: 3 3 4 - let pydir = "lib/python${python.majorVersion}"; in 5 - 6 - kde { 4 + let 5 + inherit (pythonPackages) python pyqt4; 6 + pydir = "lib/python${python.majorVersion}"; 7 + in kde { 7 8 8 9 patches = [ ./pykde4-gcc-5.patch ]; 9 10
+2 -2
pkgs/desktops/kde-4.14/kdeutils/print-manager.nix
··· 1 1 { kde, kdelibs 2 - , pythonPackages, cups, pyqt4, pykde4, pycups, system-config-printer }: 2 + , pythonPackages, cups, pykde4, system-config-printer }: 3 3 4 4 let s_c_p = system-config-printer.override { withGUI = false; }; in 5 5 ··· 7 7 buildInputs = [ kdelibs pythonPackages.python pythonPackages.wrapPython 8 8 ] ++ pythonPath; 9 9 10 - pythonPath = [ cups pyqt4 pykde4 pycups s_c_p ]; 10 + pythonPath = [ cups pythonPackages.pyqt4 pykde4 pythonPackages.pycups s_c_p ]; 11 11 12 12 # system-config-printer supplies some D-Bus policy that we need. 13 13 propagatedUserEnvPkgs = [ s_c_p ];
+4 -2
pkgs/development/interpreters/renpy/default.nix
··· 1 - { stdenv, fetchurl, python, cython, pkgconfig, wrapPython 2 - , pygame, SDL, libpng, ffmpeg, freetype, glew, mesa, fribidi, zlib 1 + { stdenv, fetchurl, pythonPackages, pkgconfig, SDL 2 + , libpng, ffmpeg, freetype, glew, mesa, fribidi, zlib 3 3 }: 4 + 5 + with pythonPackages; 4 6 5 7 stdenv.mkDerivation { 6 8 name = "renpy-6.17.6";
+3 -3
pkgs/development/libraries/cppzmq/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "cppzmq-${version}"; 5 - version = "2016-01-20"; 5 + version = "2016-07-18"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "zeromq"; 9 9 repo = "cppzmq"; 10 - rev = "68a7b09cfce01c4c279fba2cf91686fcfc566848"; 11 - sha256 = "00dsqqlm8mxhm8kfdspxfln0wzwkyywscnf264afw02k6xf28ndm"; 10 + rev = "92d2af6def80a01b76d5e73f073c439ad00ab757"; 11 + sha256 = "0lnwh314hh5ifad2sa2nz1g1ld1jc4vplm7clyvx304sjjvbvl27"; 12 12 }; 13 13 14 14 installPhase = ''
+6 -6
pkgs/development/libraries/folly/default.nix
··· 1 - { stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, boost, libevent, double_conversion, glog 2 - , google-gflags, python, libiberty, openssl }: 1 + { stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkgconfig, boost, libevent 2 + , double_conversion, glog, google-gflags, python, libiberty, openssl }: 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "folly-${version}"; 6 - version = "2016-04-29"; 6 + version = "2016.08.08.00"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "facebook"; 10 10 repo = "folly"; 11 - rev = "b31eb722e444ab0293a73fe9de3f94e657ca6de9"; 12 - sha256 = "0s95y0wnz4xbrkzbiksnb0n0d0qrkcsbssznng57kwlq8jlfka24"; 11 + rev = "v${version}"; 12 + sha256 = "0f9xdi8w2mbn6gxjfvpzh8i22ca8p11a2ss6qkw31yhdgd3s9087"; 13 13 }; 14 14 15 - nativeBuildInputs = [ autoreconfHook python ]; 15 + nativeBuildInputs = [ autoreconfHook python pkgconfig ]; 16 16 buildInputs = [ libiberty boost libevent double_conversion glog google-gflags openssl ]; 17 17 18 18 postPatch = "cd folly";
+2 -2
pkgs/development/libraries/icu/default.nix
··· 2 2 3 3 let 4 4 pname = "icu4c"; 5 - version = "56.1"; 5 + version = "57.1"; 6 6 in 7 7 stdenv.mkDerivation ({ 8 8 name = pname + "-" + version; ··· 10 10 src = fetchurl { 11 11 url = "http://download.icu-project.org/files/${pname}/${version}/${pname}-" 12 12 + (stdenv.lib.replaceChars ["."] ["_"] version) + "-src.tgz"; 13 - sha256 = "05j86714qaj0lvhvyr2s1xncw6sk0h2dcghb3iiwykbkbh8fjr1s"; 13 + sha256 = "10cmkqigxh9f73y7q3p991q6j8pph0mrydgj11w1x6wlcp5ng37z"; 14 14 }; 15 15 16 16 outputs = [ "dev" "out" ];
+5
pkgs/development/libraries/jemalloc/default.nix
··· 8 8 sha256 = "1bmdr51wxiir595k2r6z9a7rcgm42kkgnr586xir7vdcndr3pwf8"; 9 9 }; 10 10 11 + # By default, jemalloc puts a je_ prefix onto all its symbols on OSX, which 12 + # then stops downstream builds (mariadb in particular) from detecting it. This 13 + # option should remove the prefix and give us a working jemalloc. 14 + configureFlags = stdenv.lib.optional stdenv.isDarwin "--with-jemalloc-prefix="; 15 + 11 16 meta = with stdenv.lib; { 12 17 homepage = http://www.canonware.com/jemalloc/index.html; 13 18 description = "General purpose malloc(3) implementation";
-6
pkgs/development/libraries/libbsd/default.nix
··· 9 9 sha256 = "02i5brb2007sxq3mn862mr7yxxm0g6nj172417hjyvjax7549xmj"; 10 10 }; 11 11 12 - patchPhase = '' 13 - substituteInPlace Makefile \ 14 - --replace "/usr" "$out" \ 15 - --replace "{exec_prefix}" "{prefix}" 16 - ''; 17 - 18 12 meta = { 19 13 description = "Common functions found on BSD systems"; 20 14 homepage = http://libbsd.freedesktop.org/;
+28
pkgs/development/libraries/libdynd/default.nix
··· 1 + { stdenv, fetchFromGitHub, cmake }: 2 + 3 + let version = "0.7.2"; in 4 + stdenv.mkDerivation { 5 + name = "libdynd-${version}"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "libdynd"; 9 + repo = "libdynd"; 10 + rev = "v${version}"; 11 + sha256 = "0fkd5rawqni1cq51fmr76iw7ll4fmbahfwv4rglnsabbkylf73pr"; 12 + }; 13 + 14 + cmakeFlags = [ 15 + "-DDYND_BUILD_BENCHMARKS=OFF" 16 + ]; 17 + 18 + buildInputs = [ cmake ]; 19 + 20 + outputs = [ "dev" "out" ]; 21 + outputDoc = "dev"; 22 + 23 + meta = with stdenv.lib; { 24 + description = "C++ dynamic ndarray library, with Python exposure."; 25 + homepage = http://libdynd.org; 26 + license = licenses.bsd2; 27 + }; 28 + }
+2 -2
pkgs/development/libraries/libvdpau-va-gl/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "libvdpau-va-gl-${version}"; 6 - version = "0.3.6"; 6 + version = "0.4.0"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "i-rinat"; 10 10 repo = "libvdpau-va-gl"; 11 11 rev = "v${version}"; 12 - sha256 = "06lcg6zfj6mn17svz7s0y6ijdah55l9rnp9r440lcbixivjbgyn5"; 12 + sha256 = "1y511jxs0df1fqzjcvb6zln7nbmchv1g6z3lw0z9nsf64ziycj8k"; 13 13 }; 14 14 15 15 nativeBuildInputs = [ cmake pkgconfig ];
+3 -5
pkgs/development/libraries/science/math/ipopt/default.nix
··· 1 1 { stdenv, fetchurl, unzip, openblas, gfortran }: 2 2 3 3 stdenv.mkDerivation rec { 4 - version = "3.12.4"; 4 + version = "3.12.6"; 5 5 name = "ipopt-${version}"; 6 6 7 7 src = fetchurl { 8 8 url = "http://www.coin-or.org/download/source/Ipopt/Ipopt-${version}.zip"; 9 - sha256 = "0hxmpi3zx5zgv2ijscdvc40xf88hx5if0d9sgch155z70g15wx0l"; 9 + sha256 = "0lx09h1757s5jppwnxwblcjk0biqjxy7yaf3z4vfqbl4rl93avs0"; 10 10 }; 11 11 12 - preConfigure = '' 13 - export CXXDEFS="-DHAVE_RAND -DHAVE_CSTRING -DHAVE_CSTDIO" 14 - ''; 12 + CXXDEFS = [ "-DHAVE_RAND" "-DHAVE_CSTRING" "-DHAVE_CSTDIO" ]; 15 13 16 14 configureFlags = [ 17 15 "--with-blas-lib=-lopenblas"
+3 -5
pkgs/development/libraries/xgboost/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "xgboost-${version}"; 5 - version = "2016-05-14"; 5 + version = "0.60"; 6 6 7 7 # needs submodules 8 8 src = fetchgit { 9 9 url = "https://github.com/dmlc/xgboost"; 10 - rev = "9c26566eb09733423f821f139938ff4105c3775d"; 11 - sha256 = "1d7lnbwxwakclqqfjwyk9w3wd2clkihdr6ljs5z08ydiaspri093"; 10 + rev = "refs/tags/v${version}"; 11 + sha256 = "0536vfl59n9vlagl1cpdl06c9y19dscwhwdzvi27zk5nc5qb6rdq"; 12 12 }; 13 - 14 - postPatch = "sed '1i#include <cmath>' -i src/tree/param.h"; 15 13 16 14 enableParallelBuilding = true; 17 15
+4 -1
pkgs/development/python-modules/pyqt/4.x.nix
··· 40 40 41 41 enableParallelBuilding = true; 42 42 43 - passthru.pythonPath = []; 43 + passthru = { 44 + pythonPath = []; 45 + qt = qt4; 46 + }; 44 47 45 48 meta = { 46 49 description = "Python bindings for Qt";
+42
pkgs/development/tools/java/visualvm/default.nix
··· 1 + { stdenv, fetchzip, lib, makeWrapper, jdk, gtk }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "visualvm-1.3.8"; 5 + 6 + src = fetchzip { 7 + url = "https://java.net/projects/visualvm/downloads/download/release138/visualvm_138.zip"; 8 + sha256 = "09wsi85z1g7bwyfhb37vw0gy3wl0j1cy35aj59rg7067q262gy1y"; 9 + }; 10 + 11 + nativeBuildInputs = [ makeWrapper ]; 12 + 13 + installPhase = '' 14 + rm bin/visualvm.exe 15 + 16 + substituteInPlace etc/visualvm.conf \ 17 + --replace "#visualvm_jdkhome=" "visualvm_jdkhome=" \ 18 + --replace "/path/to/jdk" "${jdk.home}" \ 19 + --replace 'visualvm_default_options="' 'visualvm_default_options="--laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel -J-Dawt.useSystemAAFontSettings=lcd -J-Dswing.aatext=true ' 20 + 21 + cp -r . $out 22 + 23 + # To get the native LAF, JVM needs to see GTK’s .so-s. 24 + wrapProgram $out/bin/visualvm \ 25 + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ gtk ]}" 26 + ''; 27 + 28 + meta = with stdenv.lib; { 29 + description = "A visual interface for viewing information about Java applications"; 30 + longDescription = '' 31 + VisualVM is a visual tool integrating several commandline JDK 32 + tools and lightweight profiling capabilities. Designed for both 33 + production and development time use, it further enhances the 34 + capability of monitoring and performance analysis for the Java 35 + SE platform. 36 + ''; 37 + homepage = https://visualvm.java.net/; 38 + license = licenses.gpl2ClasspathPlus; 39 + platforms = platforms.all; 40 + maintainers = with maintainers; [ michalrus ]; 41 + }; 42 + }
+6 -16
pkgs/development/tools/pypi2nix/default.nix
··· 3 3 4 4 let 5 5 deps = import ./deps.nix { inherit fetchurl; }; 6 - version = "1.3.0"; 6 + version = "1.4.0"; 7 7 src = fetchurl { 8 8 url = "https://github.com/garbas/pypi2nix/archive/v${version}.tar.gz"; 9 - sha256 = "0mk9v4s51jdrrcs78v3cm131pz3fdhjkd4cmmfn1kkcfcpqzw6j8"; 10 - 9 + sha256 = "0w5f10p4d4ppwg2plbbrmqwmi1ycgpaidyajza11c9svka014zrb"; 11 10 }; 12 11 in stdenv.mkDerivation rec { 13 12 name = "pypi2nix-${version}"; 14 13 srcs = with deps; [ 15 14 src 16 - pip 17 15 click 18 - setuptools 19 - zcbuildout 20 - zcrecipeegg 21 16 requests 22 17 ]; # six attrs effect ]; 23 18 buildInputs = [ python zip makeWrapper ]; ··· 26 21 postUnpack = '' 27 22 mkdir -p $out/pkgs 28 23 29 - mv pip-*/pip $out/pkgs/pip 30 24 mv click-*/click $out/pkgs/click 31 - mv setuptools-*/setuptools $out/pkgs/setuptools 32 - mv zc.buildout-*/src/zc $out/pkgs/zc 33 - mv zc.recipe.egg-*/src/zc/recipe $out/pkgs/zc/recipe 34 25 # mv six-*/six.py $out/pkgs/ 35 26 # mv attrs-*/src/attr $out/pkgs/attrs 36 27 # mv effect-*/effect $out/pkgs/effect 37 28 mv requests-*/requests $out/pkgs/ 38 29 39 - if [ -z "$IN_NIX_SHELL" ]; then 30 + if [ "$IN_NIX_SHELL" != "1" ]; then 40 31 if [ -e git-export ]; then 41 32 mv git-export/src/pypi2nix $out/pkgs/pypi2nix 42 33 else ··· 48 39 commonPhase = '' 49 40 mkdir -p $out/bin 50 41 51 - echo "#!${python}/bin/python3" > $out/bin/pypi2nix 52 - echo "import pypi2nix.cli" >> $out/bin/pypi2nix 53 - echo "pypi2nix.cli.main()" >> $out/bin/pypi2nix 42 + echo "#!${python.interpreter}" > $out/bin/pypi2nix 43 + echo "import pypi2nix.cli" >> $out/bin/pypi2nix 44 + echo "pypi2nix.cli.main()" >> $out/bin/pypi2nix 54 45 55 46 chmod +x $out/bin/pypi2nix 56 47 ··· 81 72 homepage = https://github.com/garbas/pypi2nix; 82 73 description = "A tool that generates nix expressions for your python packages, so you don't have to."; 83 74 maintainers = with stdenv.lib.maintainers; [ garbas ]; 84 - platforms = with stdenv.lib.platforms; unix; 85 75 }; 86 76 }
+8
pkgs/development/tools/pypi2nix/deps.nix
··· 17 17 zcrecipeeggVersion = "2.0.3"; 18 18 zcrecipeeggHash = "69a8ce276029390a36008150444aa0b4"; 19 19 20 + buildoutrequirementsVersion = "0.2.2"; 21 + buildoutrequirementsHash = "0b4e53d871b167eaac0846942221af00"; 22 + 20 23 wheelVersion = "0.29.0"; 21 24 wheelHash = "555a67e4507cedee23a0deb9651e452f"; 22 25 ··· 69 72 zcrecipeegg = fetchurl { 70 73 url = "https://pypi.python.org/packages/08/5e/ade683d229d77ed457017145672f1be4fd98be60f1a5344109a4e66a7d54/zc.recipe.egg-${zcrecipeeggVersion}.tar.gz"; 71 74 md5 = zcrecipeeggHash; 75 + }; 76 + 77 + buildoutrequirements = fetchurl { 78 + url = "https://github.com/garbas/buildout.requirements/archive/1e2977e2d254184399401746736d2b17c912b350.tar.gz"; 79 + md5 = buildoutrequirementsHash; 72 80 }; 73 81 74 82 wheel = fetchurl {
+3 -3
pkgs/games/crawl/default.nix
··· 3 3 , tileMode ? false 4 4 }: 5 5 6 - let version = "0.18.0"; 7 - in 8 6 stdenv.mkDerivation rec { 9 7 name = "crawl-${version}" + (if tileMode then "-tiles" else ""); 8 + version = "0.18.1"; 9 + 10 10 src = fetchFromGitHub { 11 11 owner = "crawl-ref"; 12 12 repo = "crawl-ref"; 13 13 rev = version; 14 - sha256 = "0mgg9lzy7lp5bhp8340a6c6qyz7yiz80wb39gknls8hvv0f6i0si"; 14 + sha256 = "1cg5mxhx0lfhadls6n8avcpkjx08nqf1y085li97zqxl3gjaj64j"; 15 15 }; 16 16 17 17 patches = [ ./crawl_purify.patch ];
+2 -2
pkgs/games/dwarf-fortress/default.nix
··· 5 5 callPackage_i686 = pkgsi686Linux.newScope self; 6 6 7 7 self = rec { 8 - dwarf-fortress-original = callPackage_i686 ./game.nix { }; 8 + dwarf-fortress-original = callPackage ./game.nix { }; 9 9 10 10 dfhack = callPackage_i686 ./dfhack { 11 11 inherit (pkgsi686Linux.perlPackages) XMLLibXML XMLLibXSLT; ··· 14 14 }; 15 15 }; 16 16 17 - dwarf-fortress-unfuck = callPackage_i686 ./unfuck.nix { }; 17 + dwarf-fortress-unfuck = callPackage ./unfuck.nix { }; 18 18 19 19 dwarf-fortress = callPackage ./wrapper { 20 20 themes = {
+7 -5
pkgs/games/dwarf-fortress/dfhack/default.nix
··· 5 5 }: 6 6 7 7 let 8 - dfVersion = "0.42.06"; 8 + dfVersion = "0.43.03"; 9 9 version = "${dfVersion}-r1"; 10 + 10 11 rev = "refs/tags/${version}"; 11 12 # revision of library/xml submodule 12 13 xmlRev = "98cc1e01886aaea161d651cf97229ad08e9782b0"; ··· 14 15 fakegit = writeScriptBin "git" '' 15 16 #! ${stdenv.shell} 16 17 if [ "$*" = "describe --tags --long" ]; then 17 - echo "${dfVersion}-unknown" 18 + echo "${version}-unknown" 18 19 elif [ "$*" = "rev-parse HEAD" ]; then 19 20 if [ "$(dirname "$(pwd)")" = "xml" ]; then 20 21 echo "${xmlRev}" ··· 35 36 src = fetchgit { 36 37 url = "https://github.com/DFHack/dfhack"; 37 38 inherit rev; 38 - sha256 = "1p234m8r84cdr4bx622hcd13mshnjc5bw7hdxhv18waaxvdpv6jh"; 39 + sha256 = "0m5kqpaz0ypji4c32w0hhbsicvgvnjh56pqvq7af6pqqnyg1nzcx"; 39 40 }; 40 41 41 42 patches = [ ./use-system-libraries.patch ]; 42 - postPatch = "sed '1i#include <math.h>' -i plugins/3dveins.cpp"; 43 43 44 44 nativeBuildInputs = [ cmake perl XMLLibXML XMLLibXSLT fakegit ]; 45 45 # we can't use native Lua; upstream uses private headers 46 46 buildInputs = [ zlib jsoncpp protobuf tinyxml ]; 47 47 48 + cmakeFlags = [ "-DEXTERNAL_TINYXML=ON" ]; 49 + 48 50 enableParallelBuilding = true; 49 51 50 - passthru = { inherit dfVersion; }; 52 + passthru = { inherit version dfVersion; }; 51 53 52 54 meta = with stdenv.lib; { 53 55 description = "Memory hacking library for Dwarf Fortress and a set of tools that use it";
+15 -27
pkgs/games/dwarf-fortress/dfhack/use-system-libraries.patch
··· 1 1 diff --git a/CMakeLists.txt b/CMakeLists.txt 2 - index 46fd565..254c3c0 100644 2 + index 956edfc..fb0e6bc 100644 3 3 --- a/CMakeLists.txt 4 4 +++ b/CMakeLists.txt 5 5 @@ -160,8 +160,6 @@ ELSEIF(MSVC) ··· 11 11 ADD_DEFINITIONS(-DLUA_BUILD_AS_DLL) 12 12 13 13 if(APPLE) 14 - @@ -182,11 +180,8 @@ else() 14 + @@ -182,10 +180,8 @@ else() 15 15 set(ZLIB_ROOT /usr/lib/i386-linux-gnu) 16 16 endif() 17 17 find_package(ZLIB REQUIRED) ··· 19 19 include_directories(depends/lua/include) 20 20 include_directories(depends/md5) 21 21 -include_directories(depends/jsoncpp) 22 - -include_directories(depends/tinyxml) 23 - include_directories(depends/tthread) 24 - include_directories(${ZLIB_INCLUDE_DIRS}) 25 - include_directories(depends/clsocket/src) 22 + 23 + # Support linking against external tinyxml 24 + # If we find an external tinyxml, set the DFHACK_TINYXML variable to "tinyxml" 26 25 diff --git a/depends/CMakeLists.txt b/depends/CMakeLists.txt 27 - index bf0345b..2a1a852 100644 26 + index d8442b1..b47dc2a 100644 28 27 --- a/depends/CMakeLists.txt 29 28 +++ b/depends/CMakeLists.txt 30 - @@ -1,10 +1,7 @@ 29 + @@ -1,7 +1,6 @@ 31 30 #list depends here. 32 31 add_subdirectory(lua) 33 32 add_subdirectory(md5) 34 33 -add_subdirectory(protobuf) 35 - -add_subdirectory(tinyxml) 34 + 35 + # Don't build tinyxml if it's being externally linked against. 36 + if(NOT TinyXML_FOUND) 37 + @@ -9,7 +8,6 @@ if(NOT TinyXML_FOUND) 38 + endif() 39 + 36 40 add_subdirectory(tthread) 37 41 -add_subdirectory(jsoncpp) 38 42 # build clsocket static and only as a dependency. Setting those options here overrides its own default settings. 39 43 OPTION(CLSOCKET_SHARED "Build clsocket lib as shared." OFF) 40 44 OPTION(CLSOCKET_DEP_ONLY "Build for use inside other CMake projects as dependency." ON) 41 45 diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt 42 - index 54300ec..128bfd1 100644 46 + index d3e3480..5d4b572 100644 43 47 --- a/library/CMakeLists.txt 44 48 +++ b/library/CMakeLists.txt 45 49 @@ -223,10 +223,10 @@ LIST(APPEND PROJECT_SOURCES ${PROJECT_PROTO_SRCS}) ··· 55 59 ) 56 60 57 61 # Merge headers into sources 58 - @@ -269,12 +269,12 @@ IF(UNIX) 59 - ENDIF() 60 - 61 - IF(APPLE) 62 - - SET(PROJECT_LIBS dl dfhack-md5 dfhack-tinyxml dfhack-tinythread) 63 - + SET(PROJECT_LIBS dl dfhack-md5 tinyxml dfhack-tinythread) 64 - ELSEIF(UNIX) 65 - - SET(PROJECT_LIBS rt dl dfhack-md5 dfhack-tinyxml dfhack-tinythread) 66 - + SET(PROJECT_LIBS rt dl dfhack-md5 tinyxml dfhack-tinythread) 67 - ELSE(WIN32) 68 - #FIXME: do we really need psapi? 69 - - SET(PROJECT_LIBS psapi dfhack-md5 dfhack-tinyxml dfhack-tinythread) 70 - + SET(PROJECT_LIBS psapi dfhack-md5 tinyxml dfhack-tinythread) 71 - ENDIF() 72 - 73 - ADD_LIBRARY(dfhack-version STATIC DFHackVersion.cpp) 74 62 diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt 75 - index dd1c634..7bd8c17 100644 63 + index c24b940..afeb888 100644 76 64 --- a/plugins/CMakeLists.txt 77 65 +++ b/plugins/CMakeLists.txt 78 66 @@ -47,11 +47,11 @@ STRING(REPLACE ".proto" ".pb.h" PROJECT_PROTO_HDRS "${PROJECT_PROTOS}")
+16 -8
pkgs/games/dwarf-fortress/game.nix
··· 3 3 }: 4 4 5 5 let 6 - baseVersion = "42"; 7 - patchVersion = "06"; 6 + baseVersion = "43"; 7 + patchVersion = "05"; 8 8 dfVersion = "0.${baseVersion}.${patchVersion}"; 9 9 libpath = lib.makeLibraryPath [ stdenv.cc.cc stdenv.glibc dwarf-fortress-unfuck SDL ]; 10 + platform = 11 + if stdenv.system == "x86_64-linux" then "linux" 12 + else if stdenv.system == "i686-linux" then "linux32" 13 + else throw "Unsupported platform"; 14 + sha256 = 15 + if stdenv.system == "x86_64-linux" then "1r0b96yrdf24m9476k5x7rmp3faxr0kfwwdf35agpvlb1qbi6v45" 16 + else if stdenv.system == "i686-linux" then "16l1lydpkbnl3zhz4i2snmjk7pps8vmw3zv0bjgr8dncbsrycd03" 17 + else throw "Unsupported platform"; 10 18 11 19 in 12 20 ··· 16 24 name = "dwarf-fortress-original-${dfVersion}"; 17 25 18 26 src = fetchurl { 19 - url = "http://www.bay12games.com/dwarves/df_${baseVersion}_${patchVersion}_linux.tar.bz2"; 20 - sha256 = "17y9zq9xn1g0a501w4vkinb0n2yjiczsi2g7r6zggr41pxrqxpq3"; 27 + url = "http://www.bay12games.com/dwarves/df_${baseVersion}_${patchVersion}_${platform}.tar.bz2"; 28 + inherit sha256; 21 29 }; 22 30 23 31 installPhase = '' ··· 39 47 40 48 passthru = { inherit baseVersion patchVersion dfVersion; }; 41 49 42 - meta = { 50 + meta = with stdenv.lib; { 43 51 description = "A single-player fantasy game with a randomly generated adventure world"; 44 52 homepage = http://www.bay12games.com/dwarves; 45 - license = lib.licenses.unfreeRedistributable; 46 - platforms = [ "i686-linux" ]; 47 - maintainers = with lib.maintainers; [ a1russell robbinch roconnor the-kenny abbradar ]; 53 + license = licenses.unfreeRedistributable; 54 + platforms = platforms.linux; 55 + maintainers = with maintainers; [ a1russell robbinch roconnor the-kenny abbradar ]; 48 56 }; 49 57 }
+3 -3
pkgs/games/dwarf-fortress/themes/cla.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "cla-theme-${version}"; 8 - version = "42.06-v22"; 8 + version = "43.04-v23"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "DFgraphics"; 12 12 repo = "CLA"; 13 13 rev = version; 14 - sha256 = "1rr52j1wns17axc27fab0wn0338axzwkqp7cpa690kb3bl1y0pf5"; 14 + sha256 = "0a88jkcli9iq0prg5w0xh1cyms0b7dnc9rdahn7wy7fyakyp7s27"; 15 15 }; 16 16 17 17 installPhase = '' ··· 19 19 cp -r data raw $out 20 20 ''; 21 21 22 - passthru.dfVersion = "0.42.06"; 22 + passthru.dfVersion = "0.43.05"; 23 23 24 24 preferLocalBuild = true; 25 25
+3 -3
pkgs/games/dwarf-fortress/themes/phoebus.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 name = "phoebus-theme-${version}"; 8 - version = "42.06a"; 8 + version = "43.03"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "DFgraphics"; 12 12 repo = "Phoebus"; 13 13 rev = version; 14 - sha256 = "1mkj882mf1lvjs2b7jxfazym9fl1y20slbfi1lgqzbp1872aaxi0"; 14 + sha256 = "1mga5w3mks3bm6qch7azffr51g3q26za7hnas4qmxfs3m56bjav7"; 15 15 }; 16 16 17 17 installPhase = '' ··· 19 19 cp -r data raw $out 20 20 ''; 21 21 22 - passthru.dfVersion = "0.42.06"; 22 + passthru.dfVersion = "0.43.05"; 23 23 24 24 preferLocalBuild = true; 25 25
+5 -7
pkgs/games/dwarf-fortress/unfuck.nix
··· 4 4 }: 5 5 6 6 stdenv.mkDerivation { 7 - name = "dwarf_fortress_unfuck-2016-04-22"; 7 + name = "dwarf_fortress_unfuck-2016-07-13"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "svenstaro"; 11 11 repo = "dwarf_fortress_unfuck"; 12 - rev = "dde40a2c619eac119b6db1bcd0c8d8612472f866"; 13 - sha256 = "12bqh3k4wsk1c0bz2zly8h0ilbsdmsbwr9cdjc6i7liwg9906g7i"; 12 + rev = "d6a4ee67e7b41bec1caa87548640643db35a6080"; 13 + sha256 = "17p7jzmwd5z54wn6bxmic0i8y8mma3q359zcy3r9x2mp2wv1yd7p"; 14 14 }; 15 - 16 - postPatch = "sed '1i#include <math.h>' -i g_src/ttf_manager.cpp"; 17 15 18 16 cmakeFlags = [ 19 17 "-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include" ··· 32 30 33 31 enableParallelBuilding = true; 34 32 35 - passthru.dfVersion = "0.42.06"; 33 + passthru.dfVersion = "0.43.05"; 36 34 37 35 meta = with stdenv.lib; { 38 36 description = "Unfucked multimedia layer for Dwarf Fortress"; 39 37 homepage = https://github.com/svenstaro/dwarf_fortress_unfuck; 40 38 license = licenses.free; 41 - platforms = [ "i686-linux" ]; 39 + platforms = platforms.linux; 42 40 maintainers = with maintainers; [ abbradar ]; 43 41 }; 44 42 }
+2 -2
pkgs/games/factorio/fetch.nix
··· 1 - { stdenv, curl, cacert 1 + { stdenv, curl, xidel, cacert 2 2 # Begin download parameters 3 3 , username ? "" 4 4 , password ? "" ··· 18 18 stdenv.mkDerivation { 19 19 name = "factorio.tar.gz"; 20 20 21 - buildInputs = [ curl ]; 21 + buildInputs = [ curl xidel ]; 22 22 23 23 inherit url loginUrl username password cacert; 24 24
+16 -5
pkgs/games/factorio/fetch.sh
··· 9 9 --max-redirs 20 \ 10 10 --retry 3 \ 11 11 --cacert $cacert/etc/ssl/certs/ca-bundle.crt \ 12 + -b cookies \ 13 + -c cookies \ 12 14 $curlOpts \ 13 15 $NIX_CURL_FLAGS" 14 16 15 17 # We don't want the password to be on any program's argv, as it may be 16 18 # visible in /proc. Writing it to file with echo should be safe, since 17 19 # it's a shell builtin. 18 - echo "password=$password" > password 20 + echo -n "$password" > password 19 21 # Might as well hide the username as well. 20 - echo "username-or-email=$username" > username 22 + echo -n "$username" > username 23 + 24 + # Get a CSRF token. 25 + csrf=$($curl $loginUrl | xidel - -e '//input[@id="csrf_token"]/@value') 21 26 22 27 # Log in. We don't especially care about the result, but let's check if login failed. 23 - $curl -c cookies -d @username -d @password $loginUrl -D headers > /dev/null 28 + $curl --data-urlencode csrf_token="$csrf" \ 29 + --data-urlencode username_or_email@username \ 30 + --data-urlencode password@password \ 31 + -d action=Login \ 32 + $loginUrl -D headers > /dev/null 24 33 25 - if grep -q 'Location: /' headers; then 34 + if grep -q 'Location: https://' headers; then 26 35 # Now download. We need --insecure for this, but the sha256 should cover us. 27 - $curl -b cookies --insecure --location $url > $out 36 + $curl --insecure --location $url > $out 37 + set +x 28 38 else 39 + set +x 29 40 echo 'Login failed' 30 41 echo 'Please set username and password with config.nix,' 31 42 echo 'or /etc/nix/nixpkgs-config.nix if on NixOS.'
+1 -3
pkgs/games/mnemosyne/default.nix
··· 1 1 { stdenv 2 2 , fetchurl 3 - , buildPythonApplication 4 - , pyqt4 5 3 , pythonPackages 6 4 }: 7 5 let 8 6 version = "2.3.2"; 9 - in buildPythonApplication rec { 7 + in pythonPackages.buildPythonApplication rec { 10 8 name = "mnemosyne-${version}"; 11 9 src = fetchurl { 12 10 url = "http://sourceforge.net/projects/mnemosyne-proj/files/mnemosyne/${name}/Mnemosyne-${version}.tar.gz";
+3 -3
pkgs/games/quake3/ioquake/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 name = "ioquake3-git-${version}"; 7 - version = "2016-04-05"; 7 + version = "2016-08-11"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "ioquake"; 11 11 repo = "ioq3"; 12 - rev = "1f6703821f11be9c711c6ee42371ab290dd12776"; 13 - sha256 = "0jbn4lv85khfcmn1dc3mrx7zxldj3p4cggx85hdfpiwmnsjl4w67"; 12 + rev = "1cf0b21cda562bade9152958f1525e5ac281ab9c"; 13 + sha256 = "104yrgi9dnfb493pm9wvk2kn80nazcr1nllb5vd7di66jnvcjks0"; 14 14 }; 15 15 16 16 nativeBuildInputs = [ which pkgconfig ];
+18
pkgs/games/steam/runtime-generated.nix
··· 1255 1255 }; 1256 1256 } 1257 1257 rec { 1258 + name = "libvulkan1_1.0.3~git20160215-0.1+steamos5+srt1_amd64"; 1259 + md5 = "4d9ac7966de8160a13817291206b51a4"; 1260 + url = "mirror://steamrt/pool/main/v/vulkan-loader/libvulkan1_1.0.3~git20160215-0.1+steamos5+srt1_amd64.deb"; 1261 + source = fetchurl { 1262 + inherit url md5; 1263 + name = "libvulkan1.deb"; 1264 + }; 1265 + } 1266 + rec { 1258 1267 name = "libwind0-heimdal_1.6~git20120311.dfsg.1-2+srt4_amd64"; 1259 1268 md5 = "a1e5b4a8f8200feef82dab976f1b4e5d"; 1260 1269 url = "mirror://steamrt/pool/main/h/heimdal/libwind0-heimdal_1.6~git20120311.dfsg.1-2+srt4_amd64.deb"; ··· 2991 3000 source = fetchurl { 2992 3001 inherit url md5; 2993 3002 name = "libvpx1.deb"; 3003 + }; 3004 + } 3005 + rec { 3006 + name = "libvulkan1_1.0.3~git20160215-0.1+steamos5+srt1_i386"; 3007 + md5 = "de2c787fcc443fb989b1862367a2e0c7"; 3008 + url = "mirror://steamrt/pool/main/v/vulkan-loader/libvulkan1_1.0.3~git20160215-0.1+steamos5+srt1_i386.deb"; 3009 + source = fetchurl { 3010 + inherit url md5; 3011 + name = "libvulkan1.deb"; 2994 3012 }; 2995 3013 } 2996 3014 rec {
+1 -1
pkgs/games/steam/runtime.nix
··· 9 9 inputFile = writeText "steam-runtime.json" (builtins.toJSON input); 10 10 11 11 in stdenv.mkDerivation { 12 - name = "steam-runtime-2016-03-03"; 12 + name = "steam-runtime-2016-08-13"; 13 13 14 14 nativeBuildInputs = [ python2 dpkg binutils ]; 15 15
+3 -3
pkgs/games/the-powder-toy/default.nix
··· 1 1 { stdenv, fetchFromGitHub, scons, pkgconfig, SDL, lua, fftwFloat }: 2 2 3 - let version = "91.3.328"; 4 - in 5 3 stdenv.mkDerivation rec { 6 4 name = "the-powder-toy-${version}"; 5 + version = "91.5.330"; 6 + 7 7 src = fetchFromGitHub { 8 8 owner = "simtr"; 9 9 repo = "The-Powder-Toy"; 10 10 rev = "v${version}"; 11 - sha256 = "0krg4d2m8cnfabm5qq7wr1y53h21i49xjcggzg98xjd0972zvfrk"; 11 + sha256 = "19m7jyg3pnppymvr6lz454mjiw18hvldpdhi33596m9ji3nrq8x7"; 12 12 }; 13 13 14 14 patches = [ ./fix-env.patch ];
+2 -2
pkgs/games/wesnoth/dev.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "wesnoth"; 8 - version = "1.13.4"; 8 + version = "1.13.5"; 9 9 10 10 name = "${pname}-${version}"; 11 11 12 12 src = fetchurl { 13 13 url = "mirror://sourceforge/sourceforge/${pname}/${name}.tar.bz2"; 14 - sha256 = "1ys25ijwphld11002cad9iz5mc5rqazmjn8866l8gcdfrrhk943s"; 14 + sha256 = "15hvf06r7086plwmagh89plcxal2zql8k4mg0yf1zgwjvdz284dx"; 15 15 }; 16 16 17 17 nativeBuildInputs = [ cmake pkgconfig ];
+1 -1
pkgs/misc/drivers/hplip/3.15.9.nix
··· 3 3 , cups, zlib, libjpeg, libusb1, pythonPackages, sane-backends, dbus, usbutils 4 4 , net_snmp, polkit 5 5 , bash, coreutils, utillinux 6 - , qtSupport ? true, qt4, pyqt4 6 + , qtSupport ? true, qt4 7 7 , withPlugin ? false 8 8 }: 9 9
+1 -1
pkgs/misc/drivers/hplip/default.nix
··· 3 3 , cups, zlib, libjpeg, libusb1, pythonPackages, sane-backends, dbus, usbutils 4 4 , net_snmp, openssl, polkit 5 5 , bash, coreutils, utillinux 6 - , qtSupport ? true, qt4, pyqt4 6 + , qtSupport ? true, qt4 7 7 , withPlugin ? false 8 8 }: 9 9
+5 -5
pkgs/misc/drivers/m3d-linux/default.nix pkgs/misc/drivers/m33-linux/default.nix
··· 1 1 { stdenv, fetchFromGitHub }: 2 2 3 3 stdenv.mkDerivation { 4 - name = "M3D-Linux-2016-01-20"; 4 + name = "M33-Linux-2016-06-23"; 5 5 6 6 src = fetchFromGitHub { 7 7 owner = "donovan6000"; 8 8 repo = "M3D-Linux"; 9 - rev = "d0bbb0379c52a88af55740a937edc92af162cdf6"; 10 - sha256 = "0fwzb9mf04bw5wxabh3js7nir60kfq8iz7kcigw6c233aadwg03i"; 9 + rev = "5c1b90c13d260771dac970b49fdc9f840fee5f4a"; 10 + sha256 = "1bvbclkyfcv23vxb4s1zssvygklks1nhp4iwi4v90c1fvyz0356f"; 11 11 }; 12 12 13 13 installPhase = '' 14 - install -Dm755 m3d-linux $out/bin/m3d-linux 15 - install -Dm755 90-m3d-local.rules $out/lib/udev/rules.d/90-m3d-local.rules 14 + install -Dm755 m33-linux $out/bin/m33-linux 15 + install -Dm755 90-micro-3d-local.rules $out/lib/udev/rules.d/90-micro-3d-local.rules 16 16 ''; 17 17 18 18 meta = with stdenv.lib; {
+3 -3
pkgs/misc/emulators/wine/sources.nix
··· 30 30 }; 31 31 32 32 unstable = fetchurl rec { 33 - version = "1.9.14"; 33 + version = "1.9.16"; 34 34 url = "mirror://sourceforge/wine/wine-${version}.tar.bz2"; 35 - sha256 = "0b65j8lc2axyc7lpa5rjr7vbjz4y78gkd7hhmvhra78pmwf9dgkz"; 35 + sha256 = "010gjib4nhrn9j9q12v5irda8df8xp17a6v6qqskkadd79kxc871"; 36 36 inherit (stable) mono; 37 37 gecko32 = fetchurl rec { 38 38 version = "2.44"; ··· 48 48 49 49 staging = fetchFromGitHub rec { 50 50 inherit (unstable) version; 51 - sha256 = "0582ylrvl7racpb0il3wmbivb2d7lh6n3mymh19yw94qzgifwqrw"; 51 + sha256 = "0rcy0i36jxv2akczd4sfrdmlsqxmj5v0wzvqb3xl8p2mldk9i8yl"; 52 52 owner = "wine-compholio"; 53 53 repo = "wine-staging"; 54 54 rev = "v${version}";
+1 -1
pkgs/misc/frescobaldi/default.nix
··· 1 - { stdenv, fetchurl, pythonPackages, lilypond, pyqt4, pygame }: 1 + { stdenv, fetchurl, pythonPackages, lilypond}: 2 2 3 3 pythonPackages.buildPythonApplication rec { 4 4 name = "frescobaldi-${version}";
+3 -3
pkgs/misc/long-shebang/default.nix
··· 1 1 { stdenv, fetchurl }: let 2 - version = "1.0.0"; 2 + version = "1.1.0"; 3 3 in stdenv.mkDerivation { 4 4 name = "long-shebang-${version}"; 5 5 6 6 src = fetchurl { 7 - url = "https://github.com/shlevy/long-shebang/releases/download/v1.0.0/long-shebang-1.0.0.tar.xz"; 8 - sha256 = "15f5rmihj3r53rmalix1bn1agybbzrc3g2a9xzjyd4v3vfd2vckr"; 7 + url = "https://github.com/shlevy/long-shebang/releases/download/v${version}/long-shebang-${version}.tar.xz"; 8 + sha256 = "0rlyibf7pczjfsi91nl1n5vri2vqibmvyyy070jaw3wb0wjm565a"; 9 9 }; 10 10 11 11 meta = {
+4 -4
pkgs/os-specific/linux/android-udev-rules/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "android-udev-rules-${version}"; 5 - version = "2016-04-26"; 5 + version = "20160805"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "M0Rf30"; 9 9 repo = "android-udev-rules"; 10 - rev = "9af6e552016392db35191142b599a5199cf8a9fa"; 11 - sha256 = "1lvh7md6qz91q8jy9phnfxlb19s104lvsk75a5r07d8bjc4w9pxb"; 10 + rev = version; 11 + sha256 = "0sdf3insqs73cdzmwl3lqy7nj82f1lprxd3vm0jh3qpf0sd1k93c"; 12 12 }; 13 13 14 14 installPhase = '' ··· 16 16 ''; 17 17 18 18 meta = with stdenv.lib; { 19 - homepage = https://github.com/M0Rf30/android-udev-rules; 19 + homepage = "https://github.com/M0Rf30/android-udev-rules"; 20 20 description = "Android udev rules list aimed to be the most comprehensive on the net"; 21 21 platforms = platforms.linux; 22 22 license = licenses.gpl3;
+16 -14
pkgs/os-specific/linux/autofs/default.nix
··· 1 - { stdenv, fetchurl, flex, bison, linuxHeaders }: 1 + { stdenv, lib, fetchurl, flex, bison, linuxHeaders, libtirpc, utillinux, nfs-utils, e2fsprogs 2 + , libxml2 }: 2 3 3 4 let 4 - version = "5.1.1"; 5 + version = "5.1.2"; 5 6 name = "autofs-${version}"; 6 7 in stdenv.mkDerivation { 7 8 inherit name; 8 9 9 10 src = fetchurl { 10 11 url = "mirror://kernel/linux/daemons/autofs/v5/${name}.tar.xz"; 11 - sha256 = "1hr1f11wp538h7r298wpa5khfkhfs8va3p1kdixxhrgkkzpz13z0"; 12 + sha256 = "031z64hmbzyllgvi72cw87755vnmafvsfwi0w21xksla10wxxdw8"; 12 13 }; 13 14 14 15 preConfigure = '' 15 - configureFlags="--disable-move-mount --with-path=$PATH" 16 - export MOUNT=/var/run/current-system/sw/bin/mount 17 - export UMOUNT=/var/run/current-system/sw/bin/umount 18 - export MODPROBE=/var/run/current-system/sw/bin/modprobe 19 - # Grrr, rpcgen can't find cpp. (NIXPKGS-48) 20 - mkdir rpcgen 21 - echo "#! $shell" > rpcgen/rpcgen 22 - echo "exec $(type -tp rpcgen) -Y $(dirname $(type -tp cpp)) \"\$@\"" >> rpcgen/rpcgen 23 - chmod +x rpcgen/rpcgen 24 - export RPCGEN=$(pwd)/rpcgen/rpcgen 16 + configureFlags="--enable-force-shutdown --enable-ignore-busy --with-path=$PATH" 17 + 18 + export MOUNT=${lib.getBin utillinux}/bin/mount 19 + export MOUNT_NFS=${lib.getBin nfs-utils}/bin/mount.nfs 20 + export UMOUNT=${lib.getBin utillinux}/bin/umount 21 + export MODPROBE=${lib.getBin utillinux}/bin/modprobe 22 + export E2FSCK=${lib.getBin e2fsprogs}/bin/fsck.ext2 23 + export E3FSCK=${lib.getBin e2fsprogs}/bin/fsck.ext3 24 + export E4FSCK=${lib.getBin e2fsprogs}/bin/fsck.ext4 25 25 ''; 26 26 27 27 installPhase = '' ··· 29 29 #make install SUBDIRS="samples" # impure! 30 30 ''; 31 31 32 - buildInputs = [ flex bison linuxHeaders ]; 32 + buildInputs = [ linuxHeaders libtirpc libxml2 ]; 33 + 34 + nativeBuildInputs = [ flex bison ]; 33 35 34 36 meta = { 35 37 inherit version;
+3 -3
pkgs/os-specific/linux/btfs/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 name = "btfs-${version}"; 6 - version = "2.10"; 6 + version = "2.11"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "johang"; 10 10 repo = "btfs"; 11 - rev = "2eac5e70a1ed22fa0761b6357c54fd90eea02de6"; 12 - sha256 = "146vgwn79dnbkkn35safga55lkwhvarkmilparmr26hjb56cs1dk"; 11 + rev = "fe585ca285690579db50b1624cec81ae76279ba2"; 12 + sha256 = "1vqya2k8cx5x7jfapl9vmmb002brwbsz4j5xs4417kzv3j2bsms9"; 13 13 }; 14 14 15 15 buildInputs = [
-19
pkgs/os-specific/linux/kernel/linux-4.5.nix
··· 1 - { stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 - 3 - import ./generic.nix (args // rec { 4 - version = "4.5.7"; 5 - extraMeta.branch = "4.5"; 6 - 7 - src = fetchurl { 8 - url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 9 - sha256 = "0azvh7lf9kak1xcs5f9smlvx4gkf45vyandizmxhx0zyjlhacw60"; 10 - }; 11 - 12 - kernelPatches = args.kernelPatches; 13 - 14 - features.iwlwifi = true; 15 - features.efiBootStub = true; 16 - features.needsCifsUtils = true; 17 - features.canDisableNetfilterConntrackHelpers = true; 18 - features.netfilterRPFilter = true; 19 - } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-4.6.nix
··· 1 1 { stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 - version = "4.6.5"; 4 + version = "4.6.6"; 5 5 extraMeta.branch = "4.6"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 9 - sha256 = "1i8ksv8w6dn86q54gzk230gxrylqx3m55x789d29q5balg456bby"; 9 + sha256 = "1lx00j0z0rasmc87mcvqd1h6r4znb9c2q22jbs2mrissr5w05vgm"; 10 10 }; 11 11 12 12 kernelPatches = args.kernelPatches;
+1 -1
pkgs/os-specific/linux/pam_pgsql/default.nix
··· 16 16 17 17 meta = with stdenv.lib; { 18 18 description = "Support to authenticate against PostgreSQL for PAM-enabled appliations"; 19 - homepage = https://github.com/pam-pgsql/pam-pgsql; 19 + homepage = "https://github.com/pam-pgsql/pam-pgsql"; 20 20 license = licenses.gpl2Plus; 21 21 platforms = platforms.linux; 22 22 maintainers = with maintainers; [ abbradar ];
+2 -6
pkgs/os-specific/linux/spl/default.nix
··· 1 - { fetchFromGitHub, stdenv, autoconf, automake, libtool, coreutils, gawk 1 + { fetchFromGitHub, stdenv, autoreconfHook, coreutils, gawk 2 2 , configFile ? "all" 3 3 4 4 # Kernel dependencies ··· 28 28 29 29 patches = [ ./const.patch ./install_prefix.patch ]; 30 30 31 - buildInputs = [ autoconf automake libtool ]; 31 + nativeBuildInputs = [ autoreconfHook ]; 32 32 33 33 preConfigure = '' 34 - ./autogen.sh 35 - 36 34 substituteInPlace ./module/spl/spl-generic.c --replace /usr/bin/hostid hostid 37 - substituteInPlace ./module/spl/spl-module.c --replace /bin/mknod mknod 38 - 39 35 substituteInPlace ./module/spl/spl-generic.c --replace "PATH=/sbin:/usr/sbin:/bin:/usr/bin" "PATH=${coreutils}:${gawk}:/bin" 40 36 substituteInPlace ./module/splat/splat-vnode.c --replace "PATH=/sbin:/usr/sbin:/bin:/usr/bin" "PATH=${coreutils}:/bin" 41 37 substituteInPlace ./module/splat/splat-linux.c --replace "PATH=/sbin:/usr/sbin:/bin:/usr/bin" "PATH=${coreutils}:/bin"
+11 -12
pkgs/os-specific/linux/wireguard/default.nix
··· 1 - { stdenv, fetchgit, libmnl, kernel ? null }: 1 + { stdenv, fetchurl, libmnl, kernel ? null }: 2 2 3 3 # module requires Linux >= 4.1 https://www.wireguard.io/install/#kernel-requirements 4 4 assert kernel != null -> stdenv.lib.versionAtLeast kernel.version "4.1"; ··· 6 6 let 7 7 name = "wireguard-unstable-${version}"; 8 8 9 - version = "2016-07-22"; 9 + version = "2016-08-08"; 10 10 11 - src = fetchgit { 12 - url = "https://git.zx2c4.com/WireGuard"; 13 - rev = "8e8bf6f848c324603827c0e57f0856d5866ac32d"; 14 - sha256 = "11qrf9fxm6mkwjnjq7dgbisdric5w22cyfkqc6zx9fla2dz99mxk"; 11 + src = fetchurl { 12 + url = "https://git.zx2c4.com/WireGuard/snapshot/WireGuard-experimental-0.0.20160808.tar.xz"; 13 + sha256 = "0z9s9xi8dzkmjnki7ialf2haxb0mn2x5676sjwmjij1jfi9ypxhw"; 15 14 }; 16 15 17 16 meta = with stdenv.lib; { 18 - homepage = https://www.wireguard.io/; 19 - description = "Fast, modern, secure VPN tunnel"; 20 - license = licenses.gpl2; 21 - platforms = platforms.linux; 17 + homepage = https://www.wireguard.io/; 18 + downloadPage = https://git.zx2c4.com/WireGuard/refs/; 19 + description = "Fast, modern, secure VPN tunnel"; 20 + maintainers = with maintainers; [ ericsagnes ]; 21 + license = licenses.gpl2; 22 + platforms = platforms.linux; 22 23 }; 23 24 24 25 module = stdenv.mkDerivation { ··· 33 34 INSTALL_MOD_PATH = "\${out}"; 34 35 35 36 buildPhase = "make module"; 36 - 37 37 }; 38 38 39 39 tools = stdenv.mkDerivation { ··· 50 50 ]; 51 51 52 52 buildPhase = "make tools"; 53 - 54 53 }; 55 54 56 55 in if kernel == null
+4
pkgs/servers/apache-kafka/default.nix
··· 11 11 scalaVersion = "2.11"; 12 12 sha256 = "0ykcjv5dz9i5bws9my2d60pww1g9v2p2nqr67h0i2xrjm7az8a6v"; 13 13 }; 14 + "0.10" = { kafkaVersion = "0.10.0.1"; 15 + scalaVersion = "2.11"; 16 + sha256 = "0bdhzbhmm87a47162hyazcjmfibqg9r3ryzfjag7r0nxxmd64wrd"; 17 + }; 14 18 }; 15 19 in 16 20
+13 -7
pkgs/servers/caddy/default.nix
··· 1 - { stdenv, lib, buildGoPackage, fetchFromGitHub }: 1 + { stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: 2 2 3 3 buildGoPackage rec { 4 4 name = "caddy-${version}"; 5 - version = "0.8.3"; 6 - rev = "e2234497b79603388b58ba226abb157aa4aaf065"; 5 + version = "v0.9.0"; 6 + rev = "f28af637327a4f12ae745284c519cfdeca5502ef"; 7 7 8 8 goPackagePath = "github.com/mholt/caddy"; 9 9 10 - src = fetchFromGitHub { 10 + subPackages = [ "caddy" ]; 11 + 12 + src = fetchgit { 11 13 inherit rev; 12 - owner = "mholt"; 13 - repo = "caddy"; 14 - sha256 = "1snijkbz02yr7wij7bcmrj4257709sbklb3nhb5qmy95b9ssffm6"; 14 + url = "https://github.com/mholt/caddy.git"; 15 + sha256 = "1s7z0xbcw516i37pyj1wgxd9diqrifdghf97vs31ilbqs6z0nyls"; 15 16 }; 17 + 18 + buildFlagsArray = '' 19 + -ldflags= 20 + -X github.com/mholt/caddy/caddy/caddymain.gitTag=${version} 21 + ''; 16 22 17 23 goDeps = ./deps.json; 18 24 }
+180 -144
pkgs/servers/caddy/deps.json
··· 1 1 [ 2 - { 3 - "goPackagePath": "gopkg.in/yaml.v2", 4 - "fetch": { 5 - "type": "git", 6 - "url": "https://gopkg.in/yaml.v2", 7 - "rev": "a83829b6f1293c91addabc89d0571c246397bbf4", 8 - "sha256": "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh" 9 - } 10 - }, 11 - { 12 - "goPackagePath": "golang.org/x/crypto", 13 - "fetch": { 14 - "type": "git", 15 - "url": "https://go.googlesource.com/crypto", 16 - "rev": "575fdbe86e5dd89229707ebec0575ce7d088a4a6", 17 - "sha256": "1kgv1mkw9y404pk3lcwbs0vgl133mwyp294i18jg9hp10s5d56xa" 18 - } 19 - }, 20 - { 21 - "goPackagePath": "golang.org/x/net", 22 - "fetch": { 23 - "type": "git", 24 - "url": "https://go.googlesource.com/net", 25 - "rev": "62ac18b461605b4be188bbc7300e9aa2bc836cd4", 26 - "sha256": "0lwwvbbwbf3yshxkfhn6z20gd45dkvnmw2ms36diiy34krgy402p" 27 - } 28 - }, 29 - { 30 - "goPackagePath": "github.com/gorilla/websocket", 31 - "fetch": { 32 - "type": "git", 33 - "url": "https://github.com/gorilla/websocket", 34 - "rev": "a622679ebd7a3b813862379232f645f8e690e43f", 35 - "sha256": "1nc9jbcmgya1i6dmf6sbcqsnxi9hbjg6dz1z0k7zmc6xdwlq0y4q" 36 - } 37 - }, 38 - { 39 - "goPackagePath": "github.com/miekg/dns", 40 - "fetch": { 41 - "type": "git", 42 - "url": "https://github.com/miekg/dns", 43 - "rev": "7e024ce8ce18b21b475ac6baf8fa3c42536bf2fa", 44 - "sha256": "0hlwb52lnnj3c6papjk9i5w5cjdw6r7c891v4xksnfvk1f9cy9kl" 45 - } 46 - }, 47 - { 48 - "goPackagePath": "github.com/BurntSushi/toml", 49 - "fetch": { 50 - "type": "git", 51 - "url": "https://github.com/BurntSushi/toml", 52 - "rev": "056c9bc7be7190eaa7715723883caffa5f8fa3e4", 53 - "sha256": "0gkgkw04ndr5y7hrdy0r4v2drs5srwfcw2bs1gyas066hwl84xyw" 54 - } 55 - }, 56 - { 57 - "goPackagePath": "github.com/hashicorp/go-syslog", 58 - "fetch": { 59 - "type": "git", 60 - "url": "https://github.com/hashicorp/go-syslog", 61 - "rev": "42a2b573b664dbf281bd48c3cc12c086b17a39ba", 62 - "sha256": "1j53m2wjyczm9m55znfycdvm4c8vfniqgk93dvzwy8vpj5gm6sb3" 63 - } 64 - }, 65 - { 66 - "goPackagePath": "github.com/flynn/go-shlex", 67 - "fetch": { 68 - "type": "git", 69 - "url": "https://github.com/flynn/go-shlex", 70 - "rev": "3f9db97f856818214da2e1057f8ad84803971cff", 71 - "sha256": "1j743lysygkpa2s2gii2xr32j7bxgc15zv4113b0q9jhn676ysia" 72 - } 73 - }, 74 - { 75 - "goPackagePath": "github.com/xenolf/lego", 76 - "fetch": { 77 - "type": "git", 78 - "url": "https://github.com/xenolf/lego", 79 - "rev": "ca19a90028e242e878585941c2a27c8f3b3efc25", 80 - "sha256": "1zkcsbdzbmfzk3kqmcj9l13li8sz228xhrw2wj3ab4a0w6drbw3x" 81 - } 82 - }, 83 - { 84 - "goPackagePath": "gopkg.in/natefinch/lumberjack.v2", 85 - "fetch": { 86 - "type": "git", 87 - "url": "https://gopkg.in/natefinch/lumberjack.v2", 88 - "rev": "514cbda263a734ae8caac038dadf05f8f3f9f738", 89 - "sha256": "1v92v8vkip36l2fs6l5dpp655151hrijjc781cif658r8nf7xr82" 90 - } 91 - }, 92 - { 93 - "goPackagePath": "github.com/shurcooL/sanitized_anchor_name", 94 - "fetch": { 95 - "type": "git", 96 - "url": "https://github.com/shurcooL/sanitized_anchor_name", 97 - "rev": "10ef21a441db47d8b13ebcc5fd2310f636973c77", 98 - "sha256": "1cnbzcf47cn796rcjpph1s64qrabhkv5dn9sbynsy7m9zdwr5f01" 99 - } 100 - }, 101 - { 102 - "goPackagePath": "gopkg.in/square/go-jose.v1", 103 - "fetch": { 104 - "type": "git", 105 - "url": "https://gopkg.in/square/go-jose.v1", 106 - "rev": "40d457b439244b546f023d056628e5184136899b", 107 - "sha256": "0asa1kl1qbx0cyayk44jhxxff0awpkwiw6va7yzrzjzhfc5kvg7p" 108 - } 109 - }, 110 - { 111 - "goPackagePath": "github.com/mholt/archiver", 112 - "fetch": { 113 - "type": "git", 114 - "url": "https://github.com/mholt/archiver", 115 - "rev": "85f054813ed511646b0ce5e047697e0651b8e1a4", 116 - "sha256": "0b38mrfm3rwgdi7hrp4gjhf0y0f6bw73qjkfrkafxjrdpdg7nyly" 117 - } 118 - }, 119 - { 120 - "goPackagePath": "github.com/dustin/go-humanize", 121 - "fetch": { 122 - "type": "git", 123 - "url": "https://github.com/dustin/go-humanize", 124 - "rev": "8929fe90cee4b2cb9deb468b51fb34eba64d1bf0", 125 - "sha256": "1g155kxjh6hd3ibx41nbpj6f7h5bh54zgl9dr53xzg2xlxljgjy0" 126 - } 127 - }, 128 - { 129 - "goPackagePath": "github.com/jimstudt/http-authentication", 130 - "fetch": { 131 - "type": "git", 132 - "url": "https://github.com/jimstudt/http-authentication", 133 - "rev": "3eca13d6893afd7ecabe15f4445f5d2872a1b012", 134 - "sha256": "1drw3bhrxpjzwryqz9nq5s0yyjqyd42iym3bh1zjs5qsh401cq08" 135 - } 136 - }, 137 - { 138 - "goPackagePath": "github.com/russross/blackfriday", 139 - "fetch": { 140 - "type": "git", 141 - "url": "https://github.com/russross/blackfriday", 142 - "rev": "d18b67ae0afd61dae240896eae1785f00709aa31", 143 - "sha256": "1l78hz8k1ixry5fjw29834jz1q5ysjcpf6kx2ggjj1s6xh0bfzvf" 144 - } 2 + { 3 + "goPackagePath": "github.com/BurntSushi/toml", 4 + "fetch": { 5 + "type": "git", 6 + "url": "https://github.com/BurntSushi/toml", 7 + "rev": "99064174e013895bbd9b025c31100bd1d9b590ca", 8 + "sha256": "058qrar8rvw3wb0ci1mf1axnqq2729cvv9zmdr4ms2nn9s97yiz9" 9 + } 10 + }, 11 + { 12 + "goPackagePath": "github.com/dustin/go-humanize", 13 + "fetch": { 14 + "type": "git", 15 + "url": "https://github.com/dustin/go-humanize", 16 + "rev": "2fcb5204cdc65b4bec9fd0a87606bb0d0e3c54e8", 17 + "sha256": "1m2qgn5vh5m66ggmclgikvwc05np2r7sxgpvlj2jip5d61x29j5k" 145 18 } 146 - ] 19 + }, 20 + { 21 + "goPackagePath": "github.com/flynn/go-shlex", 22 + "fetch": { 23 + "type": "git", 24 + "url": "https://github.com/flynn/go-shlex", 25 + "rev": "3f9db97f856818214da2e1057f8ad84803971cff", 26 + "sha256": "1j743lysygkpa2s2gii2xr32j7bxgc15zv4113b0q9jhn676ysia" 27 + } 28 + }, 29 + { 30 + "goPackagePath": "github.com/gorilla/websocket", 31 + "fetch": { 32 + "type": "git", 33 + "url": "https://github.com/gorilla/websocket", 34 + "rev": "a69d25be2fe2923a97c2af6849b2f52426f68fc0", 35 + "sha256": "1z09mff5yfdrw8vbylrgrick5m5hczjy8m2x6swdq8v062s45g3v" 36 + } 37 + }, 38 + { 39 + "goPackagePath": "github.com/hashicorp/go-syslog", 40 + "fetch": { 41 + "type": "git", 42 + "url": "https://github.com/hashicorp/go-syslog", 43 + "rev": "42a2b573b664dbf281bd48c3cc12c086b17a39ba", 44 + "sha256": "1j53m2wjyczm9m55znfycdvm4c8vfniqgk93dvzwy8vpj5gm6sb3" 45 + } 46 + }, 47 + { 48 + "goPackagePath": "github.com/jimstudt/http-authentication", 49 + "fetch": { 50 + "type": "git", 51 + "url": "https://github.com/jimstudt/http-authentication", 52 + "rev": "3eca13d6893afd7ecabe15f4445f5d2872a1b012", 53 + "sha256": "1drw3bhrxpjzwryqz9nq5s0yyjqyd42iym3bh1zjs5qsh401cq08" 54 + } 55 + }, 56 + { 57 + "goPackagePath": "github.com/lucas-clemente/aes12", 58 + "fetch": { 59 + "type": "git", 60 + "url": "https://github.com/lucas-clemente/aes12", 61 + "rev": "5a3c52721c1e81aa8162601ac2342486525156d5", 62 + "sha256": "16z4h752na2d4sskjvbgi9bpwx874lpnzn6i13n33xjz599nps4y" 63 + } 64 + }, 65 + { 66 + "goPackagePath": "github.com/lucas-clemente/fnv128a", 67 + "fetch": { 68 + "type": "git", 69 + "url": "https://github.com/lucas-clemente/fnv128a", 70 + "rev": "393af48d391698c6ae4219566bfbdfef67269997", 71 + "sha256": "1cvq0p0k86p668yz9rb3z98fz3f9phvbvqp6ilbasiy4y2x5w184" 72 + } 73 + }, 74 + { 75 + "goPackagePath": "github.com/lucas-clemente/quic-go", 76 + "fetch": { 77 + "type": "git", 78 + "url": "https://github.com/lucas-clemente/quic-go", 79 + "rev": "61454ac85f1209c41ffcc000213a42f3e76346e5", 80 + "sha256": "0y7qmwlb93r0aq5m5qarc86550d75yx86pwv31wd2m0474yv7jk9" 81 + } 82 + }, 83 + { 84 + "goPackagePath": "github.com/lucas-clemente/quic-go-certificates", 85 + "fetch": { 86 + "type": "git", 87 + "url": "https://github.com/lucas-clemente/quic-go-certificates", 88 + "rev": "9bb36d3159787cca26dcfa15e23049615e307ef8", 89 + "sha256": "146674p0rg0m4j8p33r5idn5j5k4a277fz1yzf87v5m8wf4694q5" 90 + } 91 + }, 92 + { 93 + "goPackagePath": "github.com/mholt/caddy", 94 + "fetch": { 95 + "type": "git", 96 + "url": "https://github.com/mholt/caddy.git", 97 + "rev": "f28af637327a4f12ae745284c519cfdeca5502ef", 98 + "sha256": "1s7z0xbcw516i37pyj1wgxd9diqrifdghf97vs31ilbqs6z0nyls" 99 + } 100 + }, 101 + { 102 + "goPackagePath": "github.com/miekg/dns", 103 + "fetch": { 104 + "type": "git", 105 + "url": "https://github.com/miekg/dns", 106 + "rev": "db96a2b759cdef4f11a34506a42eb8d1290c598e", 107 + "sha256": "0h5n4psd0p7q55jadgsgz2a1aj791yanrfj76avalh6aawvdpcm6" 108 + } 109 + }, 110 + { 111 + "goPackagePath": "github.com/russross/blackfriday", 112 + "fetch": { 113 + "type": "git", 114 + "url": "https://github.com/russross/blackfriday", 115 + "rev": "93622da34e54fb6529bfb7c57e710f37a8d9cbd8", 116 + "sha256": "19y4cx4afm3fjj7w83g0wklbzqdjm7m1j5nq64l4yq8bi50y2iv2" 117 + } 118 + }, 119 + { 120 + "goPackagePath": "github.com/shurcooL/sanitized_anchor_name", 121 + "fetch": { 122 + "type": "git", 123 + "url": "https://github.com/shurcooL/sanitized_anchor_name", 124 + "rev": "10ef21a441db47d8b13ebcc5fd2310f636973c77", 125 + "sha256": "1cnbzcf47cn796rcjpph1s64qrabhkv5dn9sbynsy7m9zdwr5f01" 126 + } 127 + }, 128 + { 129 + "goPackagePath": "github.com/xenolf/lego", 130 + "fetch": { 131 + "type": "git", 132 + "url": "https://github.com/xenolf/lego", 133 + "rev": "4c33bee13d438d72ea22be3ff806f8093fb8d072", 134 + "sha256": "191wx4jmi2hs2m233da0c7j1l80alf2493wmnixfphwwdik7qdvw" 135 + } 136 + }, 137 + { 138 + "goPackagePath": "golang.org/x/crypto", 139 + "fetch": { 140 + "type": "git", 141 + "url": "https://go.googlesource.com/crypto", 142 + "rev": "7a1054f3ac58191481dc500077c6b060f5d6c7e5", 143 + "sha256": "1n34nalvan3mydjzi48hxa30mz0i3zcb2rynw07s39m457ab1412" 144 + } 145 + }, 146 + { 147 + "goPackagePath": "golang.org/x/net", 148 + "fetch": { 149 + "type": "git", 150 + "url": "https://go.googlesource.com/net", 151 + "rev": "57bfaa875b96fb91b4766077f34470528d4b03e9", 152 + "sha256": "17gfka5dv1n7v0z49clyl3h0xm5w2qcaldyyzlar6rh6l14g2dq5" 153 + } 154 + }, 155 + { 156 + "goPackagePath": "gopkg.in/natefinch/lumberjack.v2", 157 + "fetch": { 158 + "type": "git", 159 + "url": "https://gopkg.in/natefinch/lumberjack.v2", 160 + "rev": "514cbda263a734ae8caac038dadf05f8f3f9f738", 161 + "sha256": "1v92v8vkip36l2fs6l5dpp655151hrijjc781cif658r8nf7xr82" 162 + } 163 + }, 164 + { 165 + "goPackagePath": "gopkg.in/square/go-jose.v1", 166 + "fetch": { 167 + "type": "git", 168 + "url": "https://gopkg.in/square/go-jose.v1", 169 + "rev": "e3f973b66b91445ec816dd7411ad1b6495a5a2fc", 170 + "sha256": "18icclnws5bz4xmlyybkxl38nhvyr990h88rvp4lp9n4r1fk3lhb" 171 + } 172 + }, 173 + { 174 + "goPackagePath": "gopkg.in/yaml.v2", 175 + "fetch": { 176 + "type": "git", 177 + "url": "https://gopkg.in/yaml.v2", 178 + "rev": "e4d366fc3c7938e2958e662b4258c7a89e1f0e3e", 179 + "sha256": "1himz6569rcgn27q6sdrwvdldx45q2spgjb5cfihgb80zww8di8x" 180 + } 181 + } 182 + ]
+2 -2
pkgs/servers/emby/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "emby-${version}"; 5 - version = "3.0.6030"; 5 + version = "3.0.6060"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/MediaBrowser/Emby/archive/${version}.tar.gz"; 9 - sha256 = "14fmgb8pwj11n57c1rm002ylwqapdqywbpsv7z6skairbaf6ny09"; 9 + sha256 = "1s895198x3kiqfznhp56vj67wld9fgh2wd7k8hw69mrasby0kmp3"; 10 10 }; 11 11 12 12 propagatedBuildInputs = with pkgs; [
+1 -1
pkgs/servers/mail/dspam/default.nix
··· 99 99 ''; 100 100 101 101 meta = with lib; { 102 - homepage = http://dspam.nuclearelephant.com/; 102 + homepage = "http://nuclearelephant.com/"; 103 103 description = "Community Driven Antispam Filter"; 104 104 license = licenses.agpl3; 105 105 platforms = platforms.linux;
+1 -1
pkgs/servers/rpcbind/default.nix
··· 26 26 description = "ONC RPC portmapper"; 27 27 license = licenses.bsd3; 28 28 platforms = platforms.unix; 29 - homepage = http://sourceforge.net/projects/rpcbind/; 29 + homepage = "http://sourceforge.net/projects/rpcbind/"; 30 30 maintainers = with maintainers; [ abbradar ]; 31 31 longDescription = '' 32 32 Universal addresses to RPC program number mapper.
+12 -3
pkgs/servers/sql/mariadb/default.nix
··· 32 32 nativeBuildInputs = [ cmake pkgconfig ]; 33 33 34 34 buildInputs = [ 35 - ncurses openssl zlib pcre 36 - ] ++ stdenv.lib.optionals stdenv.isLinux [ jemalloc libaio systemd ] 35 + ncurses openssl zlib pcre jemalloc 36 + ] ++ stdenv.lib.optionals stdenv.isLinux [ libaio systemd ] 37 37 ++ stdenv.lib.optionals stdenv.isDarwin [ perl fixDarwinDylibNames cctools CoreServices ]; 38 38 39 39 cmakeFlags = [ ··· 49 49 "-DWITH_ZLIB=system" 50 50 "-DWITH_SSL=system" 51 51 "-DWITH_PCRE=system" 52 + 53 + # On Darwin without sandbox, CMake will find the system java and attempt to build with java support, but 54 + # then it will fail during the actual build. Let's just disable the flag explicitly until someone decides 55 + # to pass in java explicitly. This should have no effect on Linux. 56 + "-DCONNECT_WITH_JDBC=OFF" 57 + 58 + # Same as above. Somehow on Darwin CMake decides that we support GSS even though we aren't provding the 59 + # library through Nix, and then breaks later on. This should have no effect on Linux. 60 + "-DPLUGIN_AUTH_GSSAPI=NO" 61 + "-DPLUGIN_AUTH_GSSAPI_CLIENT=NO" 52 62 ] 53 63 ++ optional stdenv.isDarwin "-DCURSES_LIBRARY=${ncurses.out}/lib/libncurses.dylib" 54 - ++ optional (!stdenv.isLinux) "-DWITH_JEMALLOC=no" # bad build at least on Darwin 55 64 ; 56 65 57 66 preConfigure = ''
+1 -1
pkgs/servers/uwsgi/default.nix
··· 81 81 NIX_CFLAGS_LINK = [ "-lsystemd" ]; 82 82 83 83 meta = with stdenv.lib; { 84 - homepage = http://uwsgi-docs.readthedocs.org/en/latest/; 84 + homepage = "http://uwsgi-docs.readthedocs.org/en/latest/"; 85 85 description = "A fast, self-healing and developer/sysadmin-friendly application container server coded in pure C"; 86 86 license = licenses.gpl2; 87 87 maintainers = with maintainers; [ abbradar ];
+22
pkgs/servers/x11/xorg/xcb-util-xrm.nix
··· 1 + { stdenv, fetchurl, pkgconfig, m4, libxcb, xcbutil, libX11 }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "1.0"; 5 + name = "xcb-util-xrm-${version}"; 6 + 7 + src = fetchurl { 8 + url = "https://github.com/Airblader/xcb-util-xrm/releases/download/v${version}/${name}.tar.bz2"; 9 + sha256 = "1h5vxwpd37dqfw9yj1l4zd9c5dj30r3g0szgysr6kd7xrqgaq04l"; 10 + }; 11 + 12 + buildInputs = [ pkgconfig m4 libxcb xcbutil ] 13 + ++ stdenv.lib.optional doCheck [ libX11 ]; 14 + doCheck = true; 15 + 16 + meta = with stdenv.lib; { 17 + description = "XCB utility functions for the X resource manager"; 18 + homepage = https://github.com/Airblader/xcb-util-xrm; 19 + license = licenses.mit; # X11 variant 20 + platforms = with platforms; unix; 21 + }; 22 + }
+4 -3
pkgs/servers/xmpp/ejabberd/default.nix
··· 23 23 ctlpath = lib.makeBinPath [ bash gnused gnugrep coreutils utillinux procps ]; 24 24 25 25 in stdenv.mkDerivation rec { 26 - version = "16.04"; 26 + version = "16.08"; 27 27 name = "ejabberd-${version}"; 28 28 29 29 src = fetchurl { 30 30 url = "http://www.process-one.net/downloads/ejabberd/${version}/${name}.tgz"; 31 - sha256 = "1hrcswk03x5x6f6xy8sac4ihhi6jcmsfp6449k3570j39vklz5ix"; 31 + sha256 = "0dqikg0xgph8xjvaxc9r6cyq7k7c8l5jiqr3kyhricziyak9hmdl"; 32 32 }; 33 33 34 34 nativeBuildInputs = [ fakegit ]; ··· 74 74 75 75 outputHashMode = "recursive"; 76 76 outputHashAlgo = "sha256"; 77 - outputHash = "08s1j0xa65xkrqw810wzgssngs67sz722jsvj7p02v4ra8jcl31f"; 77 + outputHash = "040l336570lwxsvlli7kqaa18pz92jbf9105mx394ib62z72vvlp"; 78 78 }; 79 79 80 80 configureFlags = ··· 95 95 preBuild = '' 96 96 cp -r $deps deps 97 97 chmod -R +w deps 98 + patchShebangs deps 98 99 ''; 99 100 100 101 postInstall = ''
+2 -2
pkgs/tools/X11/primus/lib.nix
··· 5 5 }: 6 6 7 7 stdenv.mkDerivation { 8 - name = "primus-lib-20151204"; 8 + name = "primus-lib-2015-04-28"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "amonakov"; ··· 28 28 29 29 meta = with stdenv.lib; { 30 30 description = "Low-overhead client-side GPU offloading"; 31 - homepage = https://github.com/amonakov/primus; 31 + homepage = "https://github.com/amonakov/primus"; 32 32 platforms = platforms.linux; 33 33 license = licenses.bsd2; 34 34 maintainers = with maintainers; [ abbradar ];
+1 -1
pkgs/tools/X11/virtualgl/lib.nix
··· 20 20 enableParallelBuilding = true; 21 21 22 22 meta = with stdenv.lib; { 23 - homepage = http://www.virtualgl.org/; 23 + homepage = "http://www.virtualgl.org/"; 24 24 description = "X11 GL rendering in a remote computer with full 3D hw acceleration"; 25 25 license = licenses.free; # many parts under different free licenses 26 26 platforms = platforms.linux;
+5 -4
pkgs/tools/X11/xpra/default.nix
··· 1 - { stdenv, fetchurl, buildPythonApplication, pythonPackages 2 - , python, cython, pkgconfig 3 - , xorg, gtk, glib, pango, cairo, gdk_pixbuf, atk, pycairo 1 + { stdenv, fetchurl, pythonPackages, pkgconfig 2 + , xorg, gtk, glib, pango, cairo, gdk_pixbuf, atk 4 3 , makeWrapper, xkbcomp, xorgserver, getopt, xauth, utillinux, which, fontsConf, xkeyboard_config 5 4 , ffmpeg, x264, libvpx, libwebp 6 5 , libfakeXinerama }: 7 6 8 - buildPythonApplication rec { 7 + let 8 + inherit (pythonPackages) python cython buildPythonApplication; 9 + in buildPythonApplication rec { 9 10 name = "xpra-0.17.4"; 10 11 namePrefix = ""; 11 12 src = fetchurl {
+3 -4
pkgs/tools/backup/duplicity/default.nix
··· 1 - { stdenv, fetchurl, python, librsync, ncftp, gnupg, boto, makeWrapper 2 - , lockfile, setuptools, paramiko, pycrypto, ecdsa 1 + { stdenv, fetchurl, pythonPackages, librsync, ncftp, gnupg, makeWrapper 3 2 }: 4 3 5 4 let 6 5 version = "0.7.07.1"; 7 - in 8 - stdenv.mkDerivation { 6 + inherit (pythonPackages) boto ecdsa lockfile paramiko pycrypto python setuptools; 7 + in stdenv.mkDerivation { 9 8 name = "duplicity-${version}"; 10 9 11 10 src = fetchurl {
+2 -4
pkgs/tools/backup/obnam/default.nix
··· 1 - { stdenv, fetchurl, python, pythonPackages, pycrypto, attr }: 1 + { stdenv, fetchurl, pythonPackages, attr }: 2 2 3 3 pythonPackages.buildPythonApplication rec { 4 4 name = "obnam-${version}"; 5 5 version = "1.19.1"; 6 6 7 - namePrefix = ""; 8 - 9 7 src = fetchurl rec { 10 8 url = "http://code.liw.fi/debian/pool/main/o/obnam/obnam_${version}.orig.tar.xz"; 11 9 sha256 = "096abbvz2c9vm8r7zm82yqrd7zj04pb1xzlv6z0dspkngd0cfdqc"; 12 10 }; 13 11 14 12 buildInputs = [ pythonPackages.sphinx attr ]; 15 - propagatedBuildInputs = [ pycrypto pythonPackages.paramiko pythonPackages.tracing pythonPackages.ttystatus pythonPackages.cliapp pythonPackages.larch pythonPackages.pyyaml pythonPackages.fuse ]; 13 + propagatedBuildInputs = with pythonPackages; [ pycrypto paramiko tracing ttystatus cliapp larch pyyaml fuse ]; 16 14 17 15 doCheck = false; 18 16
+1 -1
pkgs/tools/bluetooth/blueman/default.nix
··· 40 40 ''; 41 41 42 42 meta = with lib; { 43 - homepage = https://github.com/blueman-project; 43 + homepage = "https://github.com/blueman-project/blueman"; 44 44 description = "GTK+-based Bluetooth Manager"; 45 45 license = licenses.gpl3; 46 46 platforms = platforms.linux;
+1 -1
pkgs/tools/filesystems/bcache-tools/default.nix
··· 1 - { stdenv, fetchurl, pkgconfig, utillinux, kmod }: 1 + { stdenv, fetchurl, pkgconfig, utillinux }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "bcache-tools-${version}";
+1 -1
pkgs/tools/graphics/imgurbash2/default.nix
··· 26 26 license = licenses.mit; 27 27 platforms = platforms.linux; 28 28 maintainers = with maintainers; [ abbradar ]; 29 - homepage = https://github.com/ram-on/imgurbash2; 29 + homepage = "https://github.com/ram-on/imgurbash2"; 30 30 }; 31 31 }
+7 -4
pkgs/tools/misc/debian-devscripts/default.nix
··· 1 1 {stdenv, fetchurl, perl, CryptSSLeay, LWP, unzip, xz, dpkg, TimeDate, DBFile 2 - , FileDesktopEntry, libxslt, docbook_xsl, python3, setuptools, makeWrapper 2 + , FileDesktopEntry, libxslt, docbook_xsl, makeWrapper 3 + , python3Packages 3 4 , perlPackages, curl, gnupg, diffutils 4 5 , sendmailPath ? "/var/setuid-wrappers/sendmail" 5 6 }: 6 7 7 - stdenv.mkDerivation rec { 8 + let 9 + inherit (python3Packages) python setuptools; 10 + in stdenv.mkDerivation rec { 8 11 version = "2.16.6"; 9 12 name = "debian-devscripts-${version}"; 10 13 ··· 14 17 }; 15 18 16 19 buildInputs = [ perl CryptSSLeay LWP unzip xz dpkg TimeDate DBFile 17 - FileDesktopEntry libxslt python3 setuptools makeWrapper 20 + FileDesktopEntry libxslt python setuptools makeWrapper 18 21 perlPackages.ParseDebControl perlPackages.LWPProtocolHttps 19 22 curl gnupg diffutils ]; 20 23 21 24 preConfigure = '' 22 25 export PERL5LIB="$PERL5LIB''${PERL5LIB:+:}${dpkg}"; 23 - tgtpy="$out/lib/${python3.libPrefix}/site-packages" 26 + tgtpy="$out/lib/${python.libPrefix}/site-packages" 24 27 mkdir -p "$tgtpy" 25 28 export PYTHONPATH="$PYTHONPATH''${PYTHONPATH:+:}$tgtpy" 26 29 find po4a scripts -type f -exec sed -r \
+3 -3
pkgs/tools/misc/grub4dos/default.nix
··· 6 6 else abort "Unknown architecture"; 7 7 in stdenv.mkDerivation rec { 8 8 name = "grub4dos-${version}"; 9 - version = "0.4.6a-2016-04-26"; 9 + version = "0.4.6a-2016-08-06"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "chenall"; 13 13 repo = "grub4dos"; 14 - rev = "61d8229375c679436d56376518456723b2025e1a"; 15 - sha256 = "1r4jmvykk5cvpf1kysykvksa9vfy7p29q20x72inw2pbhipj0f10"; 14 + rev = "99d6ddbe7611f942d2708d77a620d6aa94a284d1"; 15 + sha256 = "0gnllk0qkx6d0azf7v9cr0b23gp577avksz0f4dl3v3ldgi0dksq"; 16 16 }; 17 17 18 18 nativeBuildInputs = [ nasm ];
+6 -4
pkgs/tools/misc/svtplay-dl/default.nix
··· 1 - { stdenv, fetchFromGitHub, makeWrapper, python, perl, zip 2 - , rtmpdump, nose, mock, pycrypto, requests2, substituteAll }: 1 + { stdenv, fetchFromGitHub, makeWrapper, pythonPackages, perl, zip 2 + , rtmpdump, substituteAll }: 3 3 4 - stdenv.mkDerivation rec { 4 + let 5 + inherit (pythonPackages) python nose pycrypto requests2 mock; 6 + in stdenv.mkDerivation rec { 5 7 name = "svtplay-dl-${version}"; 6 8 version = "1.1"; 7 9 ··· 24 26 --replace 'PYTHONPATH=lib' 'PYTHONPATH=lib:$PYTHONPATH' 25 27 ''; 26 28 27 - makeFlags = "PREFIX=$(out) SYSCONFDIR=$(out)/etc PYTHON=${python}/bin/python"; 29 + makeFlags = "PREFIX=$(out) SYSCONFDIR=$(out)/etc PYTHON=${python.interpreter}"; 28 30 29 31 postInstall = '' 30 32 wrapProgram "$out/bin/svtplay-dl" \
+6 -5
pkgs/tools/networking/logmein-hamachi/default.nix
··· 10 10 else if stdenv.system == "i686-linux" then "x86" 11 11 else abort "Unsupported architecture"; 12 12 sha256 = 13 - if stdenv.system == "x86_64-linux" then "1j9sba5prpihlmxr98ss3vls2qjfc6hypzlakr1k97z0a8433nif" 14 - else if stdenv.system == "i686-linux" then "100x6gib2np72wrvcn1yhdyn4fplf5x8xm4x0g77izyfdb3yjg8h" 13 + if stdenv.system == "x86_64-linux" then "0l8y8z8fqvxrypx3dp83mm3qr9shgpcn5h7x2k2z13gp4aq0yw6g" 14 + else if stdenv.system == "i686-linux" then "00nl442k4pij9fm8inlk4qrcvbnz55fbwf3sm3dgbzvd5jcgsa0f" 15 15 else abort "Unsupported architecture"; 16 16 libraries = stdenv.lib.makeLibraryPath [ stdenv.cc.cc ]; 17 17 18 18 in stdenv.mkDerivation rec { 19 - name = "logmein-hamachi-2.1.0.139"; 19 + name = "logmein-hamachi-${version}"; 20 + version = "2.1.0.165"; 20 21 21 22 src = fetchurl { 22 - url = "https://secure.logmein.com/labs/${name}-${arch}.tgz"; 23 + url = "https://www.vpn.net/installers/${name}-${arch}.tgz"; 23 24 inherit sha256; 24 25 }; 25 26 ··· 37 38 38 39 meta = with stdenv.lib; { 39 40 description = "A hosted VPN service that lets you securely extend LAN-like networks to distributed teams"; 40 - homepage = https://secure.logmein.com/products/hamachi/; 41 + homepage = "https://secure.logmein.com/products/hamachi/"; 41 42 license = licenses.unfreeRedistributable; 42 43 maintainers = with maintainers; [ abbradar ]; 43 44 platforms = platforms.linux;
+2
pkgs/tools/networking/network-manager/default.nix
··· 26 26 --replace /bin/sh ${stdenv.shell} \ 27 27 --replace /usr/sbin/ethtool ${ethtool}/sbin/ethtool \ 28 28 --replace /bin/sed ${gnused}/bin/sed 29 + substituteInPlace data/NetworkManager.service.in \ 30 + --replace /bin/kill ${coreutils}/bin/kill 29 31 # to enable link-local connections 30 32 configureFlags="$configureFlags --with-udev-dir=$out/lib/udev" 31 33 '';
+16 -11
pkgs/tools/networking/openvpn/update-resolv-conf.nix
··· 1 - { stdenv, fetchgit, makeWrapper, openresolv, coreutils }: 1 + { stdenv, lib, fetchFromGitHub, makeWrapper, openresolv, coreutils, which, systemd }: 2 2 3 - stdenv.mkDerivation rec { 4 - name = "update-resolv-conf-20141003"; 3 + let 4 + binPath = lib.makeBinPath [ coreutils openresolv which systemd ]; 5 5 6 - src = fetchgit { 7 - url = https://github.com/masterkorp/openvpn-update-resolv-conf/; 8 - rev = "dd968419373bce71b22bbd26de962e89eb470670"; 9 - sha256 = "0j7mg66lqhgvhybgbn98y7i5skj1ify41hmb0yhkx2xrli8027b9"; 6 + in stdenv.mkDerivation rec { 7 + name = "update-resolv-conf-2016-04-24"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "masterkorp"; 11 + repo = "openvpn-update-resolv-conf"; 12 + rev = "994574f36b9147cc78674a5f13874d503a625c98"; 13 + sha256 = "1rvzlaj53k8s09phg4clsyzlmf44dmwwyvg0nbg966sxp3xsqlxc"; 10 14 }; 11 15 12 16 nativeBuildInputs = [ makeWrapper ]; 13 17 14 18 installPhase = '' 15 19 install -Dm555 update-resolv-conf.sh $out/libexec/openvpn/update-resolv-conf 16 - sed -i 's,^\(RESOLVCONF=\).*,\1resolvconf,' $out/libexec/openvpn/update-resolv-conf 20 + install -Dm555 update-systemd-network.sh $out/libexec/openvpn/update-systemd-network 17 21 18 - wrapProgram $out/libexec/openvpn/update-resolv-conf \ 19 - --prefix PATH : ${coreutils}/bin:${openresolv}/sbin 22 + for i in $out/libexec/openvpn/*; do 23 + wrapProgram $i --prefix PATH : ${binPath} 24 + done 20 25 ''; 21 26 22 27 meta = with stdenv.lib; { 23 28 description = "Script to update your /etc/resolv.conf with DNS settings that come from the received push dhcp-options"; 24 - homepage = https://github.com/masterkorp/openvpn-update-resolv-conf/; 29 + homepage = "https://github.com/masterkorp/openvpn-update-resolv-conf/"; 25 30 maintainers = with maintainers; [ abbradar ]; 26 31 license = licenses.gpl2; 27 32 platforms = platforms.unix;
+16 -14
pkgs/tools/networking/wicd/default.nix
··· 1 - {stdenv, fetchurl, python, pygobject, pycairo, pyGtkGlade, pythonDBus, 2 - wpa_supplicant, dhcp, dhcpcd, wirelesstools, nettools, openresolv, iproute, iputils, 3 - pythonPackages, locale ? "C" }: 1 + { stdenv, fetchurl, pythonPackages 2 + , wpa_supplicant, dhcp, dhcpcd, wirelesstools 3 + , nettools, openresolv, iproute, iputils 4 + , locale ? "C" }: 4 5 5 - stdenv.mkDerivation rec { 6 + let 7 + inherit (pythonPackages) python pygobject dbus pyGtkGlade pycairo; 8 + in stdenv.mkDerivation rec { 6 9 name = "wicd-${version}"; 7 10 version = "1.7.2.4"; 8 11 ··· 11 14 sha256 = "15ywgh60xzmp5z8l1kzics7yi95isrjg1paz42dvp7dlpdfzpzfw"; 12 15 }; 13 16 14 - buildInputs = [ 15 - python pythonPackages.Babel 16 - pythonPackages.urwid pythonPackages.notify 17 + buildInputs = with pythonPackages; [ 18 + python Babel urwid notify 17 19 ]; 18 20 19 21 patches = [ ··· 31 33 # !!! Should use makeWrapper. 32 34 postPatch = '' 33 35 # We don't have "python2". 34 - substituteInPlace wicd/wicd-daemon.py --replace 'misc.find_path("python2")' "'${python}/bin/python'" 36 + substituteInPlace wicd/wicd-daemon.py --replace 'misc.find_path("python2")' "'${python.interpreter}'" 35 37 36 38 substituteInPlace in/scripts=wicd.in --subst-var-by TEMPLATE-DEFAULT $out/share/other/dhclient.conf.template.default 37 39 38 40 sed -i "2iexport PATH=${python}/bin:${wpa_supplicant}/sbin:${dhcpcd}/sbin:${dhcp}/sbin:${wirelesstools}/sbin:${nettools}/sbin:${nettools}/bin:${iputils}/bin:${openresolv}/sbin:${iproute}/sbin\$\{PATH:+:\}\$PATH" in/scripts=wicd.in 39 - sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pygobject}):$(toPythonPath ${pythonDBus})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd.in 41 + sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pygobject}):$(toPythonPath ${dbus})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd.in 40 42 sed -i "2iexport PATH=${python}/bin\$\{PATH:+:\}\$PATH" in/scripts=wicd-client.in 41 - sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject}):$(toPythonPath ${pygobject})/gtk-2.0:$(toPythonPath ${pycairo}):$(toPythonPath ${pythonDBus})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-client.in 43 + sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject}):$(toPythonPath ${pygobject})/gtk-2.0:$(toPythonPath ${pycairo}):$(toPythonPath ${dbus})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-client.in 42 44 sed -i "2iexport PATH=${python}/bin\$\{PATH:+:\}\$PATH" in/scripts=wicd-gtk.in 43 - sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject}):$(toPythonPath ${pygobject})/gtk-2.0:$(toPythonPath ${pycairo}):$(toPythonPath ${pythonDBus}):$(toPythonPath ${pythonPackages.notify})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-gtk.in 45 + sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject}):$(toPythonPath ${pygobject})/gtk-2.0:$(toPythonPath ${pycairo}):$(toPythonPath ${dbus}):$(toPythonPath ${pythonPackages.notify})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-gtk.in 44 46 sed -i "2iexport PATH=${python}/bin\$\{PATH:+:\}\$PATH" in/scripts=wicd-cli.in 45 - sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject}):$(toPythonPath ${pycairo}):$(toPythonPath ${pythonDBus})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-cli.in 47 + sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject}):$(toPythonPath ${pycairo}):$(toPythonPath ${dbus})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-cli.in 46 48 sed -i "2iexport PATH=${python}/bin\$\{PATH:+:\}\$PATH" in/scripts=wicd-curses.in 47 - sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject}):$(toPythonPath ${pycairo}):$(toPythonPath ${pythonDBus}):$(toPythonPath ${pythonPackages.urwid}):$(toPythonPath ${pythonPackages.curses})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-curses.in 49 + sed -i "3iexport PYTHONPATH=$(toPythonPath $out):$(toPythonPath ${pyGtkGlade})/gtk-2.0:$(toPythonPath ${pygobject}):$(toPythonPath ${pycairo}):$(toPythonPath ${dbus}):$(toPythonPath ${pythonPackages.urwid}):$(toPythonPath ${pythonPackages.curses})\$\{PYTHONPATH:+:\}\$PYTHONPATH" in/scripts=wicd-curses.in 48 50 rm po/ast.po 49 51 ''; 50 52 ··· 90 92 ''; 91 93 92 94 installPhase = '' 93 - python setup.py install --prefix=$out --install-lib=$out/lib/${python.libPrefix}/site-packages 95 + python setup.py install --prefix=$out --install-lib=$out/${python.sitePackages} 94 96 mkdir -p $out/share/other 95 97 cp other/dhclient.conf.template.default $out/share/other/dhclient.conf.template.default 96 98
-5
pkgs/tools/security/fail2ban/default.nix
··· 17 17 ++ (stdenv.lib.optional stdenv.isLinux pythonPackages.systemd); 18 18 19 19 preConfigure = '' 20 - for i in fail2ban-client fail2ban-regex fail2ban-server; do 21 - substituteInPlace $i \ 22 - --replace /usr/share/fail2ban $out/share/fail2ban 23 - done 24 - 25 20 for i in config/action.d/sendmail*.conf; do 26 21 substituteInPlace $i \ 27 22 --replace /usr/sbin/sendmail sendmail \
-2
pkgs/tools/security/gnupg/21.nix
··· 33 33 34 34 configureFlags = optional x11Support "--with-pinentry-pgm=${pinentry}/bin/pinentry"; 35 35 36 - postConfigure = "substituteAllInPlace tools/gpgkey2ssh.c"; 37 - 38 36 meta = with stdenv.lib; { 39 37 homepage = http://gnupg.org; 40 38 description = "A complete and free implementation of the OpenPGP standard";
+3 -3
pkgs/tools/security/knockknock/default.nix
··· 1 - { stdenv, fetchFromGitHub, buildPythonApplication, python, pycrypto, hping }: 1 + { stdenv, fetchFromGitHub, pythonPackages, buildPythonApplication, hping }: 2 2 3 - buildPythonApplication rec { 3 + pythonPackages.buildPythonApplication rec { 4 4 rev = "bf14bbff"; 5 5 name = "knockknock-r${rev}"; 6 6 ··· 11 11 sha256 = "1chpfs3w2vkjrgay69pbdr116z1jldv53fi768a1i05fdqhy1px4"; 12 12 }; 13 13 14 - propagatedBuildInputs = [ pycrypto ]; 14 + propagatedBuildInputs = [ pythonPackages.pycrypto ]; 15 15 16 16 patchPhase = '' 17 17 sed -i '/build\//d' setup.py
+5 -6
pkgs/tools/security/nmap/default.nix
··· 2 2 , graphicalSupport ? false 3 3 , libX11 ? null 4 4 , gtk ? null 5 - , python ? null 6 - , pygtk ? null 5 + , pythonPackages 7 6 , makeWrapper ? null 8 - , pygobject ? null 9 - , pycairo ? null 10 - , pysqlite ? null 11 7 }: 12 8 13 9 with stdenv.lib; 14 - stdenv.mkDerivation rec { 10 + 11 + let 12 + inherit (pythonPackages) python pygtk pygobject pycairo pysqlite; 13 + in stdenv.mkDerivation rec { 15 14 name = "nmap${optionalString graphicalSupport "-graphical"}-${version}"; 16 15 version = "7.12"; 17 16
+3 -5
pkgs/tools/security/volatility/default.nix
··· 1 - { stdenv, fetchurl, buildPythonApplication, pycrypto }: 1 + { stdenv, fetchurl, pythonPackages }: 2 2 3 - buildPythonApplication rec { 4 - namePrefix = ""; 3 + pythonPackages.buildPythonApplication rec { 5 4 name = "volatility-2.4"; 6 - 7 5 8 6 src = fetchurl { 9 7 url = "http://downloads.volatilityfoundation.org/releases/2.4/${name}.tar.gz"; ··· 12 10 13 11 doCheck = false; 14 12 15 - propagatedBuildInputs = [ pycrypto ]; 13 + propagatedBuildInputs = [ pythonPackages.pycrypto ]; 16 14 17 15 meta = with stdenv.lib; { 18 16 homepage = https://code.google.com/p/volatility;
+1 -1
pkgs/tools/typesetting/tex/texlive-new/pkgs.nix
··· 22857 22857 version = "prot2.5"; 22858 22858 }; 22859 22859 "xdvi" = { 22860 - md5.run = "ada6dc1ceffd19a5fdd33d0536c8f82a"; 22860 + md5.run = "0d66ffa281d713e3395ee0f5db93c9bd"; 22861 22861 md5.doc = "eda28e06fbd79ed2bb26aff4d4d2fd22"; 22862 22862 hasRunfiles = true; 22863 22863 version = "22.87";
+1 -1
pkgs/tools/video/mjpegtools/default.nix
··· 28 28 29 29 meta = with stdenv.lib; { 30 30 description = "A suite of programs for processing MPEG or MJPEG video"; 31 - homepage = http://mjpeg.sourceforge.net/; 31 + homepage = "http://mjpeg.sourceforge.net/"; 32 32 license = licenses.gpl2; 33 33 platforms = platforms.unix; 34 34 maintainers = with maintainers; [ abbradar ];
+1
pkgs/top-level/aliases.nix
··· 111 111 xf86_video_nouveau = xorg.xf86videonouveau; # added 2015-09 112 112 xlibs = xorg; # added 2015-09 113 113 youtubeDL = youtube-dl; # added 2014-10-26 114 + m3d-linux = m33-linux; # added 2016-08-13 114 115 }
+21 -70
pkgs/top-level/all-packages.nix
··· 646 646 sha256 = "0p2sxrpzd0vsk11zf3kb5h12yl1nq4yypb5mpjrm8ww0cfaijck2"; 647 647 }; 648 648 649 - btfs = callPackage ../os-specific/linux/btfs { 650 - libtorrentRasterbar = libtorrentRasterbar_1_09; 651 - }; 649 + btfs = callPackage ../os-specific/linux/btfs { }; 652 650 653 651 cabal2nix = self.haskell.lib.overrideCabal self.haskellPackages.cabal2nix (drv: { 654 652 isLibrary = false; ··· 1398 1396 duo-unix = callPackage ../tools/security/duo-unix { }; 1399 1397 1400 1398 duplicity = callPackage ../tools/backup/duplicity { 1401 - inherit (pythonPackages) boto lockfile paramiko ecdsa pycrypto; 1402 1399 gnupg = gnupg1; 1403 1400 }; 1404 1401 ··· 1531 1528 hangul = callPackage ../tools/inputmethods/fcitx-engines/fcitx-hangul { }; 1532 1529 1533 1530 unikey = callPackage ../tools/inputmethods/fcitx-engines/fcitx-unikey { }; 1534 - 1531 + 1535 1532 m17n = callPackage ../tools/inputmethods/fcitx-engines/fcitx-m17n { }; 1536 1533 1537 1534 mozc = callPackage ../tools/inputmethods/fcitx-engines/fcitx-mozc { ··· 2776 2773 nmap = callPackage ../tools/security/nmap { }; 2777 2774 2778 2775 nmap_graphical = callPackage ../tools/security/nmap { 2779 - inherit (pythonPackages) pysqlite; 2780 2776 graphicalSupport = true; 2781 2777 }; 2782 2778 ··· 3220 3216 3221 3217 openmodelica = callPackage ../applications/science/misc/openmodelica { }; 3222 3218 3223 - qarte = callPackage ../applications/video/qarte { 3224 - sip = pythonPackages.sip_4_16; 3225 - }; 3219 + qarte = callPackage ../applications/video/qarte { }; 3226 3220 3227 3221 qnial = callPackage ../development/interpreters/qnial {}; 3228 3222 ··· 3628 3622 3629 3623 svnfs = callPackage ../tools/filesystems/svnfs { }; 3630 3624 3631 - svtplay-dl = callPackage ../tools/misc/svtplay-dl { 3632 - inherit (pythonPackages) nose mock requests2; 3633 - }; 3625 + svtplay-dl = callPackage ../tools/misc/svtplay-dl { }; 3634 3626 3635 3627 sysbench = callPackage ../development/tools/misc/sysbench {}; 3636 3628 ··· 4397 4389 }); 4398 4390 4399 4391 cryptol = self.haskell.packages.lts.cryptol; 4400 - 4401 - cython = pythonPackages.cython; 4402 - cython3 = python3Packages.cython; 4403 4392 4404 4393 devpi-client = callPackage ../development/tools/devpi-client {}; 4405 4394 ··· 5972 5961 regina = callPackage ../development/interpreters/regina { }; 5973 5962 5974 5963 renpy = callPackage ../development/interpreters/renpy { 5975 - wrapPython = pythonPackages.wrapPython; 5976 5964 ffmpeg = ffmpeg_2; 5977 5965 }; 5978 5966 ··· 6124 6112 6125 6113 apacheAnt = callPackage ../development/tools/build-managers/apache-ant { }; 6126 6114 6127 - apacheKafka = apacheKafka_0_9; 6115 + apacheKafka = apacheKafka_0_10; 6128 6116 apacheKafka_0_8 = callPackage ../servers/apache-kafka { majorVersion = "0.8"; }; 6129 6117 apacheKafka_0_9 = callPackage ../servers/apache-kafka { majorVersion = "0.9"; }; 6118 + apacheKafka_0_10 = callPackage ../servers/apache-kafka { majorVersion = "0.10"; }; 6130 6119 6131 6120 astyle = callPackage ../development/tools/misc/astyle { }; 6132 6121 ··· 6804 6793 ocamlPackages = ocamlPackages_4_02; 6805 6794 }); 6806 6795 6796 + visualvm = callPackage ../development/tools/java/visualvm { }; 6797 + 6807 6798 xc3sprog = callPackage ../development/tools/misc/xc3sprog { }; 6808 6799 6809 6800 xmlindent = callPackage ../development/web/xmlindent {}; ··· 8764 8755 minmay = callPackage ../development/libraries/minmay { }; 8765 8756 8766 8757 miro = callPackage ../applications/video/miro { 8767 - inherit (pythonPackages) pywebkitgtk pycurl mutagen; 8768 8758 avahi = avahi.override { 8769 8759 withLibdnssdCompat = true; 8770 8760 }; ··· 9758 9748 xcb-util-cursor = xorg.xcbutilcursor; 9759 9749 xcb-util-cursor-HEAD = callPackage ../development/libraries/xcb-util-cursor/HEAD.nix { }; 9760 9750 9751 + xcbutilxrm = callPackage ../servers/x11/xorg/xcb-util-xrm.nix { }; 9752 + 9761 9753 xdo = callPackage ../tools/misc/xdo { }; 9762 9754 9763 9755 xineLib = callPackage ../development/libraries/xine-lib { ··· 9812 9804 zlib = callPackage ../development/libraries/zlib { 9813 9805 fetchurl = fetchurlBoot; 9814 9806 }; 9807 + 9808 + libdynd = callPackage ../development/libraries/libdynd { }; 9815 9809 9816 9810 zlog = callPackage ../development/libraries/zlog { }; 9817 9811 ··· 10057 10051 self = pypyPackages; 10058 10052 }; 10059 10053 10060 - bsddb3 = pythonPackages.bsddb3; 10061 - 10062 - ecdsa = pythonPackages.ecdsa; 10063 - 10064 - pycairo = pythonPackages.pycairo; 10065 - 10066 10054 pycapnp = pythonPackages.pycapnp; 10067 10055 10068 - pycrypto = pythonPackages.pycrypto; 10069 - 10070 - pycups = pythonPackages.pycups; 10071 - 10072 10056 pyexiv2 = pythonPackages.pyexiv2; 10073 - 10074 - pygame = pythonPackages.pygame; 10075 10057 10076 10058 pygobject = pythonPackages.pygobject; 10077 10059 ··· 10082 10064 pygtksourceview = pythonPackages.pygtksourceview; 10083 10065 10084 10066 pyGtkGlade = pythonPackages.pyGtkGlade; 10085 - 10086 - pylint = pythonPackages.pylint; 10087 - 10088 - pyopenssl = pythonPackages.pyopenssl; 10089 10067 10090 10068 rhpl = pythonPackages.rhpl; 10091 10069 10092 - pyqt4 = pythonPackages.pyqt4; 10093 - 10094 10070 pysideApiextractor = pythonPackages.pysideApiextractor; 10095 10071 10096 10072 pysideGeneratorrunner = pythonPackages.pysideGeneratorrunner; ··· 10107 10083 10108 10084 rebol = callPackage ../development/interpreters/rebol { }; 10109 10085 10110 - setuptools = pythonPackages.setuptools; 10111 - 10112 10086 slowaes = pythonPackages.slowaes; 10113 - 10114 - twisted = pythonPackages.twisted; 10115 10087 10116 10088 yolk = callPackage ../development/python-modules/yolk {}; 10117 10089 ··· 10936 10908 10937 10909 fatrace = callPackage ../os-specific/linux/fatrace { }; 10938 10910 10939 - ffadoFull = callPackage ../os-specific/linux/ffado { }; 10911 + ffadoFull = callPackage ../os-specific/linux/ffado { 10912 + inherit (pythonPackages) python pyqt4; 10913 + }; 10940 10914 libffado = self.ffadoFull.override { prefix = "lib"; }; 10941 10915 10942 10916 fbterm = callPackage ../os-specific/linux/fbterm { }; ··· 11159 11133 ]; 11160 11134 }; 11161 11135 11162 - linux_4_5 = callPackage ../os-specific/linux/kernel/linux-4.5.nix { 11163 - kernelPatches = 11164 - [ kernelPatches.bridge_stp_helper 11165 - kernelPatches.hiddev_CVE_2016_5829 11166 - ] 11167 - ++ lib.optionals ((platform.kernelArch or null) == "mips") 11168 - [ kernelPatches.mips_fpureg_emu 11169 - kernelPatches.mips_fpu_sigill 11170 - kernelPatches.mips_ext3_n32 11171 - ]; 11172 - }; 11173 - 11174 11136 linux_4_6 = callPackage ../os-specific/linux/kernel/linux-4.6.nix { 11175 11137 kernelPatches = 11176 11138 [ kernelPatches.bridge_stp_helper ··· 11362 11324 linuxPackages_3_18 = recurseIntoAttrs (self.linuxPackagesFor self.linux_3_18 linuxPackages_3_18); 11363 11325 linuxPackages_4_1 = recurseIntoAttrs (self.linuxPackagesFor self.linux_4_1 linuxPackages_4_1); 11364 11326 linuxPackages_4_4 = recurseIntoAttrs (self.linuxPackagesFor self.linux_4_4 linuxPackages_4_4); 11365 - linuxPackages_4_5 = recurseIntoAttrs (self.linuxPackagesFor self.linux_4_5 linuxPackages_4_5); 11366 11327 linuxPackages_4_6 = recurseIntoAttrs (self.linuxPackagesFor self.linux_4_6 linuxPackages_4_6); 11367 11328 linuxPackages_4_7 = recurseIntoAttrs (self.linuxPackagesFor self.linux_4_7 linuxPackages_4_7); 11368 11329 # Don't forget to update linuxPackages_latest! ··· 13077 13038 gksu = callPackage ../applications/misc/gksu { }; 13078 13039 13079 13040 gnuradio = callPackage ../applications/misc/gnuradio { 13080 - inherit (pythonPackages) lxml numpy scipy matplotlib pyopengl wxPython; 13041 + inherit (pythonPackages) lxml matplotlib numpy python pyopengl pyqt4 scipy wxPython; 13081 13042 fftw = fftwFloat; 13082 13043 }; 13083 13044 ··· 13564 13525 imagemagickBig = callPackage ../applications/graphics/ImageMagick { }; 13565 13526 13566 13527 # Impressive, formerly known as "KeyJNote". 13567 - impressive = callPackage ../applications/office/impressive { 13568 - # XXX These are the PyOpenGL dependencies, which we need here. 13569 - inherit (pythonPackages) pyopengl; 13570 - inherit (pythonPackages) pillow; 13571 - }; 13528 + impressive = callPackage ../applications/office/impressive { }; 13572 13529 13573 13530 inferno = callPackage_i686 ../applications/inferno { }; 13574 13531 ··· 13885 13842 13886 13843 mid2key = callPackage ../applications/audio/mid2key { }; 13887 13844 13888 - midori-unwrapped = callPackage ../applications/networking/browsers/midori { 13889 - webkitgtk = webkitgtk24x; 13890 - }; 13845 + midori-unwrapped = callPackage ../applications/networking/browsers/midori { }; 13891 13846 midori = wrapFirefox midori-unwrapped { }; 13892 13847 13893 13848 mikmod = callPackage ../applications/audio/mikmod { }; ··· 14296 14251 14297 14252 pianobooster = callPackage ../applications/audio/pianobooster { }; 14298 14253 14299 - picard = callPackage ../applications/audio/picard { 14300 - python-libdiscid = pythonPackages.discid; 14301 - mutagen = pythonPackages.mutagen; 14302 - }; 14254 + picard = callPackage ../applications/audio/picard { }; 14303 14255 14304 14256 picocom = callPackage ../tools/misc/picocom { }; 14305 14257 ··· 15545 15497 angband = callPackage ../games/angband { }; 15546 15498 15547 15499 anki = callPackage ../games/anki { 15548 - inherit (pythonPackages) wrapPython pysqlite sqlalchemy pyaudio beautifulsoup httplib2 matplotlib; 15500 + inherit (pythonPackages) wrapPython pysqlite sqlalchemy pyaudio beautifulsoup httplib2 matplotlib pyqt4; 15549 15501 }; 15550 15502 15551 15503 armagetronad = callPackage ../games/armagetronad { }; ··· 17267 17219 17268 17220 lkproof = callPackage ../tools/typesetting/tex/lkproof { }; 17269 17221 17270 - m3d-linux = callPackage ../misc/drivers/m3d-linux { }; 17222 + m33-linux = callPackage ../misc/drivers/m33-linux { }; 17271 17223 17272 17224 mnemonicode = callPackage ../misc/mnemonicode { }; 17273 17225 17274 17226 mysqlWorkbench = newScope gnome ../applications/misc/mysql-workbench { 17275 17227 lua = lua5_1; 17276 17228 libctemplate = libctemplate_2_2; 17277 - inherit (pythonPackages) pexpect paramiko; 17278 17229 }; 17279 17230 17280 17231 redis-desktop-manager = qt55.callPackage ../applications/misc/redis-desktop-manager { };
+68 -51
pkgs/top-level/python-packages.nix
··· 240 240 241 241 pyatspi = if isPy3k then callPackage ../development/python-modules/pyatspi { } else throw "pyatspi not supported for interpreter ${python.executable}"; 242 242 243 - pycairo = callPackage ../development/python-modules/pycairo { 244 - }; 243 + pycairo = callPackage ../development/python-modules/pycairo { }; 245 244 246 245 pycangjie = if isPy3k then callPackage ../development/python-modules/pycangjie { } else throw "pycangjie not supported for interpreter ${python.executable}"; 247 246 ··· 1941 1940 sha256 = "0grid93yz6i6jb2zggrqncp5awdf7qi88j5y2k7dq0k9r6b8zydw"; 1942 1941 }; 1943 1942 1944 - propagatedBuildInputs = with stdenv.lib; with pkgs; [ modules.curses zlib xz ncompress gzip bzip2 gnutar p7zip cabextract lzma pycrypto ] 1943 + propagatedBuildInputs = with stdenv.lib; with pkgs; [ modules.curses zlib xz ncompress gzip bzip2 gnutar p7zip cabextract lzma self.pycrypto ] 1945 1944 ++ optional visualizationSupport [ pyqtgraph ]; 1946 1945 1947 1946 meta = with stdenv.lib; { ··· 4338 4337 4339 4338 4340 4339 pkginfo = buildPythonPackage rec { 4341 - version = "1.2.1"; 4340 + version = "1.3.2"; 4342 4341 name = "pkginfo-${version}"; 4343 4342 4344 4343 src = pkgs.fetchurl { 4345 4344 url = "mirror://pypi/p/pkginfo/${name}.tar.gz"; 4346 - sha256 = "0g0g6avplfqw1adzqybbrh1a2z0kfjl8qn3annkrc7w3ibz6sgxd"; 4345 + sha256 = "0qg4sq3m0pxvjahc3sncwhw42z5rfw22k0ybskmdqkl2agykay7q"; 4347 4346 }; 4348 4347 4349 4348 doCheck = false; # I don't know why, but with doCheck = true it fails. ··· 5753 5752 sha256 = "1ikj72kd4cdcq7pmmcd5p6s9dvp7wi0zw01635v4xzkid5vi598f"; 5754 5753 }; 5755 5754 5756 - preConfigure = '' 5757 - substituteInPlace test-requirements.txt --replace 'nose==1.3' 'nose' 5758 - ''; 5759 - 5760 5755 doCheck = !isPy3k; # lots of transient failures 5761 5756 checkPhase = '' 5762 5757 # Not worth the trouble ··· 5768 5763 5769 5764 nosetests -v --cover-min-percentage 1 5770 5765 ''; 5771 - 5772 5766 5773 5767 buildInputs = with self; [ coverage tornado mock nose ]; 5774 5768 ··· 7744 7738 sha256 = "00e3f89f4e23a844844d082918a89c2cbb1e8231ecb011b81d592e7e3c33a74c"; 7745 7739 }; 7746 7740 7747 - propagatedBuildInputs = [ pkgs.pyqt4 pkgs.pkgconfig pkgs.poppler_qt4 ]; 7741 + propagatedBuildInputs = [ self.pyqt4 pkgs.pkgconfig pkgs.poppler_qt4 ]; 7748 7742 7749 7743 preBuild = "${python}/bin/${python.executable} setup.py build_ext" + 7750 7744 " --include-dirs=${pkgs.poppler_qt4.dev}/include/poppler/"; ··· 10124 10118 10125 10119 flask_assets = buildPythonPackage rec { 10126 10120 name = "Flask-Assets-${version}"; 10127 - version = "0.10"; 10121 + version = "0.11"; 10128 10122 10129 10123 src = pkgs.fetchurl { 10130 10124 url = "mirror://pypi/F/Flask-Assets/${name}.tar.gz"; 10131 - sha256 = "1v6ika3ias21xzhg7kglki99nwfx1i33rdhnw9kdqbwxkpwbwkyl"; 10125 + sha256 = "1vs59gygwhwqj37if8hiw6vd2rns09xkblaz4qkmpp6hpy3shrvf"; 10132 10126 }; 10133 10127 10134 10128 propagatedBuildInputs = with self; [ flask webassets flask_script nose ]; ··· 10137 10131 homepage = http://github.com/miracle2k/flask-assets; 10138 10132 description = "Asset management for Flask, to compress and merge CSS and Javascript files"; 10139 10133 license = licenses.bsd2; 10140 - platforms = platforms.all; 10141 10134 maintainers = with maintainers; [ abbradar ]; 10142 10135 }; 10143 10136 }; ··· 10836 10829 # FAIL: test_sanitize_remove_src_javascript (genshi.filters.tests.html.HTMLSanitizerTestCase) 10837 10830 doCheck = false; 10838 10831 10839 - buildInputs = with self; [ pkgs.setuptools ]; 10832 + buildInputs = with self; [ setuptools ]; 10840 10833 10841 10834 meta = { 10842 10835 description = "Python components for parsing HTML, XML and other textual content"; ··· 10930 10923 sha256 = "c77d007cc32cdff836ecf8df6192371767976c108a75b055e057bb6f4a09cd42"; 10931 10924 }; 10932 10925 10933 - buildInputs = with self; [ pkgs.setuptools ] ++ (optional isPy26 argparse); 10926 + buildInputs = with self; [ setuptools ] ++ (optional isPy26 argparse); 10934 10927 10935 10928 meta = { 10936 10929 description = "Automatically generated zsh completion function for Python's option parser modules"; ··· 14849 14842 }; 14850 14843 }; 14851 14844 14845 + dynd = buildPythonPackage rec { 14846 + version = "0.7.2"; 14847 + name = "dynd-${version}"; 14848 + disabled = isPyPy; 14849 + 14850 + src = pkgs.fetchFromGitHub { 14851 + owner = "libdynd"; 14852 + repo = "dynd-python"; 14853 + rev = "v${version}"; 14854 + sha256 = "19igd6ibf9araqhq9bxmzbzdz05vp089zxvddkiik3b5gb7l17nh"; 14855 + }; 14856 + 14857 + # setup.py invokes git on build but we're fetching a tarball, so 14858 + # can't retrieve git version. We hardcode: 14859 + preConfigure = '' 14860 + substituteInPlace setup.py --replace "ver = check_output(['git', 'describe', '--dirty'," "ver = '${version}'" 14861 + substituteInPlace setup.py --replace "'--always', '--match', 'v*']).decode('ascii').strip('\n')" "" 14862 + ''; 14863 + 14864 + # Python 3 works but has a broken import test that I couldn't 14865 + # figure out. 14866 + doCheck = !isPy3k; 14867 + buildInputs = with pkgs; [ cmake libdynd.dev self.cython ]; 14868 + propagatedBuildInputs = with self; [ numpy pkgs.libdynd ]; 14869 + 14870 + meta = { 14871 + homepage = http://libdynd.org; 14872 + license = licenses.bsd2; 14873 + description = "Python exposure of dynd"; 14874 + maintainers = with maintainers; [ teh ]; 14875 + }; 14876 + }; 14877 + 14852 14878 livestreamer = buildPythonPackage rec { 14853 14879 version = "1.12.2"; 14854 14880 name = "livestreamer-${version}"; ··· 17796 17822 17797 17823 psutil = buildPythonPackage rec { 17798 17824 name = "psutil-${version}"; 17799 - version = "3.4.2"; 17825 + version = "4.3.0"; 17800 17826 17801 17827 src = pkgs.fetchurl { 17802 17828 url = "mirror://pypi/p/psutil/${name}.tar.gz"; 17803 - sha256 = "b17fa01aa766daa388362d0eda5c215d77e03a8d37676b68971f37bf3913b725"; 17829 + sha256 = "1w4r09fvn6kd80m5mx4ws1wz100brkaq6hzzpwrns8cgjzjpl6c6"; 17804 17830 }; 17805 - 17806 - # Certain tests fail due to being in a chroot. 17807 - # See also the older issue: https://code.google.com/p/psutil/issues/detail?id=434 17808 - doCheck = false; 17809 17831 17810 17832 buildInputs = with self; [ mock ] ++ optionals stdenv.isDarwin [ pkgs.darwin.IOKit ]; 17811 17833 ··· 18146 18168 18147 18169 18148 18170 Babel = buildPythonPackage (rec { 18149 - name = "Babel-2.2.0"; 18171 + name = "Babel-2.3.4"; 18150 18172 18151 18173 src = pkgs.fetchurl { 18152 18174 url = "mirror://pypi/B/Babel/${name}.tar.gz"; 18153 - sha256 = "d8cb4c0e78148aee89560f9fe21587aa57739c975bb89ff66b1e842cc697428f"; 18175 + sha256 = "0x98qqqw35xllpcama013a9788ly84z8dm1w2wwfpxh2710c8df5"; 18154 18176 }; 18155 18177 18156 18178 buildInputs = with self; [ pytest ]; ··· 20296 20318 20297 20319 requests2 = buildPythonPackage rec { 20298 20320 name = "requests-${version}"; 20299 - version = "2.9.1"; 20321 + version = "2.11.0"; 20300 20322 20301 20323 src = pkgs.fetchurl { 20302 20324 url = "mirror://pypi/r/requests/${name}.tar.gz"; 20303 - sha256 = "0zsqrzlybf25xscgi7ja4s48y2abf9wvjkn47wh984qgs1fq2xy5"; 20325 + sha256 = "11d3vrbiqrz30qbplv80y72y9i47hihs35p5n04fl4ggjcz0bzxj"; 20304 20326 }; 20305 20327 20306 - buildInputs = [ self.pytest ]; 20328 + nativeBuildInputs = [ self.pytest ]; 20307 20329 # sadly, tests require networking 20308 20330 doCheck = false; 20309 20331 ··· 20376 20398 20377 20399 src = pkgs.qscintilla.src; 20378 20400 20379 - buildInputs = with pkgs; [ xorg.lndir qt4 pyqt4 python ]; 20401 + buildInputs = with self; [ pkgs.xorg.lndir pyqt4.qt pyqt4 python ]; 20380 20402 20381 20403 preConfigure = '' 20382 20404 mkdir -p $out 20383 - lndir ${pkgs.pyqt4} $out 20405 + lndir ${self.pyqt4} $out 20384 20406 cd Python 20385 20407 ${python.executable} ./configure-old.py \ 20386 20408 --destdir $out/lib/${python.libPrefix}/site-packages/PyQt4 \ ··· 20712 20734 20713 20735 doCheck = false; # too much 20714 20736 20715 - buildInputs = with self; [ mock tox pkgs.pylint ]; 20737 + buildInputs = with self; [ mock tox pylint ]; 20716 20738 meta = with stdenv.lib; { 20717 20739 homepage = "https://github.com/geopy/geopy"; 20718 20740 }; ··· 21027 21049 patches = [ ../development/python-modules/rpkg-buildfix.diff ]; 21028 21050 21029 21051 propagatedBuildInputs = with self; [ pycurl pkgs.koji GitPython pkgs.git 21030 - pkgs.rpm pkgs.pyopenssl ]; 21052 + pkgs.rpm pyopenssl ]; 21031 21053 21032 21054 }); 21033 21055 ··· 21073 21095 21074 21096 rsa = buildPythonPackage rec { 21075 21097 name = "rsa-${version}"; 21076 - version = "3.3"; 21098 + version = "3.4.2"; 21077 21099 21078 21100 src = pkgs.fetchurl { 21079 21101 url = "mirror://pypi/r/rsa/${name}.tar.gz"; 21080 - sha256 = "03f3d9bebad06681771016b8752a40b12f615ff32363c7aa19b3798e73ccd615"; 21102 + sha256 = "1dcxvszbikgzh99ybdc7jq0zb9wspy2ds8z9mjsqiyv3q884xpr5"; 21081 21103 }; 21082 21104 21083 21105 nativeBuildInputs = with self; [ unittest2 ]; 21084 21106 propagatedBuildInputs = with self; [ pyasn1 ]; 21085 21107 21086 - checkPhase = '' 21087 - ${python.interpreter} run_tests.py 21088 - ''; 21089 - 21090 21108 meta = { 21091 - homepage = http://stuvel.eu/rsa; 21109 + homepage = "http://stuvel.eu/rsa"; 21092 21110 license = licenses.asl20; 21093 21111 description = "A pure-Python RSA implementation"; 21094 21112 }; ··· 21361 21379 sha256 = "768e568f3299966c294b7eb8cd114fc648f7bfaef422ee9cc750dd8d9d09e44b"; 21362 21380 }; 21363 21381 21364 - buildInputs = with self; [ pkgs.cython nose numpy six ]; 21382 + buildInputs = with self; [ cython nose numpy six ]; 21365 21383 21366 21384 propagatedBuildInputs = with self; [ pillow matplotlib networkx scipy ]; 21367 21385 ··· 22835 22853 sha256 = "00z0lzjs4ksr9yr31zs26csyacjvavhpz6r74xaw1r89kk75qg7q"; 22836 22854 }; 22837 22855 22838 - buildInputs = with self; [ unittest2 scripttest pytz pkgs.pylint tempest-lib mock testtools ]; 22856 + buildInputs = with self; [ unittest2 scripttest pytz pylint tempest-lib mock testtools ]; 22839 22857 propagatedBuildInputs = with self; [ pbr tempita decorator sqlalchemy six sqlparse ]; 22840 22858 22841 22859 checkPhase = '' ··· 23705 23723 23706 23724 PYTHON_EGG_CACHE = "`pwd`/.egg-cache"; 23707 23725 23708 - propagatedBuildInputs = with self; [ genshi pkgs.setuptools modules.sqlite3 ]; 23726 + propagatedBuildInputs = with self; [ genshi setuptools modules.sqlite3 ]; 23709 23727 23710 23728 meta = { 23711 23729 description = "Enhanced wiki and issue tracking system for software development projects"; ··· 24640 24658 24641 24659 24642 24660 werkzeug = buildPythonPackage rec { 24643 - name = "Werkzeug-0.10.4"; 24661 + name = "Werkzeug-0.11.10"; 24644 24662 24645 24663 src = pkgs.fetchurl { 24646 24664 url = "mirror://pypi/W/Werkzeug/${name}.tar.gz"; 24647 - sha256 = "9d2771e4c89be127bc4bac056ab7ceaf0e0064c723d6b6e195739c3af4fd5c1d"; 24665 + sha256 = "1vpf98k4jp4yhbv2jbyq8dj5fdasrd26rkq34pacs5n7mkxxlr6c"; 24648 24666 }; 24649 24667 24650 24668 propagatedBuildInputs = with self; [ itsdangerous ]; 24651 - 24652 - doCheck = false; # tests fail, not sure why 24669 + nativeBuildInputs = with self; [ pytest requests ]; 24653 24670 24654 24671 meta = { 24655 24672 homepage = http://werkzeug.pocoo.org/; 24656 24673 description = "A WSGI utility library for Python"; 24657 - license = "BSD"; 24674 + license = licenses.bsd3; 24658 24675 }; 24659 24676 }; 24660 24677 ··· 26219 26236 sha256 = "472a4403fd5b5364939aee10e78f171b1489e5f6bfe6f150ed9cae8476410114"; 26220 26237 }; 26221 26238 26222 - propagatedBuildInputs = with self; [ django_1_5 django_tagging modules.sqlite3 whisper pkgs.pycairo ldap memcached ]; 26239 + propagatedBuildInputs = with self; [ django_1_5 django_tagging modules.sqlite3 whisper pycairo ldap memcached ]; 26223 26240 26224 26241 postInstall = '' 26225 26242 wrapProgram $out/bin/run-graphite-devel-server.py \ ··· 26592 26609 }; 26593 26610 26594 26611 flaskbabel = buildPythonPackage rec { 26595 - name = "Flask-Babel-0.9"; 26612 + name = "Flask-Babel-0.11.1"; 26596 26613 26597 26614 src = pkgs.fetchurl { 26598 26615 url = "mirror://pypi/F/Flask-Babel/${name}.tar.gz"; 26599 - sha256 = "0k7vk4k54y55ma0nx2k5s0phfqbriwslhy5shh3b0d046q7ibzaa"; 26616 + sha256 = "16b80cipdba9xj3jlaiaq6wgrgpjb70w3j01jjy9hbp4k71kd6yj"; 26600 26617 }; 26601 26618 26602 26619 propagatedBuildInputs = with self; [ flask jinja2 speaklater Babel pytz ]; ··· 26893 26910 url = mirror://pypi/g/gcs-oauth2-boto-plugin/gcs-oauth2-boto-plugin-1.8.tar.gz; 26894 26911 sha256 = "0jy62y5bmaf1mb735lqwry1s5nx2qqrxvl5sxip9yg4miih3qkyb"; 26895 26912 }; 26896 - propagatedBuildInputs = with self; [ boto-230 httplib2 google_api_python_client retry_decorator pkgs.pyopenssl socksipy-branch ]; 26913 + propagatedBuildInputs = with self; [ boto-230 httplib2 google_api_python_client retry_decorator pyopenssl socksipy-branch ]; 26897 26914 meta = { 26898 26915 homepage = https://developers.google.com/storage/docs/gspythonlibrary; 26899 26916 description = "Provides OAuth 2.0 credentials that can be used with Google Cloud Storage"; ··· 26918 26935 }; 26919 26936 26920 26937 propagatedBuildInputs = with self; [ boto-230 crcmod httplib2 gcs-oauth2-boto-plugin google_api_python_client gflags 26921 - retry_decorator pkgs.pyopenssl socksipy-branch crcmod ]; 26938 + retry_decorator pyopenssl socksipy-branch crcmod ]; 26922 26939 }; 26923 26940 26924 26941 svg2tikz = self.buildPythonPackage {