lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'master.upstream' into staging.upstream

+1023 -145
+1
lib/maintainers.nix
··· 171 171 lsix = "Lancelot SIX <lsix@lancelotsix.com>"; 172 172 ludo = "Ludovic Courtès <ludo@gnu.org>"; 173 173 lukego = "Luke Gorrie <luke@snabb.co>"; 174 + lw = "Sergey Sofeychuk <lw@fmap.me>"; 174 175 madjar = "Georges Dubus <georges.dubus@compiletoi.net>"; 175 176 magnetophon = "Bart Brouns <bart@magnetophon.nl>"; 176 177 mahe = "Matthias Herrmann <matthias.mh.herrmann@gmail.com>";
+9 -1
nixos/modules/services/monitoring/bosun.nix
··· 9 9 tsdbHost = ${cfg.opentsdbHost} 10 10 httpListen = ${cfg.listenAddress} 11 11 stateFile = ${cfg.stateFile} 12 - checkFrequency = 5m 12 + checkFrequency = ${cfg.checkFrequency} 13 13 14 14 ${cfg.extraConfig} 15 15 ''; ··· 74 74 default = "/var/lib/bosun/bosun.state"; 75 75 description = '' 76 76 Path to bosun's state file. 77 + ''; 78 + }; 79 + 80 + checkFrequency = mkOption { 81 + type = types.str; 82 + default = "5m"; 83 + description = '' 84 + Bosun's check frequency 77 85 ''; 78 86 }; 79 87
+2 -1
nixos/modules/services/networking/networkmanager.nix
··· 6 6 let 7 7 cfg = config.networking.networkmanager; 8 8 9 - stateDirs = "/var/lib/NetworkManager /var/lib/dhclient"; 9 + # /var/lib/misc is for dnsmasq.leases. 10 + stateDirs = "/var/lib/NetworkManager /var/lib/dhclient /var/lib/misc"; 10 11 11 12 configFile = writeText "NetworkManager.conf" '' 12 13 [main]
+2 -1
nixos/modules/services/networking/quassel.nix
··· 78 78 { description = "Quassel IRC client daemon"; 79 79 80 80 wantedBy = [ "multi-user.target" ]; 81 - after = [ "network.target" ]; 81 + after = [ "network.target" ] ++ optional config.services.postgresql.enable "postgresql.service" 82 + ++ optional config.services.mysql.enable "mysql.service"; 82 83 83 84 preStart = '' 84 85 mkdir -p ${cfg.dataDir}
+1 -1
nixos/modules/services/networking/wakeonlan.nix
··· 40 40 ]; 41 41 description = '' 42 42 Interfaces where to enable Wake-On-LAN, and how. Two methods available: 43 - "magickey" and "password". The password has the shape of six bytes 43 + "magicpacket" and "password". The password has the shape of six bytes 44 44 in hexadecimal separated by a colon each. For more information, 45 45 check the ethtool manual. 46 46 '';
+3 -4
pkgs/applications/audio/kid3/default.nix
··· 9 9 10 10 stdenv.mkDerivation rec { 11 11 12 - name = "kid3-${version}"; 13 - version = "3.3.0"; 12 + name = "kid3-${meta.version}"; 14 13 15 14 src = fetchurl { 16 - url = "http://downloads.sourceforge.net/project/kid3/kid3/${version}/${name}.tar.gz"; 15 + url = "http://downloads.sourceforge.net/project/kid3/kid3/${meta.version}/${name}.tar.gz"; 17 16 sha256 = "12sa54mg1b3wkagmh5yi20ski8km9d199lk0a1yfxy0ffjfld7js"; 18 17 }; 19 18 ··· 34 33 ''; 35 34 36 35 meta = with stdenv.lib; { 36 + version = "3.3.0"; 37 37 description = "A simple and powerful audio tag editor"; 38 38 longDescription = '' 39 39 If you want to easily tag multiple MP3, Ogg/Vorbis, FLAC, MPC, ··· 70 70 maintainers = [ maintainers.AndersonTorres ]; 71 71 }; 72 72 } 73 - 74 73 # TODO: Qt5 support
+48
pkgs/applications/editors/neovim/qt.nix
··· 1 + { stdenv, fetchFromGitHub, cmake, qt5, pythonPackages, libmsgpack 2 + , makeWrapper, neovim 3 + }: 4 + 5 + let # not very usable ATM 6 + version = "0pre-2015-10-18"; 7 + in 8 + stdenv.mkDerivation { 9 + name = "neovim-qt-${version}"; 10 + 11 + src = fetchFromGitHub { 12 + repo = "neovim-qt"; 13 + owner = "equalsraf"; 14 + rev = "03236e2"; 15 + sha256 = "0hhwpnj7yfqdk7yiwrq0x6n4xx30brj9clxmxx796421rlcrxypq"; 16 + }; 17 + 18 + # It tries to download libmsgpack; let's use ours. 19 + postPatch = let use-msgpack = '' 20 + cmake_minimum_required(VERSION 2.8.11) 21 + project(neovim-qt-deps) 22 + 23 + # Similar enough to FindMsgpack 24 + set(MSGPACK_INCLUDE_DIRS ${libmsgpack}/include PARENT_SCOPE) 25 + set(MSGPACK_LIBRARIES msgpack PARENT_SCOPE) 26 + ''; 27 + in "echo '${use-msgpack}' > third-party/CMakeLists.txt"; 28 + 29 + buildInputs = with pythonPackages; [ 30 + cmake qt5.qtbase 31 + python msgpack jinja2 libmsgpack 32 + makeWrapper 33 + ]; 34 + 35 + enableParallelBuilding = true; 36 + 37 + installPhase = '' 38 + mkdir -p "$out/bin" 39 + mv ./bin/nvim-qt "$out/bin/" 40 + wrapProgram "$out/bin/nvim-qt" --prefix PATH : "${neovim}/bin" 41 + ''; 42 + 43 + meta = with stdenv.lib; { 44 + description = "A prototype Qt5 GUI for neovim"; 45 + license = licenses.isc; 46 + inherit (neovim.meta) platforms; 47 + }; 48 + }
+68 -29
pkgs/applications/graphics/pinta/default.nix
··· 1 - {stdenv, fetchurl, mono, gtksharp, pkgconfig}: 1 + { stdenv, fetchFromGitHub, buildDotnetPackage, dotnetPackages, gtksharp, 2 + gettext }: 3 + 4 + let 5 + mono-addins = dotnetPackages.MonoAddins; 6 + in 7 + buildDotnetPackage rec { 8 + name = "pinta-1.6"; 2 9 3 - stdenv.mkDerivation { 4 - name = "pinta-1.4"; 10 + baseName = "Pinta"; 11 + version = "1.6"; 12 + outputFiles = [ "bin/*" ]; 13 + buildInputs = [ gtksharp mono-addins gettext ]; 14 + xBuildFiles = [ "Pinta.sln" ]; 5 15 6 - src = fetchurl { 7 - url = "https://github.com/PintaProject/Pinta/tarball/3f7ccfa93d"; 8 - name = "pinta-1.4.tar.gz"; 9 - sha256 = "1kgb4gy5l6bd0akniwhiqqkvqayr5jgdsvn2pgg1038q9raafnpn"; 16 + src = fetchFromGitHub { 17 + owner = "PintaProject"; 18 + repo = "Pinta"; 19 + rev = version; 20 + sha256 = "0vgswy981c7ys4q7js5k85sky7bz8v32wsfq3br4j41vg92pw97d"; 10 21 }; 11 22 12 - buildInputs = [mono gtksharp pkgconfig]; 23 + # Remove version information from nodes <Reference Include="... Version=... "> 24 + postPatch = with stdenv.lib; let 25 + csprojFiles = [ 26 + "Pinta/Pinta.csproj" 27 + "Pinta.Core/Pinta.Core.csproj" 28 + "Pinta.Effects/Pinta.Effects.csproj" 29 + "Pinta.Gui.Widgets/Pinta.Gui.Widgets.csproj" 30 + "Pinta.Resources/Pinta.Resources.csproj" 31 + "Pinta.Tools/Pinta.Tools.csproj" 32 + ]; 33 + versionedNames = [ 34 + "Mono\\.Addins" 35 + "Mono\\.Posix" 36 + "Mono\\.Addins\\.Gui" 37 + "Mono\\.Addins\\.Setup" 38 + ]; 39 + 40 + stripVersion = name: file: let 41 + match = ''<Reference Include="${name}([ ,][^"]*)?"''; 42 + replace = ''<Reference Include="${name}"''; 43 + in "sed -i -re 's/${match}/${replace}/g' ${file}\n"; 44 + 45 + # Map all possible pairs of two lists 46 + map2 = f: listA: listB: concatMap (a: map (f a) listB) listA; 47 + concatMap2Strings = f: listA: listB: concatStrings (map2 f listA listB); 48 + in 49 + concatMap2Strings stripVersion versionedNames csprojFiles 50 + + '' 51 + # For some reason there is no Microsoft.Common.tasks file 52 + # in ''${mono}/lib/mono/3.5 . 53 + substituteInPlace Pinta.Install.proj \ 54 + --replace 'ToolsVersion="3.5"' 'ToolsVersion="4.0"' \ 55 + --replace "/usr/local" "$out" 56 + ''; 13 57 14 - buildPhase = '' 15 - # xbuild understands pkgconfig, but gtksharp does not give .pc for gdk-sharp 16 - # So we have to go the GAC-way 17 - export MONO_GAC_PREFIX=${gtksharp} 18 - xbuild Pinta.sln 19 - ''; 58 + makeWrapperArgs = [ 59 + ''--prefix MONO_GAC_PREFIX ':' "${gtksharp}"'' 60 + ''--prefix LD_LIBRARY_PATH ':' "${gtksharp}/lib"'' 61 + ''--prefix LD_LIBRARY_PATH ':' "${gtksharp.gtk}/lib"'' 62 + ]; 20 63 21 - # Very ugly - I don't know enough Mono to improve this. Isn't there any rpath in binaries? 22 - installPhase = '' 23 - mkdir -p $out/lib/pinta $out/bin 24 - cp bin/*.{dll,exe} $out/lib/pinta 25 - cat > $out/bin/pinta << EOF 26 - #!/bin/sh 27 - export MONO_GAC_PREFIX=${gtksharp}:\$MONO_GAC_PREFIX 28 - export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:${gtksharp}/lib:${gtksharp.gtk}/lib:${mono}/lib 29 - exec ${mono}/bin/mono $out/lib/pinta/Pinta.exe 30 - EOF 31 - chmod +x $out/bin/pinta 32 - ''; 64 + postInstall = '' 65 + # Do automake's job manually 66 + substitute xdg/pinta.desktop.in xdg/pinta.desktop \ 67 + --replace _Name Name \ 68 + --replace _Comment Comment \ 69 + --replace _GenericName GenericName \ 70 + --replace _X-GNOME-FullName X-GNOME-FullName 33 71 34 - # Always needed on Mono, otherwise nothing runs 35 - dontStrip = true; 72 + xbuild /target:CompileTranslations Pinta.Install.proj 73 + xbuild /target:Install Pinta.Install.proj 74 + ''; 36 75 37 76 meta = { 38 77 homepage = http://www.pinta-project.com/; 39 78 description = "Drawing/editing program modeled after Paint.NET"; 40 79 license = stdenv.lib.licenses.mit; 41 - maintainers = with stdenv.lib.maintainers; [viric]; 80 + maintainers = with stdenv.lib.maintainers; [ viric ]; 42 81 platforms = with stdenv.lib.platforms; linux; 43 82 }; 44 83 }
+5 -5
pkgs/applications/misc/calibre/default.nix
··· 5 5 }: 6 6 7 7 stdenv.mkDerivation rec { 8 - name = "calibre-${version}"; 9 - version = "2.42.0"; 8 + name = "calibre-${meta.version}"; 10 9 11 10 src = fetchurl { 12 - url = "https://github.com/kovidgoyal/calibre/releases/download/v${version}/${name}.tar.xz"; 13 - sha256 = "0inmhkrc6jmpa97wjwai9ny8vmwy9z0fbiw8w43s37ad1w9x5sn1"; 11 + url = "https://github.com/kovidgoyal/calibre/releases/download/v${meta.version}/${name}.tar.xz"; 12 + sha256 = "0h8c8w7f63pl1rarr3v6gi82dcsabb3216g7scmjfj50na5cfmhi"; 14 13 }; 15 14 16 15 inherit python; ··· 59 58 ''; 60 59 61 60 meta = with stdenv.lib; { 61 + version = "2.43.0"; 62 62 description = "Comprehensive e-book software"; 63 63 homepage = http://calibre-ebook.com; 64 64 license = licenses.gpl3; 65 - maintainers = with maintainers; [ viric iElectric pSub ]; 65 + maintainers = with maintainers; [ viric iElectric pSub AndersonTorres ]; 66 66 platforms = platforms.linux; 67 67 }; 68 68 }
+2 -2
pkgs/applications/misc/gnuradio/default.nix
··· 23 23 24 24 stdenv.mkDerivation rec { 25 25 name = "gnuradio-${version}"; 26 - version = "3.7.8"; 26 + version = "3.7.8.1"; 27 27 28 28 src = fetchurl { 29 29 url = "http://gnuradio.org/releases/gnuradio/${name}.tar.gz"; 30 - sha256 = "0wj1rp8fdrmsfqbcaicvfxk71vkd9hcczmb1vrnvfzypnmacn6gy"; 30 + sha256 = "1ap5gbgisnbny3jbnm2i5wm2sy6qkbhz747av3sjxp2z12fz81l4"; 31 31 }; 32 32 33 33 buildInputs = [
+14 -15
pkgs/applications/misc/gpsbabel/default.nix
··· 1 - { fetchurl, stdenv, zlib, expat, which }: 1 + { stdenv, fetchurl, zlib, qt5, which }: 2 2 3 - let version = "1.4.3"; in 4 - stdenv.mkDerivation { 3 + stdenv.mkDerivation rec { 5 4 name = "gpsbabel-${version}"; 5 + version = "1.5.2"; 6 6 7 7 src = fetchurl { 8 8 # gpgbabel.org makes it hard to get the source tarball automatically, so 9 9 # get it from elsewhere. 10 10 url = "mirror://debian/pool/main/g/gpsbabel/gpsbabel_${version}.orig.tar.gz"; 11 - sha256 = "1s31xa36ivf836h89m1f3qiaz3c3znvqjdm0bnh8vr2jjlrz9jdi"; 11 + sha256 = "0xf7wmy2m29g2lm8lqc74yf8rf7sxfl3cfwbk7dpf0yf42pb0b6w"; 12 12 }; 13 13 14 - # FIXME: Would need libxml2 for one of the tests, but that in turns require 15 - # network access for the XML schemas. 16 - buildInputs = [ zlib expat which ]; 14 + buildInputs = [ zlib qt5.base which ]; 17 15 18 16 /* FIXME: Building the documentation, with "make doc", requires this: 19 17 ··· 25 23 configureFlags = [ "--with-zlib=system" ]; 26 24 27 25 doCheck = true; 26 + preCheck = '' 27 + patchShebangs testo 28 + substituteInPlace testo \ 29 + --replace "-x /usr/bin/hexdump" "" 30 + ''; 28 31 29 - meta = { 32 + meta = with stdenv.lib; { 30 33 description = "Convert, upload and download data from GPS and Map programs"; 31 - 32 34 longDescription = '' 33 35 GPSBabel converts waypoints, tracks, and routes between popular 34 36 GPS receivers and mapping programs. It also has powerful ··· 47 49 process data that may (or may not be) placed on a map, such as 48 50 waypoints, tracks, and routes. 49 51 ''; 50 - 51 52 homepage = http://www.gpsbabel.org/; 52 - 53 - license = stdenv.lib.licenses.gpl2Plus; 54 - 55 - maintainers = [ ]; 56 - platforms = stdenv.lib.platforms.gnu; # arbitrary choice 53 + license = licenses.gpl2Plus; 54 + maintainers = [ maintainers.rycee ]; 55 + platforms = platforms.all; 57 56 }; 58 57 }
+2 -2
pkgs/applications/networking/mailreaders/notmuch/default.nix
··· 5 5 }: 6 6 7 7 stdenv.mkDerivation rec { 8 - name = "notmuch-0.20.2"; 8 + name = "notmuch-0.21"; 9 9 10 10 passthru = { 11 11 pythonSourceRoot = "${name}/bindings/python"; ··· 13 13 14 14 src = fetchurl { 15 15 url = "http://notmuchmail.org/releases/${name}.tar.gz"; 16 - sha256 = "1v5dcnlg4km5hfaq0i0qywq5fn66fi0rq4aaibyqkwxz8mis4hgp"; 16 + sha256 = "1cr53rbpkcy3pvrmhbg2gq7sjpwb0c8xd7a4zhzxbiv8s7z8yvyh"; 17 17 }; 18 18 19 19 buildInputs = [ bash emacs glib gmime gnupg pkgconfig talloc xapian sphinx python ]
+3 -3
pkgs/applications/video/clipgrab/default.nix
··· 1 1 { stdenv, fetchurl, ffmpeg, makeDesktopItem, qt4 }: 2 2 3 - let version = "3.5.1"; in 3 + let version = "3.5.2"; in 4 4 stdenv.mkDerivation rec { 5 5 name = "clipgrab-${version}"; 6 6 7 7 src = fetchurl { 8 - sha256 = "16hm7zv0yhxj7gdd8q462jcxy0jk6hicsk1mkhmarwrhifwsy4g9"; 9 - # The .tar.bz2 "Download" link is a binary blob, the source is .tar.gz! 8 + sha256 = "0prag5liwx2l1b2a5f7cp3jh50qw5iwkf2c07iws9m1j1np3lxgp"; 9 + # The .tar.bz2 "Download" link is a binary blob, the source is the .tar.gz! 10 10 url = "http://download.clipgrab.de/${name}.tar.gz"; 11 11 }; 12 12
+7 -1
pkgs/build-support/build-dotnet-package/default.nix
··· 9 9 , outputFiles ? [ "bin/Release/*" ] 10 10 , dllFiles ? [ "*.dll" ] 11 11 , exeFiles ? [ "*.exe" ] 12 + # Additional arguments to pass to the makeWrapper function, which wraps 13 + # generated binaries. 14 + , makeWrapperArgs ? [ ] 12 15 , ... }: 13 16 let 14 17 arrayToShell = (a: toString (map (lib.escape (lib.stringToCharacters "\\ ';$`()|<>\t") ) a)); ··· 98 101 [ -f "$exe" ] || continue 99 102 mkdir -p "$out"/bin 100 103 commandName="$(basename -s .exe "$(echo "$exe" | tr "[A-Z]" "[a-z]")")" 101 - makeWrapper "${mono}/bin/mono \"$exe\"" "$out"/bin/"$commandName" 104 + makeWrapper \ 105 + "${mono}/bin/mono \"$exe\"" \ 106 + "$out"/bin/"$commandName" \ 107 + ''${makeWrapperArgs} 102 108 done 103 109 done 104 110
+26
pkgs/desktops/gnome-3/3.16/core/libgee/libgee-1.nix
··· 1 + { stdenv, fetchurl, autoconf, vala, pkgconfig, glib, gobjectIntrospection, gnome3 }: 2 + let 3 + ver_maj = "0.6"; 4 + ver_min = "8"; 5 + in 6 + stdenv.mkDerivation rec { 7 + name = "libgee-${ver_maj}.${ver_min}"; 8 + 9 + src = fetchurl { 10 + url = "mirror://gnome/sources/libgee/${ver_maj}/${name}.tar.xz"; 11 + sha256 = "1lzmxgz1bcs14ghfp8qqzarhn7s64ayx8c508ihizm3kc5wqs7x6"; 12 + }; 13 + 14 + doCheck = true; 15 + 16 + patches = [ ./fix_introspection_paths.patch ]; 17 + 18 + buildInputs = [ autoconf vala pkgconfig glib gobjectIntrospection ]; 19 + 20 + meta = with stdenv.lib; { 21 + description = "Utility library providing GObject-based interfaces and classes for commonly used data structures"; 22 + license = licenses.lgpl21Plus; 23 + platforms = platforms.linux; 24 + maintainers = [ maintainers.spacefrogg ] ++ gnome3.maintainers; 25 + }; 26 + }
+1
pkgs/desktops/gnome-3/3.16/default.nix
··· 176 176 libcroco = callPackage ./core/libcroco {}; 177 177 178 178 libgee = callPackage ./core/libgee { }; 179 + libgee_1 = callPackage ./core/libgee/libgee-1.nix { }; 179 180 180 181 libgdata = callPackage ./core/libgdata { }; 181 182
+5 -2
pkgs/desktops/xfce/applications/mousepad.nix
··· 1 1 { stdenv, fetchurl, pkgconfig, intltool, libxfce4util 2 - , gtk, gtksourceview, dbus, dbus_glib, makeWrapper }: 2 + , gtk, gtksourceview, dbus, dbus_glib, makeWrapper 3 + , dconf }: 3 4 4 5 stdenv.mkDerivation rec { 5 6 p_name = "mousepad"; ··· 15 16 buildInputs = 16 17 [ pkgconfig intltool libxfce4util 17 18 gtk gtksourceview dbus dbus_glib makeWrapper 19 + dconf 18 20 ]; 19 21 20 22 preFixup = '' 21 23 wrapProgram "$out/bin/mousepad" \ 22 - --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:${gtksourceview}/share" 24 + --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:${gtksourceview}/share" \ 25 + --prefix GIO_EXTRA_MODULES : "${dconf}/lib/gio/modules" 23 26 ''; 24 27 25 28 meta = {
+1
pkgs/desktops/xfce/default.nix
··· 6 6 7 7 deps = { # xfce-global dependency overrides should be here 8 8 inherit (pkgs.gnome) libglade libwnck vte gtksourceview; 9 + inherit (pkgs.gnome3) dconf; 9 10 inherit (pkgs.perlPackages) URI; 10 11 }; 11 12
+3 -3
pkgs/development/compilers/emscripten-fastcomp/default.nix
··· 1 1 { stdenv, fetchgit, python }: 2 2 3 3 let 4 - tag = "1.29.10"; 4 + tag = "1.35.4"; 5 5 in 6 6 7 7 stdenv.mkDerivation rec { ··· 10 10 srcFC = fetchgit { 11 11 url = git://github.com/kripken/emscripten-fastcomp; 12 12 rev = "refs/tags/${tag}"; 13 - sha256 = "eee0f884c7e10e1b869b9d3afbb03bf69c63ec0560b136e3e8cd64ca00a41653"; 13 + sha256 = "3bd50787d78381f684f9b3f46fc91cc3d1803c3389e19ec41ee59c2deaf727d8"; 14 14 }; 15 15 16 16 srcFL = fetchgit { 17 17 url = git://github.com/kripken/emscripten-fastcomp-clang; 18 18 rev = "refs/tags/${tag}"; 19 - sha256 = "22c48e85dfacd9f2349d37fb421f0f848b65fc7b39e66984d04349ee3271667c"; 19 + sha256 = "ec0d22c04eec5f84695401e19a52704b28e8d2779b87388f399b5f63b54a9862"; 20 20 }; 21 21 22 22 buildInputs = [ python ];
+20 -17
pkgs/development/compilers/emscripten/default.nix
··· 1 1 { stdenv, fetchgit, emscriptenfastcomp, python, nodejs, closurecompiler, jre }: 2 2 3 3 let 4 - tag = "1.29.10"; 4 + tag = "1.35.4"; 5 + appdir = "share/emscripten"; 5 6 in 6 7 7 8 stdenv.mkDerivation rec { ··· 10 11 src = fetchgit { 11 12 url = git://github.com/kripken/emscripten; 12 13 rev = "refs/tags/${tag}"; 13 - sha256 = "0d7ed2b801ac37acaf907bd03ba42cce3ac4a4c330bf1ef28de25bbb3f39ba87"; 14 + sha256 = "466500356c8c0fbcee495b2dbd2ccf0bf9d7eaf303d274ebaf491122759dd233"; 14 15 }; 15 16 16 17 buildCommand = '' 17 - mkdir $out 18 - cp -a $src $out/bin 19 - chmod -R +w $out/bin 20 - grep -rl '^#!/usr.*python' $out/bin | xargs sed -i -s 's@^#!/usr.*python.*@#!${python}/bin/python@' 21 - sed -i -e "s,EM_CONFIG = '~/.emscripten',EM_CONFIG = '$out/config'," $out/bin/tools/shared.py 22 - sed -i -e 's,^.*did not see a source tree above the LLVM.*$, return True,' $out/bin/tools/shared.py 23 - sed -i -e 's,def check_sanity(force=False):,def check_sanity(force=False):\n return,' $out/bin/tools/shared.py 18 + mkdir -p $out/${appdir} 19 + cp -r $src/* $out/${appdir} 20 + chmod -R +w $out/${appdir} 21 + grep -rl '^#!/usr.*python' $out/${appdir} | xargs sed -i -s 's@^#!/usr.*python.*@#!${python}/bin/python@' 22 + sed -i -e "s,EM_CONFIG = '~/.emscripten',EM_CONFIG = '$out/${appdir}/config'," $out/${appdir}/tools/shared.py 23 + sed -i -e 's,^.*did not see a source tree above the LLVM.*$, return True,' $out/${appdir}/tools/shared.py 24 + sed -i -e 's,def check_sanity(force=False):,def check_sanity(force=False):\n return,' $out/${appdir}/tools/shared.py 25 + mkdir $out/bin 26 + ln -s $out/${appdir}/{em++,em-config,emar,embuilder.py,emcc,emcmake,emconfigure,emlink.py,emmake,emranlib,emrun,emscons} $out/bin 24 27 25 - echo "EMSCRIPTEN_ROOT = '$out/bin'" > $out/config 26 - echo "LLVM_ROOT = '${emscriptenfastcomp}'" >> $out/config 27 - echo "PYTHON = '${python}/bin/python'" >> $out/config 28 - echo "NODE_JS = '${nodejs}/bin/node'" >> $out/config 29 - echo "JS_ENGINES = [NODE_JS]" >> $out/config 30 - echo "COMPILER_ENGINE = NODE_JS" >> $out/config 31 - echo "CLOSURE_COMPILER = '${closurecompiler}/bin/closure-compiler'" >> $out/config 32 - echo "JAVA = '${jre}/bin/java'" >> $out/config 28 + echo "EMSCRIPTEN_ROOT = '$out/${appdir}'" > $out/${appdir}/config 29 + echo "LLVM_ROOT = '${emscriptenfastcomp}'" >> $out/${appdir}/config 30 + echo "PYTHON = '${python}/bin/python'" >> $out/${appdir}/config 31 + echo "NODE_JS = '${nodejs}/bin/node'" >> $out/${appdir}/config 32 + echo "JS_ENGINES = [NODE_JS]" >> $out/${appdir}/config 33 + echo "COMPILER_ENGINE = NODE_JS" >> $out/${appdir}/config 34 + echo "CLOSURE_COMPILER = '${closurecompiler}/share/java/compiler.jar'" >> $out/${appdir}/config 35 + echo "JAVA = '${jre}/bin/java'" >> $out/${appdir}/config 33 36 ''; 34 37 meta = with stdenv.lib; { 35 38 homepage = https://github.com/kripken/emscripten;
+3 -3
pkgs/development/compilers/oraclejdk/jdk8-linux.nix
··· 1 1 import ./jdk-linux-base.nix { 2 2 productVersion = "8"; 3 - patchVersion = "60"; 3 + patchVersion = "65"; 4 4 downloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html; 5 - sha256_i686 = "e6a36b458351ed35bd7943739ba93d9a246e08a86433e148ff68b1b40d74c2e5"; 6 - sha256_x86_64 = "ebe51554d2f6c617a4ae8fc9a8742276e65af01bd273e96848b262b3c05424e5"; 5 + sha256_i686 = "1shri8mw648piivyparbpzskiq4i0z6kain9kr7ylav5mv7h66fg"; 6 + sha256_x86_64 = "1rr6g2sb0f1vyf3l9nvj49ah28bsid92z0lj9pfjlb12vjn2mnw8"; 7 7 jceName = "jce_policy-8.zip"; 8 8 jceDownloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html; 9 9 sha256JCE = "0n8b6b8qmwb14lllk2lk1q1ahd3za9fnjigz5xn65mpg48whl0pk";
+10
pkgs/development/compilers/oraclejdk/jdk8psu-linux.nix
··· 1 + import ./jdk-linux-base.nix { 2 + productVersion = "8"; 3 + patchVersion = "66"; 4 + downloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html; 5 + sha256_i686 = "18l4r89na4z92djcdgyinjlhl6fmgz4x1sm40lwrsiwzg26nl0i1"; 6 + sha256_x86_64 = "02nwcgplq14vj1vkz99r5x20lg86hscrxb5aaifwcny7l5gsv5by"; 7 + jceName = "jce_policy-8.zip"; 8 + jceDownloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html; 9 + sha256JCE = "0n8b6b8qmwb14lllk2lk1q1ahd3za9fnjigz5xn65mpg48whl0pk"; 10 + }
+23 -22
pkgs/development/compilers/smlnj/default.nix
··· 1 1 { stdenv, fetchurl, darwin }: 2 2 let 3 - version = "110.78"; 3 + version = "110.79"; 4 4 baseurl = "http://smlnj.cs.uchicago.edu/dist/working/${version}"; 5 5 6 6 sources = map fetchurl [ 7 - { url = "${baseurl}/config.tgz"; sha256 = "018c6iflpm3im6679via1wshw2sls4jgiqrc30pqkb80kfrh1pg2"; } 8 - { url = "${baseurl}/cm.tgz"; sha256 = "0id37j6lj4b3qczn4949gvc8hys9j3h7nk9kc9fxv4rv1g7i328x"; } 9 - { url = "${baseurl}/compiler.tgz"; sha256 = "1m299lzc8l9mixb2l9scvilz27v16db3igzwca19alsrvldnmpg2"; } 10 - { url = "${baseurl}/runtime.tgz"; sha256 = "1pwbv1bnh8dz4w62cx19c56z4y57krbpr1ziayyycg7lj44pb7sy"; } 11 - { url = "${baseurl}/system.tgz"; sha256 = "1jdilm3wcjxcnnbd3g8rcd1f5nsb5ffzfjqcsdcpqd9mnx81fca9"; } 12 - { url = "${baseurl}/MLRISC.tgz"; sha256 = "0ibqwkkqd4c62p3q1jbgqyh7k78sms01igl7ibk6jyrhy9n7vw0v"; } 13 - { url = "${baseurl}/smlnj-lib.tgz"; sha256 = "1lxnwp8q3xw0wqqrv3hlk3fjancrfz862fy9j504s38ljhdjc3jr"; } 14 - { url = "${baseurl}/ckit.tgz"; sha256 = "1nqw40vjxy40ckif5d480g5mf7b91lmwcs7m689gs9n2dj3gbwnp"; } 15 - { url = "${baseurl}/nlffi.tgz"; sha256 = "1cks1xifb32wya2flw7h7cvcdnkxv7ngk8y7xv29888r7xbdr3h0"; } 16 - { url = "${baseurl}/cml.tgz"; sha256 = "0qfaj6vsagsnh9di94cxvn77f91zfwsnn95rz8ig5dz5zmq77ghz"; } 17 - { url = "${baseurl}/eXene.tgz"; sha256 = "1nlkb2y48m702qplxkqphvb9nbj433300j7yrdbsj39j6vvp8pmw"; } 18 - { url = "${baseurl}/ml-lpt.tgz"; sha256 = "02b2gdl1qdwilhls3ssa04wcyg3aswndn1bh85008rqj85ppddiq"; } 19 - { url = "${baseurl}/ml-lex.tgz"; sha256 = "0l1sddd5wfpqgmyw1g3iwv2p27fbkpjkm10db2qd2pid9r95dxz5"; } 20 - { url = "${baseurl}/ml-yacc.tgz"; sha256 = "0ln790ydb43sxbjjymbd6jnnzfygrc0lr50k81p5cazzzy1yfim6"; } 21 - { url = "${baseurl}/ml-burg.tgz"; sha256 = "03anyy2gdkgfprmahx489hxg9zjh9lydq3gkzrlyw51yzvgp3f92"; } 22 - { url = "${baseurl}/pgraph.tgz"; sha256 = "19hbcav11a6fv0xmzgin0v5dl4m08msk1vsmw26kpqiqkvkh7j39"; } 23 - { url = "${baseurl}/trace-debug-profile.tgz"; sha256 = "0awssg3vgj3sp85kdfjcp28zaq815zr55k9z6v79zs9gll02ghlk"; } 24 - { url = "${baseurl}/heap2asm.tgz"; sha256 = "1vkmxbm6x37l1wqvilvvw662pdvg6mkbvcfvya8ggsihz4c1z0jg"; } 25 - { url = "${baseurl}/smlnj-c.tgz"; sha256 = "08b8acd5vwhz1gg7960rha00qhwk7l7p01vvgwzmdiqlcd3fcj1d"; } 26 - { url = "${baseurl}/doc.tgz"; sha256 = "1pbsvc8nmnjwq239wrylb209drr4xv9a66r0fjm126b6nw1slrbq"; } 27 - { url = "${baseurl}/boot.x86-unix.tgz"; sha256 = "19wd273k4ldnxndq6cqr7xv387ynbviz6jlgxmlld7nxf549kn5a"; } 7 + { url = "${baseurl}/config.tgz"; sha256 = "1siahy5sxz20bdy88s7zjj6gn55np1h54dalmg0nwzqq1rc048xb"; } 8 + { url = "${baseurl}/cm.tgz"; sha256 = "174g71hvk1wfdmrg1mbx3p5j04ywnbbjapnnr9sgjd99pqqqsmdz"; } 9 + { url = "${baseurl}/compiler.tgz"; sha256 = "001wi97ghj3mym4bk73gzzzrh7584hd79jn08cnq1wssdcfpn4mw"; } 10 + { url = "${baseurl}/runtime.tgz"; sha256 = "0lavdzg25nbdzdyyf6wm304k0gsbb5bng2nlcx8gcfl743vl13r0"; } 11 + { url = "${baseurl}/system.tgz"; sha256 = "00j34m5n8m30p51kajd0sxamy7gpwxaxrlgw5agxh0wi83vqfaki"; } 12 + { url = "${baseurl}/MLRISC.tgz"; sha256 = "19q3gp7yfby4n8z6jn9m9q8g0a9kvb13arj8f2j0x9jnh3y2is78"; } 13 + { url = "${baseurl}/smlnj-lib.tgz"; sha256 = "0frkc23zh9h1c2lvkidh92lsp56liyb3hyv17503nchmkxrlsi09"; } 14 + { url = "${baseurl}/old-basis.tgz"; sha256 = "1ka7w4nvkmaf86dkdzgbwiw8kay6gxhcyx4q17m33wdzsjbq56lh"; } 15 + { url = "${baseurl}/ckit.tgz"; sha256 = "1z8xf5pqwayqd8j6xhfhqs4axkb4dx7vdqi2a7gq3zbx2fd3s7pw"; } 16 + { url = "${baseurl}/nlffi.tgz"; sha256 = "1544m7ildyd0d60wfy2hl700jnslpxqb7brgh8p0bmkvhhvvc96v"; } 17 + { url = "${baseurl}/cml.tgz"; sha256 = "11blq65zlsbh6iwq502jww1z4iyk9pf2iv3d437cgnpb3sn9mx72"; } 18 + { url = "${baseurl}/eXene.tgz"; sha256 = "14yl8a5xwms1m9bvfwfiz6rhg49225l52lqqq9sbxbf57615n9yg"; } 19 + { url = "${baseurl}/ml-lpt.tgz"; sha256 = "118s7v2f73ym91ymvnmswjxm2pw5n4q1d4hvbs1cmm43dv28pw7m"; } 20 + { url = "${baseurl}/ml-lex.tgz"; sha256 = "0lf5ir12v8j6n11mblrl00jgm583ak077vgbabc1dfmz47rd566b"; } 21 + { url = "${baseurl}/ml-yacc.tgz"; sha256 = "0dmifbbq1wxkxf479jv61nsy79sr78ad9fq6561rvgi4h12lzh7k"; } 22 + { url = "${baseurl}/ml-burg.tgz"; sha256 = "1b5z18azik1kpaafi1vjgaf181yv32h88zm3z5fqxs96pwb86h1d"; } 23 + { url = "${baseurl}/pgraph.tgz"; sha256 = "15g06hl7zn98qas3b6r6lrl75g9d1galqxdyai7d5z9q5lq71j2v"; } 24 + { url = "${baseurl}/trace-debug-profile.tgz"; sha256 = "0jwilcv2ycfpcy3cgs8ndaj16yqm8m2q63sipcigfycacpyqfsiw"; } 25 + { url = "${baseurl}/heap2asm.tgz"; sha256 = "0wylsw1dkls9l86j226ilfb50mfk4h4zz4r9zdj104a1mqvvbgfk"; } 26 + { url = "${baseurl}/smlnj-c.tgz"; sha256 = "1xr89r1nhzg53hk0v0fk1livphwpgmzh1dgjqxl4w8dx9qhk9yf0"; } 27 + { url = "${baseurl}/doc.tgz"; sha256 = "1fz4l3019n1rkrww98w59cdhlrz9jg635hmdq59xryc0j78y4ga1"; } 28 + { url = "${baseurl}/boot.x86-unix.tgz"; sha256 = "0nka4dhklhilrsw4byr5vixiap28zp67ai0vjkwhqh03amkcr8zq"; } 28 29 ]; 29 30 in stdenv.mkDerivation { 30 31 name = "smlnj-${version}";
+53
pkgs/development/libraries/indicator-application/gtk2.nix
··· 1 + { stdenv, fetchurl, lib, file 2 + , pkgconfig, autoconf 3 + , glib, dbus_glib, json_glib 4 + , gtk2, libindicator-gtk2, libdbusmenu-gtk2, libappindicator-gtk2 }: 5 + 6 + with lib; 7 + 8 + stdenv.mkDerivation rec { 9 + name = "indicator-application-gtk2-${version}"; 10 + version = "12.10.0.1"; 11 + 12 + src = fetchurl { 13 + url = "${meta.homepage}/indicator-application-gtk2/i-a-${version}/+download/indicator-application-${version}.tar.gz"; 14 + sha256 = "1xqsb6c1pwawabw854f7aybjrgyhc2r1316i9lyjspci51zk5m7v"; 15 + }; 16 + 17 + nativeBuildInputs = [ pkgconfig autoconf ]; 18 + 19 + buildInputs = [ 20 + glib dbus_glib json_glib 21 + gtk2 libindicator-gtk2 libdbusmenu-gtk2 libappindicator-gtk2 22 + ]; 23 + 24 + postPatch = '' 25 + substituteInPlace configure.ac \ 26 + --replace 'DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`' \ 27 + "DBUSSERVICEDIR=$out/share/dbus-1/services" 28 + autoconf 29 + substituteInPlace {configure,ltmain.sh,m4/libtool.m4} \ 30 + --replace /usr/bin/file ${file}/bin/file 31 + substituteInPlace src/Makefile.in \ 32 + --replace 'applicationlibdir = $(INDICATORDIR)' "applicationlibdir = $out/lib" 33 + ''; 34 + 35 + configureFlags = [ 36 + "CFLAGS=-Wno-error" 37 + "--sysconfdir=/etc" 38 + "--localstatedir=/var" 39 + ]; 40 + 41 + installFlags = [ 42 + "sysconfdir=\${out}/etc" 43 + "localstatedir=\${TMPDIR}" 44 + ]; 45 + 46 + meta = { 47 + description = "Indicator to take menus from applications and place them in the panel (GTK+ 2 library for Xfce/LXDE)"; 48 + homepage = "https://launchpad.net/indicators-gtk2"; 49 + license = licenses.gpl3; 50 + platforms = platforms.linux; 51 + maintainers = [ maintainers.msteen ]; 52 + }; 53 + }
+55
pkgs/development/libraries/indicator-application/gtk3.nix
··· 1 + { stdenv, fetchurl, lib, file 2 + , pkgconfig, autoconf 3 + , glib, dbus_glib, json_glib 4 + , gtk3, libindicator-gtk3, libdbusmenu-gtk3, libappindicator-gtk3 }: 5 + 6 + with lib; 7 + 8 + stdenv.mkDerivation rec { 9 + name = "indicator-application-gtk3-${version}"; 10 + version = "${versionMajor}.${versionMinor}"; 11 + versionMajor = "12.10"; 12 + versionMinor = "0"; 13 + 14 + src = fetchurl { 15 + url = "${meta.homepage}/${versionMajor}/${version}/+download/indicator-application-${version}.tar.gz"; 16 + sha256 = "1z8ar0k47l4his7zvffbc2kn658nid51svqnfv0dms601w53gbpr"; 17 + }; 18 + 19 + nativeBuildInputs = [ pkgconfig autoconf ]; 20 + 21 + buildInputs = [ 22 + glib dbus_glib json_glib 23 + gtk3 libindicator-gtk3 libdbusmenu-gtk3 libappindicator-gtk3 24 + ]; 25 + 26 + postPatch = '' 27 + substituteInPlace configure.ac \ 28 + --replace 'DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`' \ 29 + "DBUSSERVICEDIR=$out/share/dbus-1/services" 30 + autoconf 31 + substituteInPlace {configure,ltmain.sh,m4/libtool.m4} \ 32 + --replace /usr/bin/file ${file}/bin/file 33 + substituteInPlace src/Makefile.in \ 34 + --replace 'applicationlibdir = $(INDICATORDIR)' "applicationlibdir = $out/lib" 35 + ''; 36 + 37 + configureFlags = [ 38 + "CFLAGS=-Wno-error" 39 + "--sysconfdir=/etc" 40 + "--localstatedir=/var" 41 + ]; 42 + 43 + installFlags = [ 44 + "sysconfdir=\${out}/etc" 45 + "localstatedir=\${TMPDIR}" 46 + ]; 47 + 48 + meta = { 49 + description = "Indicator to take menus from applications and place them in the panel"; 50 + homepage = "https://launchpad.net/indicator-application"; 51 + license = licenses.gpl3; 52 + platforms = platforms.linux; 53 + maintainers = [ maintainers.msteen ]; 54 + }; 55 + }
+67
pkgs/development/libraries/libappindicator/default.nix
··· 1 + # TODO: Resolve the issues with the Mono bindings. 2 + 3 + { stdenv, fetchurl, lib, file 4 + , pkgconfig, autoconf 5 + , glib, dbus_glib, gtkVersion 6 + , gtk2 ? null, libindicator-gtk2 ? null, libdbusmenu-gtk2 ? null 7 + , gtk3 ? null, libindicator-gtk3 ? null, libdbusmenu-gtk3 ? null 8 + , python, pygobject, pygtk, gobjectIntrospection, vala 9 + , monoSupport ? false, mono ? null, gtk-sharp ? null 10 + }: 11 + 12 + with lib; 13 + 14 + stdenv.mkDerivation rec { 15 + name = let postfix = if gtkVersion == "2" && monoSupport then "sharp" else "gtk${gtkVersion}"; 16 + in "libappindicator-${postfix}-${version}"; 17 + version = "${versionMajor}.${versionMinor}"; 18 + versionMajor = "12.10"; 19 + versionMinor = "0"; 20 + 21 + src = fetchurl { 22 + url = "${meta.homepage}/${versionMajor}/${version}/+download/libappindicator-${version}.tar.gz"; 23 + sha256 = "17xlqd60v0zllrxp8bgq3k5a1jkj0svkqn8rzllcyjh8k0gpr46m"; 24 + }; 25 + 26 + nativeBuildInputs = [ pkgconfig autoconf ]; 27 + 28 + buildInputs = [ 29 + glib dbus_glib 30 + python pygobject pygtk gobjectIntrospection vala 31 + ] ++ (if gtkVersion == "2" 32 + then [ gtk2 libindicator-gtk2 libdbusmenu-gtk2 ] ++ optionals monoSupport [ mono gtk-sharp ] 33 + else [ gtk3 libindicator-gtk3 libdbusmenu-gtk3 ]); 34 + 35 + postPatch = '' 36 + substituteInPlace configure.ac \ 37 + --replace '=codegendir pygtk-2.0' '=codegendir pygobject-2.0' 38 + autoconf 39 + substituteInPlace {configure,ltmain.sh,m4/libtool.m4} \ 40 + --replace /usr/bin/file ${file}/bin/file 41 + ''; 42 + 43 + configureFlags = [ 44 + "CFLAGS=-Wno-error" 45 + "--sysconfdir=/etc" 46 + "--localstatedir=/var" 47 + "--with-gtk=${gtkVersion}" 48 + ]; 49 + 50 + postConfigure = '' 51 + substituteInPlace configure \ 52 + --replace /usr/bin/file ${file}/bin/file 53 + ''; 54 + 55 + installFlags = [ 56 + "sysconfdir=\${out}/etc" 57 + "localstatedir=\${TMPDIR}" 58 + ]; 59 + 60 + meta = { 61 + description = "A library to allow applications to export a menu into the Unity Menu bar"; 62 + homepage = "https://launchpad.net/libappindicator"; 63 + license = with licenses; [ lgpl21 lgpl3 ]; 64 + platforms = platforms.linux; 65 + maintainers = [ maintainers.msteen ]; 66 + }; 67 + }
+59
pkgs/development/libraries/libdbusmenu/default.nix
··· 1 + { stdenv, fetchurl, lib, file 2 + , pkgconfig, intltool 3 + , glib, dbus_glib, json_glib 4 + , gobjectIntrospection, vala, gnome_doc_utils 5 + , gtkVersion ? null, gtk2 ? null, gtk3 ? null }: 6 + 7 + with lib; 8 + 9 + stdenv.mkDerivation rec { 10 + name = let postfix = if gtkVersion == null then "glib" else "gtk${gtkVersion}"; 11 + in "libdbusmenu-${postfix}-${version}"; 12 + version = "${versionMajor}.${versionMinor}"; 13 + versionMajor = "12.10"; 14 + versionMinor = "2"; 15 + 16 + src = fetchurl { 17 + url = "${meta.homepage}/${versionMajor}/${version}/+download/libdbusmenu-${version}.tar.gz"; 18 + sha256 = "9d6ad4a0b918b342ad2ee9230cce8a095eb601cb0cee6ddc1122d0481f9d04c9"; 19 + }; 20 + 21 + nativeBuildInputs = [ pkgconfig intltool ]; 22 + 23 + buildInputs = [ 24 + glib dbus_glib json_glib 25 + gobjectIntrospection vala gnome_doc_utils 26 + ] ++ optional (gtkVersion != null) (if gtkVersion == "2" then gtk2 else gtk3); 27 + 28 + postPatch = '' 29 + substituteInPlace {configure,ltmain.sh,m4/libtool.m4} \ 30 + --replace /usr/bin/file ${file}/bin/file 31 + ''; 32 + 33 + # https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/libdbusmenu 34 + preConfigure = '' 35 + export HAVE_VALGRIND_TRUE="#" 36 + export HAVE_VALGRIND_FALSE="" 37 + ''; 38 + 39 + configureFlags = [ 40 + "CFLAGS=-Wno-error" 41 + "--sysconfdir=/etc" 42 + "--localstatedir=/var" 43 + (if gtkVersion == null then "--disable-gtk" else "--with-gtk=${gtkVersion}") 44 + "--disable-scrollkeeper" 45 + ] ++ optional (gtkVersion != "2") "--disable-dumper"; 46 + 47 + installFlags = [ 48 + "sysconfdir=\${out}/etc" 49 + "localstatedir=\${TMPDIR}" 50 + ]; 51 + 52 + meta = { 53 + description = "A library for passing menu structures across DBus"; 54 + homepage = "https://launchpad.net/dbusmenu"; 55 + license = with licenses; [ gpl3 lgpl21 lgpl3 ]; 56 + platforms = platforms.linux; 57 + maintainers = [ maintainers.msteen ]; 58 + }; 59 + }
+62
pkgs/development/libraries/libindicate/default.nix
··· 1 + # TODO: Resolve the issues with the Mono bindings. 2 + 3 + { stdenv, fetchurl, lib, file 4 + , pkgconfig, autoconf 5 + , glib, dbus_glib, libdbusmenu-glib 6 + , gtkVersion, gtk2 ? null, gtk3 ? null 7 + , python, pygobject, pygtk, gobjectIntrospection, vala, gnome_doc_utils 8 + , monoSupport ? false, mono ? null, gtk-sharp ? null 9 + }: 10 + 11 + with lib; 12 + 13 + stdenv.mkDerivation rec { 14 + name = let postfix = if gtkVersion == "2" && monoSupport then "sharp" else "gtk${gtkVersion}"; 15 + in "libindicate-${postfix}-${version}"; 16 + version = "${versionMajor}.${versionMinor}"; 17 + versionMajor = "12.10"; 18 + versionMinor = "1"; 19 + 20 + src = fetchurl { 21 + url = "${meta.homepage}/${versionMajor}/${version}/+download/libindicate-${version}.tar.gz"; 22 + sha256 = "10am0ymajx633b33anf6b79j37k61z30v9vaf5f9fwk1x5cw1q21"; 23 + }; 24 + 25 + nativeBuildInputs = [ pkgconfig autoconf ]; 26 + 27 + buildInputs = [ 28 + glib dbus_glib libdbusmenu-glib 29 + python pygobject pygtk gobjectIntrospection vala gnome_doc_utils 30 + ] ++ (if gtkVersion == "2" 31 + then [ gtk2 ] ++ optionals monoSupport [ mono gtk-sharp ] 32 + else [ gtk3 ]); 33 + 34 + postPatch = '' 35 + substituteInPlace configure.ac \ 36 + --replace '=codegendir pygtk-2.0' '=codegendir pygobject-2.0' \ 37 + --replace 'pyglib-2.0-python$PYTHON_VERSION' 'pyglib-2.0-python' 38 + autoconf 39 + substituteInPlace {configure,ltmain.sh,m4/libtool.m4} \ 40 + --replace /usr/bin/file ${file}/bin/file 41 + ''; 42 + 43 + configureFlags = [ 44 + "CFLAGS=-Wno-error" 45 + "--sysconfdir=/etc" 46 + "--localstatedir=/var" 47 + "--with-gtk=${gtkVersion}" 48 + ]; 49 + 50 + installFlags = [ 51 + "sysconfdir=\${out}/etc" 52 + "localstatedir=\${TMPDIR}" 53 + ]; 54 + 55 + meta = { 56 + description = "Library for raising indicators via DBus"; 57 + homepage = "https://launchpad.net/libindicate"; 58 + license = with licenses; [ lgpl21 lgpl3 ]; 59 + platforms = platforms.linux; 60 + maintainers = [ maintainers.msteen ]; 61 + }; 62 + }
+48
pkgs/development/libraries/libindicator/default.nix
··· 1 + { stdenv, fetchurl, lib, file 2 + , pkgconfig 3 + , gtkVersion, gtk2 ? null, gtk3 ? null }: 4 + 5 + with lib; 6 + 7 + stdenv.mkDerivation rec { 8 + name = "libindicator-gtk${gtkVersion}-${version}"; 9 + version = "${versionMajor}.${versionMinor}"; 10 + versionMajor = "12.10"; 11 + versionMinor = "1"; 12 + 13 + src = fetchurl { 14 + url = "${meta.homepage}/${versionMajor}/${version}/+download/libindicator-${version}.tar.gz"; 15 + sha256 = "b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f"; 16 + }; 17 + 18 + nativeBuildInputs = [ pkgconfig ]; 19 + 20 + buildInputs = [ (if gtkVersion == "2" then gtk2 else gtk3) ]; 21 + 22 + postPatch = '' 23 + substituteInPlace configure \ 24 + --replace 'LIBINDICATOR_LIBS+="$LIBM"' 'LIBINDICATOR_LIBS+=" $LIBM"' 25 + substituteInPlace {build-aux/ltmain.sh,configure,m4/libtool.m4} \ 26 + --replace /usr/bin/file ${file}/bin/file 27 + ''; 28 + 29 + configureFlags = [ 30 + "CFLAGS=-Wno-error" 31 + "--sysconfdir=/etc" 32 + "--localstatedir=/var" 33 + "--with-gtk=${gtkVersion}" 34 + ]; 35 + 36 + installFlags = [ 37 + "sysconfdir=\${out}/etc" 38 + "localstatedir=\${TMPDIR}" 39 + ]; 40 + 41 + meta = { 42 + description = "A set of symbols and convenience functions for Ayatana indicators"; 43 + homepage = "https://launchpad.net/libindicator"; 44 + license = licenses.gpl3; 45 + platforms = platforms.linux; 46 + maintainers = [ maintainers.msteen ]; 47 + }; 48 + }
+2 -2
pkgs/development/libraries/libssh/default.nix
··· 4 4 name = "libssh-0.7.2"; 5 5 6 6 src = fetchurl { 7 - url = "https://red.libssh.org/attachments/download/154/libssh-0.7.2.tar.xz"; 8 - sha256 = "0v84zm957z31yyrj47n62hby38nrjk5ih0ajmgccnqrjdpwwrira"; 7 + url = "https://red.libssh.org/attachments/download/177/${name}.tar.xz"; 8 + sha256 = "0qmfxgx88dbzcbyvh40gddn0fcg9adyyskg8pnsclha1cywlab53"; 9 9 }; 10 10 11 11 postPatch = ''
+2 -4
pkgs/development/libraries/science/math/openblas/default.nix
··· 1 - { stdenv, fetchurl, gfortran, perl, liblapack, config, coreutils 1 + { stdenv, fetchurl, gfortran, perl, which, config, coreutils 2 2 # Most packages depending on openblas expect integer width to match pointer width, 3 3 # but some expect to use 32-bit integers always (for compatibility with reference BLAS). 4 4 , blas64 ? null ··· 34 34 35 35 inherit blas64; 36 36 37 - preBuild = "cp ${liblapack.src} lapack-${liblapack.meta.version}.tgz"; 38 - 39 - nativeBuildInputs = optionals stdenv.isDarwin [coreutils] ++ [gfortran perl]; 37 + nativeBuildInputs = optionals stdenv.isDarwin [coreutils] ++ [gfortran perl which]; 40 38 41 39 makeFlags = 42 40 (if local then localFlags else genericFlags)
+8
pkgs/development/libraries/zeromq/4.x.nix
··· 8 8 sha256 = "04gligbgr0phipjkwc0dyk1vr9306r6s4dbj85z7fxxk1n1ircv1"; 9 9 }; 10 10 11 + # Fix zeromq-4.1.3 with libsodium-1.0.6 12 + postPatch = '' 13 + sed -i 's/libzmq_werror="yes"/libzmq_werror="no"/' configure 14 + ''; 15 + 11 16 nativeBuildInputs = [ pkgconfig ]; 12 17 buildInputs = [ libuuid libsodium ]; 18 + 19 + # https://github.com/zeromq/libzmq/commit/479db2113643e459c11db392e0fefd6400657c9e 20 + patches = [ ./sodium_warning.patch ]; 13 21 14 22 meta = with stdenv.lib; { 15 23 branch = "4";
+70
pkgs/development/libraries/zeromq/sodium_warning.patch
··· 1 + From 479db2113643e459c11db392e0fefd6400657c9e Mon Sep 17 00:00:00 2001 2 + From: Constantin Rack <constantin@rack.li> 3 + Date: Sat, 8 Nov 2014 10:50:17 +0100 4 + Subject: [PATCH] Problem: return code of sodium_init() is not checked. 5 + 6 + There are two todo comments in curve_client.cpp and curve_server.cpp that suggest 7 + checking the return code of sodium_init() call. sodium_init() returns -1 on error, 8 + 0 on success and 1 if it has been called before and is already initalized: 9 + https://github.com/jedisct1/libsodium/blob/master/src/libsodium/sodium/core.c 10 + --- 11 + src/curve_client.cpp | 7 ++++--- 12 + src/curve_server.cpp | 7 ++++--- 13 + 2 files changed, 8 insertions(+), 6 deletions(-) 14 + 15 + diff --git a/src/curve_client.cpp b/src/curve_client.cpp 16 + index 6019c54..77fc420 100644 17 + --- a/src/curve_client.cpp 18 + +++ b/src/curve_client.cpp 19 + @@ -38,6 +38,7 @@ zmq::curve_client_t::curve_client_t (const options_t &options_) : 20 + cn_peer_nonce(1), 21 + sync() 22 + { 23 + + int rc; 24 + memcpy (public_key, options_.curve_public_key, crypto_box_PUBLICKEYBYTES); 25 + memcpy (secret_key, options_.curve_secret_key, crypto_box_SECRETKEYBYTES); 26 + memcpy (server_key, options_.curve_server_key, crypto_box_PUBLICKEYBYTES); 27 + @@ -47,12 +48,12 @@ zmq::curve_client_t::curve_client_t (const options_t &options_) : 28 + unsigned char tmpbytes[4]; 29 + randombytes(tmpbytes, 4); 30 + #else 31 + - // todo check return code 32 + - sodium_init(); 33 + + rc = sodium_init (); 34 + + zmq_assert (rc != -1); 35 + #endif 36 + 37 + // Generate short-term key pair 38 + - const int rc = crypto_box_keypair (cn_public, cn_secret); 39 + + rc = crypto_box_keypair (cn_public, cn_secret); 40 + zmq_assert (rc == 0); 41 + } 42 + 43 + diff --git a/src/curve_server.cpp b/src/curve_server.cpp 44 + index a3c4243..22c32d6 100644 45 + --- a/src/curve_server.cpp 46 + +++ b/src/curve_server.cpp 47 + @@ -42,6 +42,7 @@ zmq::curve_server_t::curve_server_t (session_base_t *session_, 48 + cn_peer_nonce(1), 49 + sync() 50 + { 51 + + int rc; 52 + // Fetch our secret key from socket options 53 + memcpy (secret_key, options_.curve_secret_key, crypto_box_SECRETKEYBYTES); 54 + scoped_lock_t lock (sync); 55 + @@ -50,12 +51,12 @@ zmq::curve_server_t::curve_server_t (session_base_t *session_, 56 + unsigned char tmpbytes[4]; 57 + randombytes(tmpbytes, 4); 58 + #else 59 + - // todo check return code 60 + - sodium_init(); 61 + + rc = sodium_init (); 62 + + zmq_assert (rc != -1); 63 + #endif 64 + 65 + // Generate short-term key pair 66 + - const int rc = crypto_box_keypair (cn_public, cn_secret); 67 + + rc = crypto_box_keypair (cn_public, cn_secret); 68 + zmq_assert (rc == 0); 69 + } 70 +
+1 -1
pkgs/development/tools/build-managers/gnustep/make/default.nix
··· 1 1 { stdenv, fetchurl }: 2 2 3 3 stdenv.mkDerivation rec { 4 - name = "make-${version}"; 4 + name = "gnustep-make-${version}"; 5 5 version = "1.0"; 6 6 7 7 src = fetchurl {
+39
pkgs/development/tools/build-managers/gradle/2.5.nix
··· 1 + { stdenv, fetchurl, unzip, jdk, makeWrapper }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "gradle-2.5"; 5 + 6 + src = fetchurl { 7 + url = "http://services.gradle.org/distributions/${name}-bin.zip"; 8 + sha256 = "0mc5lf6phkncx77r0papzmfvyiqm0y26x50ipvmzkcsbn463x59z"; 9 + }; 10 + 11 + installPhase = '' 12 + mkdir -pv $out/gradle 13 + cp -rv lib $out/gradle 14 + 15 + gradle_launcher_jar=$(echo $out/gradle/lib/gradle-launcher-*.jar) 16 + test -f $gradle_launcher_jar 17 + makeWrapper ${jdk}/bin/java $out/bin/gradle \ 18 + --set JAVA_HOME ${jdk} \ 19 + --add-flags "-classpath $gradle_launcher_jar org.gradle.launcher.GradleMain" 20 + ''; 21 + 22 + phases = "unpackPhase installPhase"; 23 + 24 + buildInputs = [ unzip jdk makeWrapper ]; 25 + 26 + meta = { 27 + description = "Enterprise-grade build system"; 28 + longDescription = '' 29 + Gradle is a build system which offers you ease, power and freedom. 30 + You can choose the balance for yourself. It has powerful multi-project 31 + build support. It has a layer on top of Ivy that provides a 32 + build-by-convention integration for Ivy. It gives you always the choice 33 + between the flexibility of Ant and the convenience of a 34 + build-by-convention behavior. 35 + ''; 36 + homepage = http://www.gradle.org/; 37 + license = stdenv.lib.licenses.asl20; 38 + }; 39 + }
+2 -1
pkgs/development/tools/jq/default.nix
··· 1 - {stdenv, fetchurl}: 1 + {stdenv, fetchurl, oniguruma}: 2 2 let 3 3 s = # Generated upstream information 4 4 rec { ··· 9 9 sha256="0g29kyz4ykasdcrb0zmbrp2jqs9kv1wz9swx849i2d1ncknbzln4"; 10 10 }; 11 11 buildInputs = [ 12 + oniguruma 12 13 ]; 13 14 in 14 15 stdenv.mkDerivation {
+2 -2
pkgs/os-specific/linux/kernel/linux-3.12.nix
··· 1 1 { stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 2 3 3 import ./generic.nix (args // rec { 4 - version = "3.12.49"; 4 + version = "3.12.50"; 5 5 extraMeta.branch = "3.12"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz"; 9 - sha256 = "1vl8ghwhrs2sxd7kgi95nqlmf5k8ps0kr2lyly40ys262174i8lg"; 9 + sha256 = "1bn07wsrcbg4qgqd4v2810c3qc0ifbcza0fyj8s54yd78g9qj4lj"; 10 10 }; 11 11 12 12 features.iwlwifi = true;
+1
pkgs/os-specific/linux/wpa_supplicant/default.nix
··· 16 16 # TODO: Patch epoll so that the dbus actually responds 17 17 # TODO: Figure out how to get privsep working, currently getting SIGBUS 18 18 extraConfig = '' 19 + CONFIG_AP=y 19 20 CONFIG_LIBNL32=y 20 21 CONFIG_EAP_FAST=y 21 22 CONFIG_EAP_PWD=y
pkgs/servers/s6/default.nix pkgs/tools/system/s6/default.nix
+2 -1
pkgs/shells/fish/default.nix
··· 1 - { stdenv, fetchurl, ncurses, python, which, groff, gettext, man_db, bc, libiconv, coreutils }: 1 + { stdenv, fetchurl, ncurses, nettools, python, which, groff, gettext, man_db, bc, libiconv, coreutils }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "fish-${version}"; ··· 23 23 -i "$out/share/fish/functions/seq.fish" \ 24 24 "$out/share/fish/functions/math.fish" 25 25 sed -i "s|which |${which}/bin/which |" "$out/share/fish/functions/type.fish" 26 + sed -i "s|(hostname\||(${nettools}/bin/hostname\||" "$out/share/fish/functions/fish_prompt.fish" 26 27 sed -i "s|nroff |${groff}/bin/nroff |" "$out/share/fish/functions/__fish_print_help.fish" 27 28 sed -e "s|gettext |${gettext}/bin/gettext |" \ 28 29 -e "s|which |${which}/bin/which |" \
+29
pkgs/tools/graphics/imgur-screenshot/default.nix
··· 1 + { stdenv, fetchFromGitHub, makeWrapper, curl, gnugrep, libnotify, scrot, which, xclip }: 2 + 3 + let deps = stdenv.lib.makeSearchPath "bin" [ curl gnugrep libnotify scrot which xclip ]; 4 + in stdenv.mkDerivation rec { 5 + version = "1.5.4"; 6 + name = "imgur-screenshot-${version}"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "jomo"; 10 + repo = "imgur-screenshot"; 11 + rev = "v${version}"; 12 + sha256 = "1ff88mvrd0b7nmrkjljs3rnprk5ih0iif92dn39s3vnag3fp9f10"; 13 + }; 14 + 15 + nativeBuildInputs = [ makeWrapper ]; 16 + 17 + installPhase = '' 18 + install -Dm755 imgur-screenshot.sh $out/bin/imgur-screenshot 19 + wrapProgram $out/bin/imgur-screenshot --prefix PATH ':' ${deps} 20 + ''; 21 + 22 + meta = with stdenv.lib; { 23 + description = "A tool for easy screencapping and uploading to imgur."; 24 + homepage = "https://https://github.com/jomo/imgur-screenshot/"; 25 + platforms = platforms.linux; 26 + license = licenses.mit; 27 + maintainers = with maintainers; [ lw ]; 28 + }; 29 + }
+2 -2
pkgs/tools/misc/binwalk/default.nix
··· 1 - { stdenv, fetchFromGitHub, python, wrapPython, curses, mtdutils, zlib, xz, ncompress, gzip, bzip2, gnutar, p7zip, cabextract 1 + { stdenv, fetchFromGitHub, python, wrapPython, curses, zlib, xz, ncompress, gzip, bzip2, gnutar, p7zip, cabextract 2 2 , pyqtgraph ? null 3 3 , visualizationSupport ? false }: 4 4 ··· 18 18 pythonPath = with stdenv.lib; [ curses ] 19 19 ++ optional visualizationSupport [ pyqtgraph ]; 20 20 21 - propagatedBuildInputs = with stdenv.lib; [ python wrapPython curses mtdutils zlib xz ncompress gzip bzip2 gnutar p7zip cabextract ] 21 + propagatedBuildInputs = with stdenv.lib; [ python wrapPython curses zlib xz ncompress gzip bzip2 gnutar p7zip cabextract ] 22 22 ++ optional visualizationSupport [ pyqtgraph ]; 23 23 24 24 postInstall = "wrapPythonPrograms";
+1 -1
pkgs/tools/misc/t1utils/default.nix
··· 22 22 # README from tarball says "BSD-like" and points to non-existing LICENSE 23 23 # file... 24 24 license = "Click"; # MIT with extra clause, https://github.com/kohler/t1utils/blob/master/LICENSE 25 - platforms = platforms.linux; 25 + platforms = platforms.all; 26 26 maintainers = [ maintainers.bjornfor ]; 27 27 }; 28 28 }
+1 -1
pkgs/tools/networking/network-manager/default.nix
··· 45 45 ]; 46 46 47 47 buildInputs = [ wirelesstools udev libgudev libnl libuuid polkit ppp libndp 48 - xz bluez5 gobjectIntrospection modemmanager readline newt libsoup ]; 48 + xz bluez5 dnsmasq gobjectIntrospection modemmanager readline newt libsoup ]; 49 49 50 50 propagatedBuildInputs = [ dbus_glib gnutls libgcrypt ]; 51 51
+34
pkgs/tools/security/gencfsm/default.nix
··· 1 + { stdenv, fetchurl, autoconf, automake, intltool, libtool, pkgconfig, encfs 2 + , glib , gnome3, gtk3, libgnome_keyring, vala, wrapGAppsHook, xorg }: 3 + 4 + stdenv.mkDerivation rec { 5 + version = "1.8.15"; 6 + name = "gnome-encfs-manager-${version}"; 7 + 8 + src = fetchurl { 9 + url = "https://launchpad.net/gencfsm/trunk/1.8/+download/gnome-encfs-manager_${version}.tar.gz"; 10 + sha256 = "1iryli6fgw6a45abkrjacfac7dwjhbrhw652rqf0s183373db0mx"; 11 + }; 12 + 13 + buildInputs = [ autoconf automake intltool libtool pkgconfig vala glib encfs 14 + gtk3 libgnome_keyring gnome3.libgee_1 xorg.libSM xorg.libICE 15 + wrapGAppsHook ]; 16 + 17 + patches = [ ./makefile-mkdir.patch ]; 18 + 19 + preConfigure = '' 20 + ./autogen.sh 21 + ''; 22 + 23 + configureFlags = [ "--disable-appindicator" ]; 24 + 25 + preFixup = ''gappsWrapperArgs+=(--prefix PATH : ${encfs}/bin)''; 26 + 27 + meta = with stdenv.lib; { 28 + homepage = http://www.libertyzero.com/GEncfsM/; 29 + description = "EncFS manager and mounter with GNOME3 integration"; 30 + license = licenses.gpl2Plus; 31 + platforms = platforms.linux; 32 + maintainers = [ maintainers.spacefrogg ]; 33 + }; 34 + }
+14
pkgs/tools/security/gencfsm/makefile-mkdir.patch
··· 1 + --- a/dist/Makefile.am 2 + +++ b/dist/Makefile.am 3 + @@ -10,9 +10,9 @@ install-data-hook: 4 + chmod 0755 $(shell find $(dist) -type d) 5 + chmod 0644 $(shell find $(dist) -type f) 6 + chmod 0755 $(shell find "scripts" -type f) 7 + - test -z "$(DESTDIR)$(datadir)/dbus-1/services/" || /bin/mkdir -p "$(DESTDIR)$(datadir)/dbus-1/services/" 8 + + test -z "$(DESTDIR)$(datadir)/dbus-1/services/" || $(MKDIR_P) "$(DESTDIR)$(datadir)/dbus-1/services/" 9 + cp "extra/com.libertyzero.gnome-encfs-manager.service" "$(DESTDIR)$(datadir)/dbus-1/services/" 10 + - test -z "$(gencfsmdir)" || /bin/mkdir -p "$(gencfsmdir)" 11 + + test -z "$(gencfsmdir)" || $(MKDIR_P) "$(gencfsmdir)" 12 + cp --parent -rf $(dist) "$(gencfsmdir)" 13 + cp --parent -rf $(icons) $(DESTDIR)$(datadir) 14 +
+5 -3
pkgs/tools/system/collectd/default.nix
··· 4 4 , curl ? null 5 5 , iptables ? null 6 6 , jdk ? null 7 + , libatasmart ? null 7 8 , libcredis ? null 8 9 , libdbi ? null 9 10 , libgcrypt ? null ··· 25 26 , rabbitmq-c ? null 26 27 , riemann ? null 27 28 , rrdtool ? null 29 + , udev ? null 28 30 , varnish ? null 29 31 , yajl ? null 30 32 }: ··· 38 40 }; 39 41 40 42 buildInputs = [ 41 - pkgconfig curl iptables libcredis libdbi libgcrypt libmemcached cyrus_sasl 42 - libmodbus libnotify gdk_pixbuf liboping libpcap libsigrok libvirt 43 + pkgconfig curl iptables libatasmart libcredis libdbi libgcrypt libmemcached 44 + cyrus_sasl libmodbus libnotify gdk_pixbuf liboping libpcap libsigrok libvirt 43 45 lm_sensors libxml2 lvm2 mysql.lib postgresql protobufc rabbitmq-c rrdtool 44 - varnish yajl jdk libtool python 46 + varnish yajl jdk libtool python udev 45 47 ]; 46 48 47 49 # for some reason libsigrok isn't auto-detected
+42
pkgs/tools/system/s6-rc/default.nix
··· 1 + { stdenv, execline, fetchgit, skalibs, s6 }: 2 + 3 + let 4 + 5 + version = "0.0.1.0"; 6 + 7 + in stdenv.mkDerivation rec { 8 + 9 + name = "s6-rc-${version}"; 10 + 11 + src = fetchgit { 12 + url = "git://git.skarnet.org/s6-rc"; 13 + rev = "refs/tags/v${version}"; 14 + sha256 = "02ppsda8pg7mph3r7lrh7dhi6ip99bgghsl3lf902cg9i4n50q6q"; 15 + }; 16 + 17 + dontDisableStatic = true; 18 + 19 + enableParallelBuilding = true; 20 + 21 + configureFlags = [ 22 + "--with-sysdeps=${skalibs}/lib/skalibs/sysdeps" 23 + "--with-include=${skalibs}/include" 24 + "--with-include=${execline}/include" 25 + "--with-include=${s6}/include" 26 + "--with-lib=${skalibs}/lib" 27 + "--with-lib=${execline}/lib" 28 + "--with-lib=${s6}/lib/s6" 29 + "--with-dynlib=${skalibs}/lib" 30 + "--with-dynlib=${execline}/lib" 31 + "--with-dynlib=${s6}/lib" 32 + ] ++ [ (if stdenv.isDarwin then "--disable-shared" else "--enable-shared") ]; 33 + 34 + meta = { 35 + homepage = http://skarnet.org/software/s6-rc/; 36 + description = "a service manager for s6-based systems"; 37 + platforms = stdenv.lib.platforms.all; 38 + license = stdenv.lib.licenses.isc; 39 + maintainers = with stdenv.lib.maintainers; [ pmahoney ]; 40 + }; 41 + 42 + }
+3 -2
pkgs/tools/text/tidy-html5/default.nix
··· 1 - { stdenv, lib, cmake, fetchFromGitHub, ... }: 1 + { stdenv, lib, cmake, fetchFromGitHub, libxslt, ... }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 ··· 12 12 sha256 = "0hd4c23352r5lnh23mx137wb4mkxcjdrl1dy8kgghszik5fprs3s"; 13 13 }; 14 14 15 - buildInputs = [ cmake ]; 15 + buildInputs = [ cmake libxslt ]; 16 16 17 17 meta = with stdenv.lib; { 18 18 description = "The granddaddy of HTML tools, with support for modern standards"; 19 19 homepage = "http://www.html-tidy.org/"; 20 20 license = licenses.w3c; 21 + platforms = platforms.all; 21 22 maintainers = with maintainers; [ edwtjo ]; 22 23 }; 23 24
+46 -3
pkgs/top-level/all-packages.nix
··· 842 842 843 843 fzf = goPackages.fzf.bin // { outputs = [ "bin" ]; }; 844 844 845 + gencfsm = callPackage ../tools/security/gencfsm { }; 846 + 845 847 gist = callPackage ../tools/text/gist { }; 846 848 847 849 gmic = callPackage ../tools/graphics/gmic { }; ··· 1877 1879 imapproxy = callPackage ../tools/networking/imapproxy { }; 1878 1880 1879 1881 imapsync = callPackage ../tools/networking/imapsync { }; 1882 + 1883 + imgur-screenshot = callPackage ../tools/graphics/imgur-screenshot { }; 1880 1884 1881 1885 imgurbash = callPackage ../tools/graphics/imgurbash { }; 1882 1886 ··· 4115 4119 4116 4120 oraclejdk8 = pkgs.oraclejdk8distro true false; 4117 4121 4122 + oraclejdk8psu = pkgs.oraclejdk8psu_distro true false; 4123 + 4118 4124 oraclejre = lowPrio (pkgs.jdkdistro false false); 4119 4125 4120 4126 oraclejre7 = lowPrio (pkgs.oraclejdk7distro false false); ··· 4122 4128 oraclejre7psu = lowPrio (pkgs.oraclejdk7psu_distro false false); 4123 4129 4124 4130 oraclejre8 = lowPrio (pkgs.oraclejdk8distro false false); 4131 + 4132 + oraclejre8psu = lowPrio (pkgs.oraclejdk8psu_distro false false); 4125 4133 4126 4134 jrePlugin = lowPrio (pkgs.jdkdistro false true); 4127 4135 ··· 4148 4156 assert supportsJDK; 4149 4157 (if pluginSupport then appendToName "with-plugin" else x: x) 4150 4158 (callPackage ../development/compilers/oraclejdk/jdk8-linux.nix { inherit installjdk; }); 4159 + 4160 + oraclejdk8psu_distro = installjdk: pluginSupport: 4161 + assert supportsJDK; 4162 + (if pluginSupport then appendToName "with-plugin" else x: x) 4163 + (callPackage ../development/compilers/oraclejdk/jdk8psu-linux.nix { inherit installjdk; }); 4151 4164 4152 4165 jikes = callPackage ../development/compilers/jikes { }; 4153 4166 ··· 5590 5603 5591 5604 gradle = callPackage ../development/tools/build-managers/gradle { }; 5592 5605 5606 + gradle25 = callPackage ../development/tools/build-managers/gradle/2.5.nix { }; 5607 + 5593 5608 gperf = callPackage ../development/tools/misc/gperf { }; 5594 5609 5595 5610 grail = callPackage ../development/libraries/grail { }; ··· 6660 6675 6661 6676 incrtcl = callPackage ../development/libraries/incrtcl { }; 6662 6677 6678 + indicator-application-gtk2 = callPackage ../development/libraries/indicator-application/gtk2.nix { }; 6679 + indicator-application-gtk3 = callPackage ../development/libraries/indicator-application/gtk3.nix { }; 6680 + 6663 6681 indilib = callPackage ../development/libraries/indilib { }; 6664 6682 6665 6683 iniparser = callPackage ../development/libraries/iniparser { }; ··· 6809 6827 6810 6828 libantlr3c = callPackage ../development/libraries/libantlr3c {}; 6811 6829 6830 + libappindicator-gtk2 = callPackage ../development/libraries/libappindicator { gtkVersion = "2"; }; 6831 + libappindicator-gtk3 = callPackage ../development/libraries/libappindicator { gtkVersion = "3"; }; 6832 + 6812 6833 libarchive = callPackage ../development/libraries/libarchive { }; 6813 6834 6814 6835 libasr = callPackage ../development/libraries/libasr { }; ··· 6911 6932 libdbiDrivers = libdbiDriversBase.override { 6912 6933 inherit sqlite libmysql; 6913 6934 }; 6935 + 6936 + libdbusmenu-glib = callPackage ../development/libraries/libdbusmenu { }; 6937 + libdbusmenu-gtk2 = callPackage ../development/libraries/libdbusmenu { gtkVersion = "2"; }; 6938 + libdbusmenu-gtk3 = callPackage ../development/libraries/libdbusmenu { gtkVersion = "3"; }; 6914 6939 6915 6940 libdbusmenu_qt = callPackage ../development/libraries/libdbusmenu-qt { }; 6916 6941 ··· 7097 7122 7098 7123 libimobiledevice = callPackage ../development/libraries/libimobiledevice { }; 7099 7124 7125 + libindicate-gtk2 = callPackage ../development/libraries/libindicate { gtkVersion = "2"; }; 7126 + libindicate-gtk3 = callPackage ../development/libraries/libindicate { gtkVersion = "3"; }; 7127 + 7128 + libindicator-gtk2 = callPackage ../development/libraries/libindicator { gtkVersion = "2"; }; 7129 + libindicator-gtk3 = callPackage ../development/libraries/libindicator { gtkVersion = "3"; }; 7130 + 7100 7131 libiodbc = callPackage ../development/libraries/libiodbc { 7101 7132 useGTK = config.libiodbc.gtk or false; 7102 7133 }; ··· 9309 9340 9310 9341 pyMAILt = builderDefsPackage (callPackage ../servers/xmpp/pyMAILt) {}; 9311 9342 9312 - qpid-cpp = callPackage ../servers/amqp/qpid-cpp { }; 9343 + qpid-cpp = callPackage ../servers/amqp/qpid-cpp { 9344 + boost = boost155; 9345 + }; 9313 9346 9314 9347 rabbitmq_server = callPackage ../servers/amqp/rabbitmq-server { 9315 9348 inherit (darwin.apple_sdk.frameworks) AppKit Carbon Cocoa; ··· 9333 9366 9334 9367 ripple-rest = callPackage ../servers/rippled/ripple-rest.nix { }; 9335 9368 9336 - s6 = callPackage ../servers/s6 { }; 9369 + s6 = callPackage ../tools/system/s6 { }; 9370 + 9371 + s6-rc = callPackage ../tools/system/s6-rc { }; 9337 9372 9338 9373 spamassassin = callPackage ../servers/mail/spamassassin { 9339 9374 inherit (perlPackages) HTMLParser NetDNS NetAddrIP DBFile ··· 11108 11143 desktopName = "Conkeror"; 11109 11144 }; 11110 11145 11111 - csdp = callPackage ../applications/science/math/csdp { }; 11146 + csdp = callPackage ../applications/science/math/csdp { 11147 + liblapack = liblapackWithoutAtlas; 11148 + }; 11112 11149 11113 11150 cuneiform = builderDefsPackage (callPackage ../tools/graphics/cuneiform) {}; 11114 11151 ··· 13181 13218 neovim = callPackage ../applications/editors/neovim { 13182 13219 inherit (lua52Packages) lpeg luaMessagePack luabitop; 13183 13220 }; 13221 + 13222 + neovim-qt = callPackage ../applications/editors/neovim/qt.nix { 13223 + qt5 = qt55; 13224 + }; 13225 + 13226 + neovim-pygui = pythonPackages.neovim_gui; 13184 13227 13185 13228 virtviewer = callPackage ../applications/virtualization/virt-viewer { 13186 13229 gtkvnc = gtkvnc.override { enableGTK3 = true; };
+32
pkgs/top-level/dotnet-packages.nix
··· 420 420 }; 421 421 }; 422 422 423 + MonoAddins = buildDotnetPackage rec { 424 + baseName = "Mono.Addins"; 425 + version = "1.2"; 426 + 427 + xBuildFiles = [ 428 + "Mono.Addins/Mono.Addins.csproj" 429 + "Mono.Addins.Setup/Mono.Addins.Setup.csproj" 430 + "Mono.Addins.Gui/Mono.Addins.Gui.csproj" 431 + "Mono.Addins.CecilReflector/Mono.Addins.CecilReflector.csproj" 432 + ]; 433 + outputFiles = [ "bin/*" ]; 434 + 435 + src = fetchFromGitHub { 436 + owner = "mono"; 437 + repo = "mono-addins"; 438 + rev = "mono-addins-${version}"; 439 + sha256 = "1hnn0a2qsjcjprsxas424bzvhsdwy0yc2jj5xbp698c0m9kfk24y"; 440 + }; 441 + 442 + buildInputs = [ pkgs.gtk-sharp ]; 443 + 444 + meta = { 445 + description = "A generic framework for creating extensible applications"; 446 + homepage = http://www.mono-project.com/Mono.Addins; 447 + longDescription = '' 448 + A generic framework for creating extensible applications, 449 + and for creating libraries which extend those applications. 450 + ''; 451 + license = stdenv.lib.licenses.mit; 452 + }; 453 + }; 454 + 423 455 MonoDevelopFSharpBinding = buildDotnetPackage rec { 424 456 baseName = "MonoDevelop.FSharpBinding"; 425 457 version = "git-a09c8185eb";
+21
pkgs/top-level/go-packages.nix
··· 1666 1666 owner = "ipfs"; 1667 1667 repo = "go-ipfs"; 1668 1668 sha256 = "0g80b65ysj995dj3mkh3lp4v616fzjl7bx2wf14mkxfri4gr5icb"; 1669 + disabled = isGo14; 1669 1670 }; 1670 1671 1671 1672 ldap = buildGoPackage rec { ··· 3129 3130 owner = "tools"; 3130 3131 repo = "godep"; 3131 3132 sha256 = "0zc1ah5cvaqa3zw0ska89a40x445vwl1ixz8v42xi3zicx16ibwz"; 3133 + }; 3134 + 3135 + acbuild = stdenv.mkDerivation rec { 3136 + version = "0.1.1"; 3137 + name = "acbuild-${version}"; 3138 + src = fetchFromGitHub { 3139 + rev = "beae3971de6b2c35807a98ef1d0fa3167cc3a4a8"; 3140 + owner = "appc"; 3141 + repo = "acbuild"; 3142 + sha256 = "1mjmg2xj190dypp2yqslrx8xhwcyrrz38xxp0rig4fr60i2qy41j"; 3143 + }; 3144 + buildInputs = [ go ]; 3145 + patchPhase = '' 3146 + sed -i -e 's|\$(git describe --dirty)|"${version}"|' build 3147 + sed -i -e 's|\$GOBIN/acbuild|$out/bin/acbuild|' build 3148 + ''; 3149 + installPhase = '' 3150 + mkdir -p $out/bin 3151 + ./build 3152 + ''; 3132 3153 }; 3133 3154 3134 3155 }; in self
+61 -10
pkgs/top-level/python-packages.nix
··· 3619 3619 checkPhase = '' 3620 3620 # Not worth the trouble 3621 3621 rm test/with_dummyserver/test_proxy_poolmanager.py 3622 - nosetests --cover-min-percentage 70 -v 3622 + # pypy: https://github.com/shazow/urllib3/issues/736 3623 + rm test/with_dummyserver/test_connectionpool.py 3624 + 3625 + nosetests -v --cover-min-percentage 1 3623 3626 ''; 3624 3627 3625 3628 ··· 4992 4995 4993 4996 pirate-get = pythonPackages.buildPythonPackage rec { 4994 4997 name = "pirate-get-${version}"; 4995 - version = "0.2.7"; 4998 + version = "0.2.8"; 4996 4999 4997 5000 disabled = !isPy3k; 5001 + doCheck = false; 4998 5002 4999 5003 src = pkgs.fetchurl { 5000 5004 url = "https://pypi.python.org/packages/source/p/pirate-get/${name}.tar.gz"; 5001 - sha256 = "0awjrmczvd6rwzj4fb7bhjlil5mx91amjs7fk5890h3in52clxg3"; 5005 + sha256 = "033dwv0w9fx3dwrna3fzvmynsfhb2qjhx6f2i9sfv82ijvkm8ynz"; 5002 5006 }; 5003 5007 5004 - propagatedBuildInputs = [ self.colorama ]; 5008 + propagatedBuildInputs = with self; [ colorama veryprettytable pyquery ]; 5005 5009 5006 5010 meta = { 5007 5011 description = "A command line interface for The Pirate Bay"; ··· 6162 6166 license = licenses.bsd2; 6163 6167 }; 6164 6168 }; 6169 + 6170 + django_redis = makeOverridable ({ django ? self.django }: buildPythonPackage rec { 6171 + name = "django-redis-${version}"; 6172 + version = "4.2.0"; 6173 + 6174 + src = pkgs.fetchurl { 6175 + url = "http://pypi.python.org/packages/source/d/django-redis/${name}.tar.gz"; 6176 + sha256 = "9ad6b299458f7e6bfaefa8905f52560017369d82fb8fb0ed4b41adc048dbf11c"; 6177 + }; 6178 + 6179 + buildInputs = [ self.mock ]; 6180 + 6181 + propagatedBuildInputs = [ django ] ++ 6182 + (with self; [ 6183 + redis 6184 + msgpack 6185 + ]); 6186 + 6187 + meta = { 6188 + description = "Full featured redis cache backend for Django"; 6189 + homepage = https://github.com/niwibe/django-redis; 6190 + license = licenses.bsd3; 6191 + }; 6192 + }) {}; 6165 6193 6166 6194 django_reversion = buildPythonPackage rec { 6167 6195 name = "django-reversion-${version}"; ··· 9038 9066 9039 9067 rainbowstream = buildPythonPackage rec { 9040 9068 name = "rainbowstream-${version}"; 9041 - version = "1.2.7"; 9069 + version = "1.3.1"; 9042 9070 9043 9071 src = pkgs.fetchurl { 9044 9072 url = "https://pypi.python.org/packages/source/r/rainbowstream/${name}.tar.gz"; 9045 - sha256 = "1jvv07w9n7ca251l92alm2yq9w82sb7lvxz6if3gc3nbqzc587rf"; 9073 + sha256 = "0dhhgr0ww4x85pgl6mzp327sy4v6mv6hz3wvnsrwl0knkxknbadv"; 9046 9074 }; 9047 9075 9048 9076 doCheck = false; ··· 9055 9083 clib=$out/${python.sitePackages}/rainbowstream/image.so 9056 9084 substituteInPlace rainbowstream/c_image.py \ 9057 9085 --replace @CLIB@ $clib 9086 + sed -i 's/requests.*"/requests"/' setup.py 9058 9087 ''; 9059 9088 9060 9089 preBuild = '' ··· 9072 9101 9073 9102 buildInputs = with self; [ 9074 9103 pkgs.libjpeg pkgs.freetype pkgs.zlib pkgs.glibcLocales 9075 - pillow twitter pyfiglet requests arrow dateutil modules.readline pysocks 9104 + pillow twitter pyfiglet requests2 arrow dateutil modules.readline pysocks 9076 9105 ]; 9077 9106 9078 9107 meta = { ··· 10561 10590 10562 10591 propagatedBuildInputs = with self; [ 10563 10592 pbr requests2 10564 - (sphinx.override { 10593 + (sphinx.override rec { 10594 + name = "sphinx-1.2.3"; 10565 10595 src = pkgs.fetchurl { 10566 - url = "https://pypi.python.org/packages/source/s/sphinx/sphinx-1.2.3.tar.gz"; 10596 + url = "https://pypi.python.org/packages/source/s/sphinx/${name}.tar.gz"; 10567 10597 sha256 = "94933b64e2fe0807da0612c574a021c0dac28c7bd3c4a23723ae5a39ea8f3d04"; 10568 10598 }; 10569 10599 patches = []; 10600 + disabled = isPy35; 10570 10601 }) 10571 10602 ]; 10572 10603 }; ··· 16245 16276 }; 16246 16277 }; 16247 16278 16279 + sandboxlib = buildPythonPackage rec { 16280 + name = "sandboxlib-${version}"; 16281 + version = "0.31"; 16282 + 16283 + disabled = isPy3k; 16284 + 16285 + buildInputs = [ self.pbr ]; 16286 + 16287 + src = pkgs.fetchurl { 16288 + url = "https://pypi.python.org/packages/source/s/sandboxlib/sandboxlib-0.3.1.tar.gz"; 16289 + sha256 = "0csj8hbpylqdkxcpqkcfs73dfvdqkyj23axi8m9drqdi4dhxb41h"; 16290 + }; 16291 + 16292 + meta = { 16293 + description = "Sandboxing Library for Python"; 16294 + homepage = https://pypi.python.org/pypi/sandboxlib/0.3.1; 16295 + license = licenses.gpl2; 16296 + }; 16297 + }; 16298 + 16248 16299 semantic-version = buildPythonPackage rec { 16249 16300 name = "semantic_version-2.4.2"; 16250 16301 src = pkgs.fetchurl { ··· 20783 20834 }; 20784 20835 20785 20836 neovim_gui = buildPythonPackage rec { 20786 - name = "neovim-gui-${self.neovim.version}"; 20837 + name = "neovim-pygui-${self.neovim.version}"; 20787 20838 disabled = !isPy27; 20788 20839 20789 20840 src = self.neovim.src;