lol

Merge branch 'master' into cross-compiling-postgresql

+653 -602
+28 -16
doc/languages-frameworks/python.section.md
··· 1006 1006 If you need to change a package's attribute(s) from `configuration.nix` you could do: 1007 1007 1008 1008 ```nix 1009 - nixpkgs.config.packageOverrides = superP: { 1010 - pythonPackages = superP.pythonPackages.override { 1011 - overrides = self: super: { 1012 - bepasty-server = super.bepasty-server.overrideAttrs ( oldAttrs: { 1013 - src = pkgs.fetchgit { 1014 - url = "https://github.com/bepasty/bepasty-server"; 1015 - sha256 = "9ziqshmsf0rjvdhhca55sm0x8jz76fsf2q4rwh4m6lpcf8wr0nps"; 1016 - rev = "e2516e8cf4f2afb5185337073607eb9e84a61d2d"; 1009 + nixpkgs.config.packageOverrides = super: { 1010 + python = super.python.override { 1011 + packageOverrides = python-self: python-super: { 1012 + zerobin = python-super.zerobin.overrideAttrs (oldAttrs: { 1013 + src = super.fetchgit { 1014 + url = "https://github.com/sametmax/0bin"; 1015 + rev = "a344dbb18fe7a855d0742b9a1cede7ce423b34ec"; 1016 + sha256 = "16d769kmnrpbdr0ph0whyf4yff5df6zi4kmwx7sz1d3r6c8p6xji"; 1017 1017 }; 1018 1018 }); 1019 1019 }; ··· 1021 1021 }; 1022 1022 ``` 1023 1023 1024 - If you are using the `bepasty-server` package somewhere, for example in `systemPackages` or indirectly from `services.bepasty`, then a `nixos-rebuild switch` will rebuild the system but with the `bepasty-server` package using a different `src` attribute. This way one can modify `python` based software/libraries easily. Using `self` and `super` one can also alter dependencies (`buildInputs`) between the old state (`self`) and new state (`super`). 1024 + `pythonPackages.zerobin` is now globally overriden. All packages and also the 1025 + `zerobin` NixOS service use the new definition. 1026 + Note that `python-super` refers to the old package set and `python-self` 1027 + to the new, overridden version. 1028 + 1029 + To modify only a Python package set instead of a whole Python derivation, use this snippet: 1030 + 1031 + ```nix 1032 + myPythonPackages = pythonPackages.override { 1033 + overrides = self: super: { 1034 + zerobin = ...; 1035 + }; 1036 + } 1037 + ``` 1025 1038 1026 1039 ### How to override a Python package using overlays? 1027 1040 1028 - To alter a python package using overlays, you would use the following approach: 1041 + Use the following overlay template: 1029 1042 1030 1043 ```nix 1031 1044 self: super: 1032 1045 { 1033 1046 python = super.python.override { 1034 1047 packageOverrides = python-self: python-super: { 1035 - bepasty-server = python-super.bepasty-server.overrideAttrs ( oldAttrs: { 1036 - src = self.pkgs.fetchgit { 1037 - url = "https://github.com/bepasty/bepasty-server"; 1038 - sha256 = "9ziqshmsf0rjvdhhca55sm0x8jz76fsf2q4rwh4m6lpcf8wr0nps"; 1039 - rev = "e2516e8cf4f2afb5185337073607eb9e84a61d2d"; 1048 + zerobin = python-super.zerobin.overrideAttrs (oldAttrs: { 1049 + src = super.fetchgit { 1050 + url = "https://github.com/sametmax/0bin"; 1051 + rev = "a344dbb18fe7a855d0742b9a1cede7ce423b34ec"; 1052 + sha256 = "16d769kmnrpbdr0ph0whyf4yff5df6zi4kmwx7sz1d3r6c8p6xji"; 1040 1053 }; 1041 1054 }); 1042 1055 }; 1043 1056 }; 1044 - pythonPackages = self.python.pkgs; 1045 1057 } 1046 1058 ``` 1047 1059
+5
maintainers/maintainer-list.nix
··· 2737 2737 github = "neeasade"; 2738 2738 name = "Nathan Isom"; 2739 2739 }; 2740 + neonfuz = { 2741 + email = "neonfuz@gmail.com"; 2742 + github = "neonfuz"; 2743 + name = "Sage Raflik"; 2744 + }; 2740 2745 nequissimus = { 2741 2746 email = "tim@nequissimus.com"; 2742 2747 github = "nequissimus";
+107 -128
pkgs/applications/editors/vim/configurable.nix
··· 1 1 # TODO tidy up eg The patchelf code is patching gvim even if you don't build it.. 2 2 # but I have gvim with python support now :) - Marc 3 3 args@{ source ? "default", callPackage, fetchurl, stdenv, ncurses, pkgconfig, gettext 4 - , composableDerivation, writeText, lib, config, glib, gtk2, gtk3, python, perl, tcl, ruby 4 + , writeText, lib, config, glib, gtk2, gtk3, python, perl, tcl, ruby 5 5 , libX11, libXext, libSM, libXpm, libXt, libXaw, libXau, libXmu 6 6 , libICE 7 7 , vimPlugins ··· 10 10 # apple frameworks 11 11 , CoreServices, CoreData, Cocoa, Foundation, libobjc, cf-private 12 12 13 - , wrapPythonDrv ? false 14 - 13 + , features ? "huge" # One of tiny, small, normal, big or huge 14 + , wrapPythonDrv ? false 15 + , guiSupport ? config.vim.gui or "auto" 16 + , luaSupport ? config.vim.lua or true 17 + , perlSupport ? config.vim.perl or false # Perl interpreter 18 + , pythonSupport ? config.vim.python or true # Python interpreter 19 + , rubySupport ? config.vim.ruby or true # Ruby interpreter 20 + , nlsSupport ? config.vim.nls or false # Enable NLS (gettext()) 21 + , tclSupport ? config.vim.tcl or false # Include Tcl interpreter 22 + , multibyteSupport ? config.vim.multibyte or false # Enable multibyte editing support 23 + , cscopeSupport ? config.vim.cscope or true # Enable cscope interface 24 + , netbeansSupport ? config.netbeans or true # Enable NetBeans integration support. 25 + , ximSupport ? config.vim.xim or true # less than 15KB, needed for deadkeys 26 + # By default, compile with darwin support if we're compiling on darwin, but 27 + # allow this to be disabled by setting config.vim.darwin to false 28 + , darwinSupport ? stdenv.isDarwin && (config.vim.darwin or true) # Enable Darwin support 29 + , ftNixSupport ? config.vim.ftNix or true # Add .nix filetype detection and minimal syntax highlighting support 15 30 , ... }: with args; 16 31 17 32 18 33 let 19 - inherit (args.composableDerivation) composableDerivation edf; 20 34 nixosRuntimepath = writeText "nixos-vimrc" '' 21 35 set nocompatible 22 36 syntax on ··· 48 62 ''; 49 63 50 64 common = callPackage ./common.nix {}; 51 - in 52 - composableDerivation { 53 - } (fix: rec { 54 65 55 - name = "vim_configurable-${version}"; 66 + isPython3 = python.isPy3 or false; 56 67 57 - inherit (common) version postPatch hardeningDisable enableParallelBuilding meta; 68 + in stdenv.mkDerivation rec { 58 69 59 - src = builtins.getAttr source { 60 - "default" = common.src; # latest release 70 + name = "vim_configurable-${version}"; 61 71 62 - "vim-nox" = 63 - { 64 - # vim nox branch: client-server without X by uing sockets 65 - # REGION AUTO UPDATE: { name="vim-nox"; type="hg"; url="https://code.google.com/r/yukihironakadaira-vim-cmdsrv-nox/"; branch="cmdsrv-nox"; } 66 - src = (fetchurl { url = "http://mawercer.de/~nix/repos/vim-nox-hg-2082fc3.tar.bz2"; sha256 = "293164ca1df752b7f975fd3b44766f5a1db752de6c7385753f083499651bd13a"; }); 67 - name = "vim-nox-hg-2082fc3"; 68 - # END 69 - }.src; 70 - }; 72 + inherit (common) version postPatch hardeningDisable enableParallelBuilding meta; 71 73 72 - patches = [ ./cflags-prune.diff ]; 74 + src = builtins.getAttr source { 75 + "default" = common.src; # latest release 73 76 74 - configureFlags 75 - = [ "--enable-gui=${args.gui}" "--with-features=${args.features}" ]; 77 + "vim-nox" = 78 + { 79 + # vim nox branch: client-server without X by uing sockets 80 + # REGION AUTO UPDATE: { name="vim-nox"; type="hg"; url="https://code.google.com/r/yukihironakadaira-vim-cmdsrv-nox/"; branch="cmdsrv-nox"; } 81 + src = (fetchurl { url = "http://mawercer.de/~nix/repos/vim-nox-hg-2082fc3.tar.bz2"; sha256 = "293164ca1df752b7f975fd3b44766f5a1db752de6c7385753f083499651bd13a"; }); 82 + name = "vim-nox-hg-2082fc3"; 83 + # END 84 + }.src; 85 + }; 76 86 77 - nativeBuildInputs = [ pkgconfig ]; 87 + patches = [ ./cflags-prune.diff ] ++ stdenv.lib.optional ftNixSupport ./ft-nix-support.patch; 78 88 79 - buildInputs 80 - = [ ncurses libX11 libXext libSM libXpm libXt libXaw libXau 81 - libXmu glib libICE ] ++ (if args.gui == "gtk3" then [gtk3] else [gtk2]); 89 + configureFlags = [ 90 + "--enable-gui=${guiSupport}" 91 + "--with-features=${features}" 92 + "--disable-xsmp" # XSMP session management 93 + "--disable-xsmp_interact" # XSMP interaction 94 + "--disable-workshop" # Sun Visual Workshop support 95 + "--disable-sniff" # Sniff interface 96 + "--disable-hangulinput" # Hangul input support 97 + "--disable-fontset" # X fontset output support 98 + "--disable-acl" # ACL support 99 + "--disable-gpm" # GPM (Linux mouse daemon) 100 + "--disable-mzschemeinterp" 101 + "--disable-gtk_check" 102 + "--disable-gtk2_check" 103 + "--disable-gnome_check" 104 + "--disable-motif_check" 105 + "--disable-athena_check" 106 + "--disable-nextaf_check" 107 + "--disable-carbon_check" 108 + "--disable-gtktest" 109 + ] 110 + ++ stdenv.lib.optionals luaSupport [ 111 + "--with-lua-prefix=${args.lua}" 112 + "--enable-luainterp" 113 + ] 114 + ++ stdenv.lib.optionals pythonSupport [ 115 + "--enable-python${if isPython3 then "3" else ""}" 116 + ] 117 + ++ stdenv.lib.optionals (pythonSupport && stdenv.isDarwin) [ # Why only for Darwin? 118 + "--enable-python${if isPython3 then "3" else ""}interp=yes" # Duplicate? 119 + "--with-python${if isPython3 then "3" else ""}-config-dir=${python}/lib" 120 + "--disable-python${if isPython3 then "" else "3"}interp" 121 + ] 122 + ++ stdenv.lib.optional nlsSupport "--enable-nls" 123 + ++ stdenv.lib.optional perlSupport "--enable-perlinterp" 124 + ++ stdenv.lib.optional rubySupport "--enable-rubyinterp" 125 + ++ stdenv.lib.optional tclSupport "--enable-tclinterp" 126 + ++ stdenv.lib.optional multibyteSupport "--enable-multibyte" 127 + ++ stdenv.lib.optional cscopeSupport "--enable-cscope" 128 + ++ stdenv.lib.optional netbeansSupport "--enable-netbeans" 129 + ++ stdenv.lib.optional ximSupport "--enable-xim"; 82 130 83 - # most interpreters aren't tested yet.. (see python for example how to do it) 84 - flags = { 85 - ftNix = { 86 - patches = [ ./ft-nix-support.patch ]; 87 - preConfigure = '' 88 - cp ${vimPlugins.vim-nix.src}/ftplugin/nix.vim runtime/ftplugin/nix.vim 89 - cp ${vimPlugins.vim-nix.src}/indent/nix.vim runtime/indent/nix.vim 90 - cp ${vimPlugins.vim-nix.src}/syntax/nix.vim runtime/syntax/nix.vim 91 - ''; 92 - }; 93 - } 94 - // edf { 95 - name = "darwin"; 96 - enable = { 97 - buildInputs = [ CoreServices CoreData Cocoa Foundation libobjc cf-private ]; 98 - NIX_LDFLAGS = stdenv.lib.optional stdenv.isDarwin 99 - "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation"; 100 - }; 101 - } #Disable Darwin (macOS) support. 102 - // edf { name = "xsmp"; } #Disable XSMP session management 103 - // edf { name = "xsmp_interact"; } #Disable XSMP interaction 104 - // edf { name = "mzscheme"; feat = "mzschemeinterp";} #Include MzScheme interpreter. 105 - // edf { name = "perl"; feat = "perlinterp"; enable = { nativeBuildInputs = [perl]; };} #Include Perl interpreter. 131 + nativeBuildInputs = [ 132 + pkgconfig 133 + ] 134 + ++ stdenv.lib.optional wrapPythonDrv makeWrapper 135 + ++ stdenv.lib.optional nlsSupport gettext 136 + ++ stdenv.lib.optional perlSupport perl 137 + ; 106 138 107 - // edf { 108 - name = "python"; 109 - feat = "python${if python ? isPy3 then "3" else ""}interp"; 110 - enable = { 111 - buildInputs = [ python ]; 112 - } // lib.optionalAttrs wrapPythonDrv { 113 - nativeBuildInputs = [ makeWrapper ]; 114 - postInstall = '' 115 - wrapProgram "$out/bin/vim" --prefix PATH : "${python}/bin" 116 - ''; 117 - } // lib.optionalAttrs stdenv.isDarwin { 118 - configureFlags 119 - = [ "--enable-python${if python ? isPy3 then "3" else ""}interp=yes" 120 - "--with-python${if python ? isPy3 then "3" else ""}-config-dir=${python}/lib" 121 - "--disable-python${if python ? isPy3 then "" else "3"}interp" ]; 122 - }; 123 - } 139 + buildInputs = [ ncurses libX11 libXext libSM libXpm libXt libXaw libXau 140 + libXmu glib libICE ] 141 + ++ (if guiSupport == "gtk3" then [gtk3] else [gtk2]) 142 + ++ stdenv.lib.optionals darwinSupport [ CoreServices CoreData Cocoa Foundation libobjc cf-private ] 143 + ++ stdenv.lib.optional luaSupport lua 144 + ++ stdenv.lib.optional pythonSupport python 145 + ++ stdenv.lib.optional tclSupport tcl 146 + ++ stdenv.lib.optional rubySupport ruby; 124 147 125 - // edf { name = "tcl"; feat = "tclinterp"; enable = { buildInputs = [tcl]; }; } #Include Tcl interpreter. 126 - // edf { name = "ruby"; feat = "rubyinterp"; enable = { buildInputs = [ruby]; };} #Include Ruby interpreter. 127 - // edf { 128 - name = "lua"; 129 - feat = "luainterp"; 130 - enable = { 131 - buildInputs = [lua]; 132 - configureFlags = [ 133 - "--with-lua-prefix=${args.lua}" 134 - "--enable-luainterp" 135 - ]; 136 - }; 137 - } 138 - // edf { name = "cscope"; } #Include cscope interface. 139 - // edf { name = "workshop"; } #Include Sun Visual Workshop support. 140 - // edf { name = "netbeans"; } #Disable NetBeans integration support. 141 - // edf { name = "sniff"; feat = "sniff" ; } #Include Sniff interface. 142 - // edf { name = "multibyte"; } #Include multibyte editing support. 143 - // edf { name = "hangulinput"; feat = "hangulinput" ;} #Include Hangul input support. 144 - // edf { name = "xim"; } #Include XIM input support. 145 - // edf { name = "fontset"; } #Include X fontset output support. 146 - // edf { name = "acl"; } #Don't check for ACL support. 147 - // edf { name = "gpm"; } #Don't use gpm (Linux mouse daemon). 148 - // edf { name = "nls"; enable = {nativeBuildInputs = [gettext];}; } #Don't support NLS (gettext()). 149 - ; 148 + preConfigure = '' 149 + '' + stdenv.lib.optionalString ftNixSupport '' 150 + cp ${vimPlugins.vim-nix.src}/ftplugin/nix.vim runtime/ftplugin/nix.vim 151 + cp ${vimPlugins.vim-nix.src}/indent/nix.vim runtime/indent/nix.vim 152 + cp ${vimPlugins.vim-nix.src}/syntax/nix.vim runtime/syntax/nix.vim 153 + ''; 150 154 151 - cfg = { 152 - luaSupport = config.vim.lua or true; 153 - pythonSupport = config.vim.python or true; 154 - rubySupport = config.vim.ruby or true; 155 - nlsSupport = config.vim.nls or false; 156 - tclSupport = config.vim.tcl or false; 157 - multibyteSupport = config.vim.multibyte or false; 158 - cscopeSupport = config.vim.cscope or true; 159 - netbeansSupport = config.netbeans or true; # eg envim is using it 160 - ximSupport = config.vim.xim or true; # less than 15KB, needed for deadkeys 161 - 162 - # by default, compile with darwin support if we're compiling on darwin, but 163 - # allow this to be disabled by setting config.vim.darwin to false 164 - darwinSupport = stdenv.isDarwin && (config.vim.darwin or true); 165 - 166 - # add .nix filetype detection and minimal syntax highlighting support 167 - ftNixSupport = config.vim.ftNix or true; 168 - }; 155 + NIX_LDFLAGS = stdenv.lib.optionalString (darwinSupport && stdenv.isDarwin) 156 + "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation"; 169 157 170 - #--enable-gui=OPTS X11 GUI default=auto OPTS=auto/no/gtk/gtk2/gtk3/gnome/gnome2/motif/athena/neXtaw/photon/carbon 171 - /* 172 - // edf "gtk_check" "gtk_check" { } #If auto-select GUI, check for GTK default=yes 173 - // edf "gtk2_check" "gtk2_check" { } #If GTK GUI, check for GTK+ 2 default=yes 174 - // edf "gnome_check" "gnome_check" { } #If GTK GUI, check for GNOME default=no 175 - // edf "motif_check" "motif_check" { } #If auto-select GUI, check for Motif default=yes 176 - // edf "athena_check" "athena_check" { } #If auto-select GUI, check for Athena default=yes 177 - // edf "nextaw_check" "nextaw_check" { } #If auto-select GUI, check for neXtaw default=yes 178 - // edf "carbon_check" "carbon_check" { } #If auto-select GUI, check for Carbon default=yes 179 - // edf "gtktest" "gtktest" { } #Do not try to compile and run a test GTK program 180 - */ 181 - 182 - preInstall = '' 183 - mkdir -p $out/share/applications $out/share/icons/{hicolor,locolor}/{16x16,32x32,48x48}/apps 184 - ''; 185 - 186 - postInstall = stdenv.lib.optionalString stdenv.isLinux '' 158 + postInstall = '' 159 + '' + stdenv.lib.optionalString stdenv.isLinux '' 187 160 patchelf --set-rpath \ 188 161 "$(patchelf --print-rpath $out/bin/vim):${lib.makeLibraryPath buildInputs}" \ 189 162 "$out"/bin/{vim,gvim} 190 163 191 164 ln -sfn '${nixosRuntimepath}' "$out"/share/vim/vimrc 165 + '' + stdenv.lib.optionalString wrapPythonDrv '' 166 + wrapProgram "$out/bin/vim" --prefix PATH : "${python}/bin" 167 + ''; 168 + 169 + preInstall = '' 170 + mkdir -p $out/share/applications $out/share/icons/{hicolor,locolor}/{16x16,32x32,48x48}/apps 192 171 ''; 193 172 194 173 dontStrip = 1; 195 - }) 174 + }
+78 -94
pkgs/applications/editors/vim/qvim.nix
··· 1 1 args@{ fetchgit, stdenv, ncurses, pkgconfig, gettext 2 - , composableDerivation, lib, config, python, perl, tcl, ruby, qt4 2 + , lib, config, python, perl, tcl, ruby, qt4 3 3 , libX11, libXext, libSM, libXpm, libXt, libXaw, libXau, libXmu 4 - , libICE, ... }: with args; 4 + , libICE 5 + , lua 6 + , features 7 + , luaSupport ? config.vim.lua or true 8 + , perlSupport ? config.vim.perl or false # Perl interpreter 9 + , pythonSupport ? config.vim.python or true 10 + , rubySupport ? config.vim.ruby or true 11 + , nlsSupport ? config.vim.nls or false 12 + , tclSupport ? config.vim.tcl or false 13 + , multibyteSupport ? config.vim.multibyte or false 14 + , cscopeSupport ? config.vim.cscope or false 15 + , netbeansSupport ? config.netbeans or true # eg envim is using it 5 16 6 - let tag = "20140827"; 7 - sha256 = "0ncgbcm23z25naicxqkblz0mcl1zar2qwgi37y5ar8q8884w9ml2"; 8 - in 17 + # by default, compile with darwin support if we're compiling on darwin, but 18 + # allow this to be disabled by setting config.vim.darwin to false 19 + , darwinSupport ? stdenv.isDarwin && (config.vim.darwin or true) 9 20 10 - let inherit (args.composableDerivation) composableDerivation edf; in 11 - composableDerivation { 12 - } (fix: { 21 + # add .nix filetype detection and minimal syntax highlighting support 22 + , ftNixSupport ? config.vim.ftNix or true 13 23 14 - name = "qvim-7.4." + tag; 24 + , ... }: with args; 15 25 16 - enableParallelBuilding = true; # test this 17 - 18 - src = fetchgit { 19 - url = https://bitbucket.org/equalsraf/vim-qt.git ; 20 - rev = "refs/tags/package-" + tag; 21 - inherit sha256; 22 - }; 23 - 24 - # FIXME: adopt Darwin fixes from vim/default.nix, then chage meta.platforms.linux 25 - # to meta.platforms.unix 26 - preConfigure = assert (! stdenv.isDarwin); ""; 27 - 28 - configureFlags = [ "--with-vim-name=qvim" "--enable-gui=qt" "--with-features=${args.features}" ]; 26 + let tag = "20140827"; 27 + sha256 = "0ncgbcm23z25naicxqkblz0mcl1zar2qwgi37y5ar8q8884w9ml2"; 28 + in { 29 29 30 - nativeBuildInputs 31 - = [ ncurses pkgconfig libX11 libXext libSM libXpm libXt libXaw libXau 32 - libXmu libICE qt4]; 30 + name = "qvim-7.4." + tag; 33 31 34 - # most interpreters aren't tested yet.. (see python for example how to do it) 35 - flags = { 36 - ftNix = { 37 - # because we cd to src in the main patch phase, we can't just add this 38 - # patch to the list, we have to apply it manually 39 - postPatch = '' 40 - cd runtime 41 - patch -p2 < ${./ft-nix-support.patch} 42 - cd .. 43 - ''; 44 - }; 45 - } 46 - // edf { name = "darwin"; } #Disable Darwin (macOS) support. 47 - // edf { name = "xsmp"; } #Disable XSMP session management 48 - // edf { name = "xsmp_interact"; } #Disable XSMP interaction 49 - // edf { name = "mzscheme"; } #Include MzScheme interpreter. 50 - // edf { name = "perl"; feat = "perlinterp"; enable = { nativeBuildInputs = [perl]; };} #Include Perl interpreter. 32 + enableParallelBuilding = true; # test this 51 33 52 - // edf { 53 - name = "python"; 54 - feat = "pythoninterp"; 55 - enable = { 56 - nativeBuildInputs = [ python ]; 57 - } // lib.optionalAttrs stdenv.isDarwin { 58 - configureFlags 59 - = [ "--enable-pythoninterp=yes" 60 - "--with-python-config-dir=${python}/lib" ]; 61 - }; 62 - } 34 + src = fetchgit { 35 + url = https://bitbucket.org/equalsraf/vim-qt.git; 36 + rev = "refs/tags/package-" + tag; 37 + inherit sha256; 38 + }; 63 39 64 - // edf { name = "tcl"; enable = { nativeBuildInputs = [tcl]; }; } #Include Tcl interpreter. 65 - // edf { name = "ruby"; feat = "rubyinterp"; enable = { nativeBuildInputs = [ruby]; };} #Include Ruby interpreter. 66 - // edf { 67 - name = "lua"; 68 - feat = "luainterp"; 69 - enable = { 70 - nativeBuildInputs = [lua]; 71 - configureFlags = [ 72 - "--with-lua-prefix=${args.lua}" 73 - "--enable-luainterp" 74 - ]; 75 - }; 76 - } 77 - // edf { name = "cscope"; } #Include cscope interface. 78 - // edf { name = "workshop"; } #Include Sun Visual Workshop support. 79 - // edf { name = "netbeans"; } #Disable NetBeans integration support. 80 - // edf { name = "sniff"; feat = "sniff" ; } #Include Sniff interface. 81 - // edf { name = "multibyte"; } #Include multibyte editing support. 82 - // edf { name = "hangulinput"; feat = "hangulinput" ;} #Include Hangul input support. 83 - // edf { name = "xim"; } #Include XIM input support. 84 - // edf { name = "fontset"; } #Include X fontset output support. 85 - // edf { name = "acl"; } #Don't check for ACL support. 86 - // edf { name = "gpm"; } #Don't use gpm (Linux mouse daemon). 87 - // edf { name = "nls"; enable = {nativeBuildInputs = [gettext];}; } #Don't support NLS (gettext()). 88 - ; 40 + # FIXME: adopt Darwin fixes from vim/default.nix, then chage meta.platforms.linux 41 + # to meta.platforms.unix 42 + preConfigure = assert (! stdenv.isDarwin); ""; 89 43 90 - cfg = { 91 - luaSupport = config.vim.lua or true; 92 - pythonSupport = config.vim.python or true; 93 - rubySupport = config.vim.ruby or true; 94 - nlsSupport = config.vim.nls or false; 95 - tclSupport = config.vim.tcl or false; 96 - multibyteSupport = config.vim.multibyte or false; 97 - cscopeSupport = config.vim.cscope or false; 98 - netbeansSupport = config.netbeans or true; # eg envim is using it 44 + configureFlags = [ 45 + "--with-vim-name=qvim" 46 + "--enable-gui=qt" 47 + "--with-features=${features}" 48 + "--disable-xsmp" 49 + "--disable-xsmp_interact" 50 + "--disable-workshop" # Sun Visual Workshop support 51 + "--disable-sniff" # Sniff interface 52 + "--disable-hangulinput" # Hangul input support 53 + "--disable-fontset" # X fontset output support 54 + "--disable-acl" # ACL support 55 + "--disable-gpm" # GPM (Linux mouse daemon) 56 + "--disable-mzscheme" 57 + ] 58 + ++ stdenv.lib.optionals luaSupport [ 59 + "--with-lua-prefix=${lua}" 60 + "--enable-luainterp" 61 + ] 62 + ++ stdenv.lib.optional pythonSupport "--enable-pythoninterp" 63 + ++ stdenv.lib.optional (pythonSupport && stdenv.isDarwin) "--with-python-config-dir=${python}/lib" 64 + ++ stdenv.lib.optional nlsSupport "--enable-nls" 65 + ++ stdenv.lib.optional perlSupport "--enable-perlinterp" 66 + ++ stdenv.lib.optional rubySupport "--enable-rubyinterp" 67 + ++ stdenv.lib.optional tclSupport "--enable-tcl" 68 + ++ stdenv.lib.optional multibyteSupport "--enable-multibyte" 69 + ++ stdenv.lib.optional darwinSupport "--enable-darwin" 70 + ++ stdenv.lib.optional cscopeSupport "--enable-cscope"; 99 71 100 - # by default, compile with darwin support if we're compiling on darwin, but 101 - # allow this to be disabled by setting config.vim.darwin to false 102 - darwinSupport = stdenv.isDarwin && (config.vim.darwin or true); 72 + nativeBuildInputs = [ ncurses pkgconfig libX11 libXext libSM libXpm libXt libXaw 73 + libXau libXmu libICE qt4 74 + ] 75 + ++ stdenv.lib.optional nlsSupport gettext 76 + ++ stdenv.lib.optional perlSupport perl 77 + ++ stdenv.lib.optional pythonSupport python 78 + ++ stdenv.lib.optional tclSupport tcl 79 + ++ stdenv.lib.optional rubySupport ruby 80 + ++ stdenv.lib.optional luaSupport lua 81 + ; 103 82 104 - # add .nix filetype detection and minimal syntax highlighting support 105 - ftNixSupport = config.vim.ftNix or true; 106 - }; 83 + postPatch = '' 84 + '' + stdenv.lib.optionalString ftNixSupport '' 85 + # because we cd to src in the main patch phase, we can't just add this 86 + # patch to the list, we have to apply it manually 87 + cd runtime 88 + patch -p2 < ${./ft-nix-support.patch} 89 + cd .. 90 + ''; 107 91 108 92 postInstall = stdenv.lib.optionalString stdenv.isLinux '' 109 93 rpath=`patchelf --print-rpath $out/bin/qvim`; ··· 125 109 maintainers = with maintainers; [ smironov ttuegel ]; 126 110 platforms = platforms.linux; 127 111 }; 128 - }) 112 + } 129 113
+30
pkgs/applications/networking/cluster/kubetail/default.nix
··· 1 + { stdenv, fetchFromGitHub, lib, ... }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "kubetail-${version}"; 5 + version = "1.6.1"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "johanhaleby"; 9 + repo = "kubetail"; 10 + rev = "${version}"; 11 + sha256 = "10ql1kdsmyrk73jb6f5saf2q38znm0vdihscj3c9n0qhyhk9blpl"; 12 + }; 13 + 14 + installPhase = '' 15 + install -Dm755 kubetail $out/bin/kubetail 16 + ''; 17 + 18 + meta = with lib; { 19 + description = "Bash script to tail Kubernetes logs from multiple pods at the same time"; 20 + longDescription = '' 21 + Bash script that enables you to aggregate (tail/follow) logs from 22 + multiple pods into one stream. This is the same as running "kubectl logs 23 + -f " but for multiple pods. 24 + ''; 25 + homepage = https://github.com/johanhaleby/kubetail; 26 + license = licenses.asl20; 27 + maintainers = with maintainers; [ kalbasit ]; 28 + platforms = platforms.all; 29 + }; 30 + }
+3 -2
pkgs/build-support/build-maven.nix
··· 16 16 script = writeText "build-maven-repository.sh" '' 17 17 ${lib.concatStrings (map (dep: let 18 18 inherit (dep) 19 - url sha1 groupId artifactId version 20 - authenticated metadata repository-id; 19 + url sha1 groupId artifactId 20 + version metadata repository-id; 21 21 22 22 versionDir = dep.unresolved-version or version; 23 + authenticated = dep.authenticated or false; 23 24 24 25 fetch = (if authenticated then requireFile else fetchurl) { 25 26 inherit url sha1;
+1
pkgs/build-support/setup-hooks/remove-pytest-cache.sh
··· 1 + postFixupHooks+=
-3
pkgs/development/haskell-modules/configuration-common.nix
··· 829 829 # https://github.com/fizruk/http-api-data/issues/49 830 830 http-api-data = dontCheck super.http-api-data; 831 831 832 - # https://github.com/snoyberg/yaml/issues/106 833 - yaml = disableCabalFlag super.yaml "system-libyaml"; 834 - 835 832 # https://github.com/diagrams/diagrams-lib/issues/288 836 833 diagrams-lib = overrideCabal super.diagrams-lib (drv: { doCheck = !pkgs.stdenv.isi686; }); 837 834
+3
pkgs/development/haskell-modules/configuration-nix.nix
··· 309 309 # https://github.com/bos/pcap/issues/5 310 310 pcap = addExtraLibrary super.pcap pkgs.libpcap; 311 311 312 + # https://github.com/snoyberg/yaml/issues/106 313 + yaml = disableCabalFlag super.yaml "system-libyaml"; 314 + 312 315 # The cabal files for these libraries do not list the required system dependencies. 313 316 miniball = overrideCabal super.miniball (drv: { 314 317 librarySystemDepends = [ pkgs.miniball ];
+144 -267
pkgs/development/interpreters/php/default.nix
··· 1 1 # pcre functionality is tested in nixos/tests/php-pcre.nix 2 - 3 - { lib, stdenv, fetchurl, composableDerivation, flex, bison 4 - , mysql, libxml2, readline, zlib, curl, postgresql, gettext, html-tidy 2 + { lib, stdenv, fetchurl, flex, bison 3 + , mysql, libxml2, readline, zlib, curl, postgresql, gettext 5 4 , openssl, pcre, pkgconfig, sqlite, config, libjpeg, libpng, freetype 6 5 , libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash, freetds 7 - , uwimap, pam, gmp, apacheHttpd, libiconv, systemd, libsodium }: 6 + , uwimap, pam, gmp, apacheHttpd, libiconv, systemd, libsodium, html-tidy 7 + }: 8 8 9 - let 9 + with lib; 10 10 11 + let 12 + php7 = versionAtLeast version "7.0"; 11 13 generic = 12 - { version, sha256 }: 13 - 14 - let php7 = lib.versionAtLeast version "7.0"; 15 - mysqlndSupport = config.php.mysqlnd or false; 16 - mysqlBuildInputs = lib.optional (!mysqlndSupport) mysql.connector-c; 14 + { version 15 + , sha256 16 + , imapSupport ? config.php.imap or (!stdenv.isDarwin) 17 + , ldapSupport ? config.php.ldap or true 18 + , mhashSupport ? config.php.mhash or true 19 + , mysqlSupport ? (config.php.mysql or true) && (!php7) 20 + , mysqlndSupport ? config.php.mysqlnd or false 21 + , mysqliSupport ? config.php.mysqli or true 22 + , pdo_mysqlSupport ? config.php.pdo_mysql or true 23 + , libxml2Support ? config.php.libxml2 or true 24 + , apxs2Support ? config.php.apxs2 or (!stdenv.isDarwin) 25 + , embedSupport ? config.php.embed or false 26 + , bcmathSupport ? config.php.bcmath or true 27 + , socketsSupport ? config.php.sockets or true 28 + , curlSupport ? config.php.curl or true 29 + , curlWrappersSupport ? (config.php.curlWrappers or true) && (!php7) 30 + , gettextSupport ? config.php.gettext or true 31 + , pcntlSupport ? config.php.pcntl or true 32 + , postgresqlSupport ? config.php.postgresql or true 33 + , pdo_pgsqlSupport ? config.php.pdo_pgsql or true 34 + , readlineSupport ? config.php.readline or true 35 + , sqliteSupport ? config.php.sqlite or true 36 + , soapSupport ? config.php.soap or true 37 + , zlibSupport ? config.php.zlib or true 38 + , opensslSupport ? config.php.openssl or true 39 + , mbstringSupport ? config.php.mbstring or true 40 + , gdSupport ? config.php.gd or true 41 + , intlSupport ? config.php.intl or true 42 + , exifSupport ? config.php.exif or true 43 + , xslSupport ? config.php.xsl or false 44 + , mcryptSupport ? config.php.mcrypt or true 45 + , bz2Support ? config.php.bz2 or false 46 + , zipSupport ? config.php.zip or true 47 + , ftpSupport ? config.php.ftp or true 48 + , fpmSupport ? config.php.fpm or true 49 + , gmpSupport ? config.php.gmp or true 50 + , mssqlSupport ? (config.php.mssql or (!stdenv.isDarwin)) && (!php7) 51 + , ztsSupport ? config.php.zts or false 52 + , calendarSupport ? config.php.calendar or true 53 + , sodiumSupport ? (config.php.sodium or true) && (versionAtLeast version "7.2") 54 + , tidySupport ? false 55 + }: 17 56 18 - in composableDerivation.composableDerivation {} (fixed: { 57 + let 58 + mysqlBuildInputs = optional (!mysqlndSupport) mysql.connector-c; 59 + libmcrypt' = libmcrypt.override { disablePosixThreads = true; }; 60 + in stdenv.mkDerivation { 19 61 20 62 inherit version; 21 63 ··· 25 67 26 68 nativeBuildInputs = [ pkgconfig ]; 27 69 buildInputs = [ flex bison pcre ] 28 - ++ lib.optional stdenv.isLinux systemd; 29 - 30 - CXXFLAGS = lib.optional stdenv.cc.isClang "-std=c++11"; 31 - 32 - flags = { 33 - 34 - # much left to do here... 35 - 36 - # SAPI modules: 37 - 38 - apxs2 = { 39 - configureFlags = ["--with-apxs2=${apacheHttpd.dev}/bin/apxs"]; 40 - buildInputs = [apacheHttpd]; 41 - }; 42 - 43 - embed = { 44 - configureFlags = ["--enable-embed"]; 45 - }; 46 - 47 - # Extensions 48 - imap = { 49 - configureFlags = [ 50 - "--with-imap=${uwimap}" 51 - "--with-imap-ssl" 52 - ]; 53 - buildInputs = [ uwimap openssl pam ]; 54 - }; 55 - 56 - ldap = { 57 - configureFlags = [ 58 - "--with-ldap=/invalid/path" 59 - "LDAP_DIR=${openldap.dev}" 60 - "LDAP_INCDIR=${openldap.dev}/include" 61 - "LDAP_LIBDIR=${openldap.out}/lib" 62 - (lib.optional stdenv.isLinux "--with-ldap-sasl=${cyrus_sasl.dev}") 63 - ]; 64 - buildInputs = [openldap openssl] ++ lib.optional stdenv.isLinux cyrus_sasl; 65 - }; 70 + ++ optional stdenv.isLinux systemd 71 + ++ optionals imapSupport [ uwimap openssl pam ] 72 + ++ optionals curlSupport [ curl openssl ] 73 + ++ optionals ldapSupport [ openldap openssl ] 74 + ++ optionals gdSupport [ libpng libjpeg freetype ] 75 + ++ optionals opensslSupport [ openssl openssl.dev ] 76 + ++ optional apxs2Support apacheHttpd 77 + ++ optional (ldapSupport && stdenv.isLinux) cyrus_sasl 78 + ++ optional mhashSupport libmhash 79 + ++ optional zlibSupport zlib 80 + ++ optional libxml2Support libxml2 81 + ++ optional readlineSupport readline 82 + ++ optional sqliteSupport sqlite 83 + ++ optional postgresqlSupport postgresql 84 + ++ optional pdo_pgsqlSupport postgresql 85 + ++ optional pdo_mysqlSupport mysqlBuildInputs 86 + ++ optional mysqlSupport mysqlBuildInputs 87 + ++ optional mysqliSupport mysqlBuildInputs 88 + ++ optional gmpSupport gmp 89 + ++ optional gettextSupport gettext 90 + ++ optional intlSupport icu 91 + ++ optional xslSupport libxslt 92 + ++ optional mcryptSupport libmcrypt' 93 + ++ optional bz2Support bzip2 94 + ++ optional (mssqlSupport && !stdenv.isDarwin) freetds 95 + ++ optional sodiumSupport libsodium 96 + ++ optional tidySupport html-tidy; 66 97 67 - mhash = { 68 - configureFlags = ["--with-mhash"]; 69 - buildInputs = [libmhash]; 70 - }; 98 + CXXFLAGS = optional stdenv.cc.isClang "-std=c++11"; 71 99 72 - curl = { 73 - configureFlags = ["--with-curl=${curl.dev}"]; 74 - buildInputs = [curl openssl]; 75 - }; 76 100 77 - curlWrappers = { 78 - configureFlags = ["--with-curlwrappers"]; 79 - }; 101 + configureFlags = [ 102 + "--with-config-file-scan-dir=/etc/php.d" 103 + "--with-pcre-regex=${pcre.dev} PCRE_LIBDIR=${pcre}" 104 + ] 105 + ++ optional stdenv.isDarwin "--with-iconv=${libiconv}" 106 + ++ optional stdenv.isLinux "--with-fpm-systemd" 107 + ++ optionals imapSupport [ 108 + "--with-imap=${uwimap}" 109 + "--with-imap-ssl" 110 + ] 111 + ++ optionals ldapSupport [ 112 + "--with-ldap=/invalid/path" 113 + "LDAP_DIR=${openldap.dev}" 114 + "LDAP_INCDIR=${openldap.dev}/include" 115 + "LDAP_LIBDIR=${openldap.out}/lib" 116 + ] 117 + ++ optional (ldapSupport && stdenv.isLinux) "--with-ldap-sasl=${cyrus_sasl.dev}" 118 + ++ optional apxs2Support "--with-apxs2=${apacheHttpd.dev}/bin/apxs" 119 + ++ optional embedSupport "--enable-embed" 120 + ++ optional mhashSupport "--with-mhash" 121 + ++ optional curlSupport "--with-curl=${curl.dev}" 122 + ++ optional curlWrappersSupport "--with-curlwrappers" 123 + ++ optional zlibSupport "--with-zlib=${zlib.dev}" 124 + ++ optional libxml2Support "--with-libxml-dir=${libxml2.dev}" 125 + ++ optional pcntlSupport "--enable-pcntl" 126 + ++ optional readlineSupport "--with-readline=${readline.dev}" 127 + ++ optional sqliteSupport "--with-pdo-sqlite=${sqlite.dev}" 128 + ++ optional postgresqlSupport "--with-pgsql=${postgresql}" 129 + ++ optional pdo_pgsqlSupport "--with-pdo-pgsql=${postgresql}" 130 + ++ optional pdo_mysqlSupport "--with-pdo-mysql=${if mysqlndSupport then "mysqlnd" else mysql.connector-c}" 131 + ++ optional mysqlSupport "--with-mysql${if mysqlndSupport then "=mysqlnd" else ""}" 132 + ++ optionals mysqliSupport [ 133 + "--with-mysqli=${if mysqlndSupport then "mysqlnd" else "${mysql.connector-c}/bin/mysql_config"}" 134 + ] 135 + ++ optional bcmathSupport "--enable-bcmath" 136 + # FIXME: Our own gd package doesn't work, see https://bugs.php.net/bug.php?id=60108. 137 + ++ optionals gdSupport [ 138 + "--with-gd" 139 + "--with-freetype-dir=${freetype.dev}" 140 + "--with-png-dir=${libpng.dev}" 141 + "--with-jpeg-dir=${libjpeg.dev}" 142 + ] 143 + ++ optional gmpSupport "--with-gmp=${gmp.dev}" 144 + ++ optional soapSupport "--enable-soap" 145 + ++ optional socketsSupport "--enable-sockets" 146 + ++ optional opensslSupport "--with-openssl" 147 + ++ optional mbstringSupport "--enable-mbstring" 148 + ++ optional gettextSupport "--with-gettext=${gettext}" 149 + ++ optional intlSupport "--enable-intl" 150 + ++ optional exifSupport "--enable-exif" 151 + ++ optional xslSupport "--with-xsl=${libxslt.dev}" 152 + ++ optional mcryptSupport "--with-mcrypt=${libmcrypt'}" 153 + ++ optional bz2Support "--with-bz2=${bzip2.dev}" 154 + ++ optional zipSupport "--enable-zip" 155 + ++ optional ftpSupport "--enable-ftp" 156 + ++ optional fpmSupport "--enable-fpm" 157 + ++ optional (mssqlSupport && !stdenv.isDarwin) "--with-mssql=${freetds}" 158 + ++ optional ztsSupport "--enable-maintainer-zts" 159 + ++ optional calendarSupport "--enable-calendar" 160 + ++ optional sodiumSupport "--with-sodium=${libsodium.dev}" 161 + ++ optional tidySupport "--with-tidy=${html-tidy}"; 80 162 81 - zlib = { 82 - configureFlags = ["--with-zlib=${zlib.dev}"]; 83 - buildInputs = [zlib]; 84 - }; 85 - 86 - libxml2 = { 87 - configureFlags = [ 88 - "--with-libxml-dir=${libxml2.dev}" 89 - ]; 90 - buildInputs = [ libxml2 ]; 91 - }; 92 - 93 - pcntl = { 94 - configureFlags = [ "--enable-pcntl" ]; 95 - }; 96 - 97 - readline = { 98 - configureFlags = ["--with-readline=${readline.dev}"]; 99 - buildInputs = [ readline ]; 100 - }; 101 - 102 - sqlite = { 103 - configureFlags = ["--with-pdo-sqlite=${sqlite.dev}"]; 104 - buildInputs = [ sqlite ]; 105 - }; 106 - 107 - postgresql = { 108 - configureFlags = ["--with-pgsql=${postgresql}"]; 109 - buildInputs = [ postgresql ]; 110 - }; 111 - 112 - pdo_pgsql = { 113 - configureFlags = ["--with-pdo-pgsql=${postgresql}"]; 114 - buildInputs = [ postgresql ]; 115 - }; 116 - 117 - mysql = { 118 - configureFlags = ["--with-mysql${if mysqlndSupport then "=mysqlnd" else ""}"]; 119 - buildInputs = mysqlBuildInputs; 120 - }; 121 - 122 - mysqli = { 123 - configureFlags = ["--with-mysqli=${if mysqlndSupport then "mysqlnd" else "${mysql.connector-c}/bin/mysql_config"}"]; 124 - buildInputs = mysqlBuildInputs; 125 - }; 126 - 127 - mysqli_embedded = { 128 - configureFlags = ["--enable-embedded-mysqli"]; 129 - depends = "mysqli"; 130 - assertion = fixed.mysqliSupport; 131 - }; 132 - 133 - pdo_mysql = { 134 - configureFlags = ["--with-pdo-mysql=${if mysqlndSupport then "mysqlnd" else mysql.connector-c}"]; 135 - buildInputs = mysqlBuildInputs; 136 - }; 137 - 138 - bcmath = { 139 - configureFlags = ["--enable-bcmath"]; 140 - }; 141 - 142 - gd = { 143 - # FIXME: Our own gd package doesn't work, see https://bugs.php.net/bug.php?id=60108. 144 - configureFlags = [ 145 - "--with-gd" 146 - "--with-freetype-dir=${freetype.dev}" 147 - "--with-png-dir=${libpng.dev}" 148 - "--with-jpeg-dir=${libjpeg.dev}" 149 - ]; 150 - buildInputs = [ libpng libjpeg freetype ]; 151 - }; 152 - 153 - gmp = { 154 - configureFlags = ["--with-gmp=${gmp.dev}"]; 155 - buildInputs = [ gmp ]; 156 - }; 157 - 158 - soap = { 159 - configureFlags = ["--enable-soap"]; 160 - }; 161 - 162 - sockets = { 163 - configureFlags = ["--enable-sockets"]; 164 - }; 165 - 166 - openssl = { 167 - configureFlags = ["--with-openssl"]; 168 - buildInputs = [openssl openssl.dev]; 169 - }; 170 - 171 - mbstring = { 172 - configureFlags = ["--enable-mbstring"]; 173 - }; 174 - 175 - gettext = { 176 - configureFlags = ["--with-gettext=${gettext}"]; 177 - buildInputs = [gettext]; 178 - }; 179 - 180 - intl = { 181 - configureFlags = ["--enable-intl"]; 182 - buildInputs = [icu]; 183 - }; 184 - 185 - exif = { 186 - configureFlags = ["--enable-exif"]; 187 - }; 188 - 189 - xsl = { 190 - configureFlags = ["--with-xsl=${libxslt.dev}"]; 191 - buildInputs = [libxslt]; 192 - }; 193 - 194 - mcrypt = let libmcrypt' = libmcrypt.override { disablePosixThreads = true; }; in { 195 - configureFlags = ["--with-mcrypt=${libmcrypt'}"]; 196 - buildInputs = [libmcrypt']; 197 - }; 198 - 199 - bz2 = { 200 - configureFlags = ["--with-bz2=${bzip2.dev}"]; 201 - buildInputs = [bzip2]; 202 - }; 203 - 204 - zip = { 205 - configureFlags = ["--enable-zip"]; 206 - }; 207 - 208 - ftp = { 209 - configureFlags = ["--enable-ftp"]; 210 - }; 211 - 212 - fpm = { 213 - configureFlags = ["--enable-fpm"]; 214 - }; 215 - 216 - mssql = stdenv.lib.optionalAttrs (!stdenv.isDarwin) { 217 - configureFlags = ["--with-mssql=${freetds}"]; 218 - buildInputs = [freetds]; 219 - }; 220 - 221 - zts = { 222 - configureFlags = ["--enable-maintainer-zts"]; 223 - }; 224 - 225 - calendar = { 226 - configureFlags = ["--enable-calendar"]; 227 - }; 228 - 229 - sodium = { 230 - configureFlags = ["--with-sodium=${libsodium.dev}"]; 231 - buildInputs = [libsodium]; 232 - }; 233 - 234 - tidy = { 235 - configureFlags = [ "--with-tidy=${html-tidy}" ]; 236 - buildInputs = [ html-tidy ]; 237 - }; 238 - }; 239 - 240 - cfg = { 241 - imapSupport = config.php.imap or (!stdenv.isDarwin); 242 - ldapSupport = config.php.ldap or true; 243 - mhashSupport = config.php.mhash or true; 244 - mysqlSupport = (!php7) && (config.php.mysql or true); 245 - mysqliSupport = config.php.mysqli or true; 246 - pdo_mysqlSupport = config.php.pdo_mysql or true; 247 - libxml2Support = config.php.libxml2 or true; 248 - apxs2Support = config.php.apxs2 or (!stdenv.isDarwin); 249 - embedSupport = config.php.embed or false; 250 - bcmathSupport = config.php.bcmath or true; 251 - socketsSupport = config.php.sockets or true; 252 - curlSupport = config.php.curl or true; 253 - curlWrappersSupport = (!php7) && (config.php.curlWrappers or true); 254 - gettextSupport = config.php.gettext or true; 255 - pcntlSupport = config.php.pcntl or true; 256 - postgresqlSupport = config.php.postgresql or true; 257 - pdo_pgsqlSupport = config.php.pdo_pgsql or true; 258 - readlineSupport = config.php.readline or true; 259 - sqliteSupport = config.php.sqlite or true; 260 - soapSupport = config.php.soap or true; 261 - zlibSupport = config.php.zlib or true; 262 - opensslSupport = config.php.openssl or true; 263 - mbstringSupport = config.php.mbstring or true; 264 - gdSupport = config.php.gd or true; 265 - intlSupport = config.php.intl or true; 266 - exifSupport = config.php.exif or true; 267 - xslSupport = config.php.xsl or false; 268 - mcryptSupport = config.php.mcrypt or true; 269 - bz2Support = config.php.bz2 or false; 270 - zipSupport = config.php.zip or true; 271 - ftpSupport = config.php.ftp or true; 272 - fpmSupport = config.php.fpm or true; 273 - gmpSupport = config.php.gmp or true; 274 - mssqlSupport = (!php7) && (config.php.mssql or (!stdenv.isDarwin)); 275 - ztsSupport = config.php.zts or false; 276 - calendarSupport = config.php.calendar or true; 277 - sodiumSupport = (lib.versionAtLeast version "7.2") && config.php.sodium or true; 278 - tidySupport = php7 && config.php.tidy or true; 279 - }; 280 163 281 164 hardeningDisable = [ "bindnow" ]; 282 165 ··· 298 181 --includedir=$dev/include) 299 182 ''; 300 183 301 - configureFlags = [ 302 - "--with-config-file-scan-dir=/etc/php.d" 303 - "--with-pcre-regex=${pcre.dev} PCRE_LIBDIR=${pcre}" 304 - ] ++ lib.optional stdenv.isDarwin "--with-iconv=${libiconv}" 305 - ++ lib.optional stdenv.isLinux "--with-fpm-systemd"; 306 - 307 184 postInstall = '' 308 185 cp php.ini-production $out/etc/php.ini 309 186 ''; ··· 332 209 333 210 patches = if !php7 then [ ./fix-paths.patch ] else [ ./fix-paths-php7.patch ]; 334 211 335 - postPatch = lib.optional stdenv.isDarwin '' 212 + postPatch = optional stdenv.isDarwin '' 336 213 substituteInPlace configure --replace "-lstdc++" "-lc++" 337 214 ''; 338 215 ··· 340 217 341 218 outputs = [ "out" "dev" ]; 342 219 343 - }); 220 + }; 344 221 345 222 in { 346 223 php56 = generic {
+2 -2
pkgs/development/libraries/libfilezilla/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "libfilezilla-${version}"; 5 - version = "0.12.3"; 5 + version = "0.13.0"; 6 6 7 7 src = fetchurl { 8 8 url = "http://download.filezilla-project.org/libfilezilla/${name}.tar.bz2"; 9 - sha256 = "1v606kcz2rdmmlwxrv3xvwh7ia1nh6jfc9bhjw2r4ai3rm16gch5"; 9 + sha256 = "0sk8kz2zrvf7kp9jrp3l4rpipv4xh0hg8d4h734xyag7vd03rjpz"; 10 10 }; 11 11 12 12 meta = with stdenv.lib; {
+10 -1
pkgs/development/libraries/pcl/default.nix
··· 1 - { stdenv, fetchFromGitHub, cmake, qhull, flann, boost, vtk, eigen, pkgconfig, qtbase 1 + { stdenv, fetchFromGitHub, fetchpatch, cmake 2 + , qhull, flann, boost, vtk, eigen, pkgconfig, qtbase 2 3 , libusb1, libpcap, libXt, libpng, Cocoa, AGL, cf-private, OpenGL 3 4 }: 4 5 ··· 11 12 rev = name; 12 13 sha256 = "05wvqqi2fyk5innw4mg356r71c1hmc9alc7xkf4g81ds3b3867xq"; 13 14 }; 15 + 16 + patches = [ 17 + # boost-1.67 compatibility 18 + (fetchpatch { 19 + url = "https://github.com/PointCloudLibrary/pcl/commit/2309bdab20fb2a385d374db6a87349199279db18.patch"; 20 + sha256 = "112p4687xrm0vsm0magmkvsm1hpks9hj42fm0lncy3yy2j1v3r4h"; 21 + name = "boost167-random.patch"; 22 + })]; 14 23 15 24 enableParallelBuilding = true; 16 25
+1 -1
pkgs/development/python-modules/pyserial/default.nix
··· 10 10 }; 11 11 12 12 checkPhase = "python -m unittest discover -s test"; 13 - doInstallCheck = !hostPlatform.isDarwin; # broken on darwin 13 + doCheck = !hostPlatform.isDarwin; # broken on darwin 14 14 15 15 meta = with lib; { 16 16 homepage = "https://github.com/pyserial/pyserial";
+41
pkgs/development/python-modules/wxPython/4.0.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , pkgconfig 5 + , gtk3 6 + , libjpeg 7 + , libtiff 8 + , SDL 9 + , gst-plugins-base 10 + , libnotify 11 + , freeglut 12 + , xorg 13 + , which 14 + }: 15 + 16 + buildPythonPackage rec { 17 + pname = "wxPython"; 18 + version = "4.0.3"; 19 + 20 + src = fetchPypi { 21 + inherit pname version; 22 + sha256 = "8d0dfc0146c24749ce00d575e35cc2826372e809d5bc4a57bde6c89031b59e75"; 23 + }; 24 + 25 + nativeBuildInputs = [ 26 + pkgconfig 27 + ]; 28 + 29 + buildInputs = [ 30 + gtk3 libjpeg libtiff SDL gst-plugins-base libnotify freeglut xorg.libSM 31 + which 32 + ]; 33 + 34 + 35 + meta = { 36 + description = "Cross platform GUI toolkit for Python, Phoenix version"; 37 + homepage = http://wxpython.org/; 38 + license = lib.licenses.wxWindows; 39 + }; 40 + 41 + }
+3 -3
pkgs/development/tools/dep/default.nix
··· 2 2 3 3 buildGoPackage rec { 4 4 name = "dep-${version}"; 5 - version = "0.4.1"; 5 + version = "0.5.0"; 6 6 rev = "v${version}"; 7 7 8 8 goPackagePath = "github.com/golang/dep"; ··· 12 12 inherit rev; 13 13 owner = "golang"; 14 14 repo = "dep"; 15 - sha256 = "0183xq5l4sinnclynv6xi85vmk69mqpy5wjfsgh8bxwziq3vkd7y"; 15 + sha256 = "1p35995w2f8rp4cxhcwnhdv26ajx6gxx9pm2ijb5sjy2pwhw5c6j"; 16 16 }; 17 17 18 18 buildFlagsArray = ("-ldflags=-s -w -X main.commitHash=${rev} -X main.version=${version}"); ··· 22 22 description = "Go dependency management tool"; 23 23 license = licenses.bsd3; 24 24 platforms = platforms.all; 25 - maintainers = [ maintainers.carlsverre ]; 25 + maintainers = with maintainers; [ carlsverre rvolosatovs ]; 26 26 }; 27 27 }
+28
pkgs/development/tools/kustomize/default.nix
··· 1 + # This file was generated by https://github.com/kamilchm/go2nix v1.2.1 2 + { lib, stdenv, buildGoPackage, fetchFromGitHub }: 3 + 4 + buildGoPackage rec { 5 + name = "kustomize-${version}"; 6 + version = "1.0.4"; 7 + 8 + goPackagePath = "github.com/kubernetes-sigs/kustomize"; 9 + 10 + src = fetchFromGitHub { 11 + sha256 = "0lbf94wz34axaf8ps7h79qbj4dpihrpvnqa12zrawcmmgqallwhm"; 12 + rev = "v${version}"; 13 + repo = "kustomize"; 14 + owner = "kubernetes-sigs"; 15 + }; 16 + 17 + meta = with lib; { 18 + description = "Customization of kubernetes YAML configurations"; 19 + longDescription = '' 20 + kustomize lets you customize raw, template-free YAML files for 21 + multiple purposes, leaving the original YAML untouched and usable 22 + as is. 23 + ''; 24 + homepage = https://github.com/kubernetes-sigs/kustomize; 25 + license = licenses.asl20; 26 + maintainers = [ maintainers.carlosdagos ]; 27 + }; 28 + }
+4 -4
pkgs/development/tools/misc/ycmd/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 name = "ycmd-${version}"; 10 - version = "2018-06-14"; 10 + version = "2018-07-24"; 11 11 12 12 src = fetchgit { 13 13 url = "https://github.com/Valloric/ycmd.git"; 14 - rev = "29e36f74f749d10b8d6ce285c1453fac26f15a41"; 15 - sha256 = "0s62nf18jmgjihyba7lk7si8xrxsg60whdr430nlb5gjikag8zr5"; 14 + rev = "f8a8b04892b925efeee24298a957cc6d6a69ad06"; 15 + sha256 = "1br2sh6bs0fg1axq2hq9f48fz8klkzydi1mf0j0jdsh3zjzkmxbn"; 16 16 }; 17 17 18 18 nativeBuildInputs = [ cmake ]; ··· 51 51 52 52 mkdir -p $out/lib/ycmd/third_party/{gocode,godef,racerd/target/release} 53 53 54 - for p in jedi waitress frozendict bottle python-future requests; do 54 + for p in jedi waitress frozendict bottle parso python-future requests; do 55 55 cp -r third_party/$p $out/lib/ycmd/third_party 56 56 done 57 57
+18 -31
pkgs/games/minecraft/default.nix
··· 1 - { stdenv, fetchurl, makeDesktopItem 2 - , jre, libX11, libXext, libXcursor, libXrandr, libXxf86vm 3 - , openjdk 4 - , libGLU_combined, openal 5 - , useAlsa ? false, alsaOss ? null }: 6 - with stdenv.lib; 7 - 8 - assert useAlsa -> alsaOss != null; 1 + { stdenv, fetchurl, makeDesktopItem, makeWrapper 2 + , jdk, jre, libpulseaudio 3 + }: 9 4 10 5 let 11 6 desktopItem = makeDesktopItem { ··· 19 14 }; 20 15 21 16 in stdenv.mkDerivation { 22 - name = "minecraft-2015.07.24"; 17 + name = "minecraft-2015-07-24"; 23 18 24 19 src = fetchurl { 25 20 url = "https://s3.amazonaws.com/Minecraft.Download/launcher/Minecraft.jar"; 26 21 sha256 = "04pj4l5q0a64jncm2kk45r7nxnxa2z9n110dcxbbahdi6wk0png8"; 27 22 }; 28 23 29 - phases = "installPhase"; 24 + nativeBuildInputs = [ makeWrapper ]; 25 + 26 + unpackPhase = "${jdk}/bin/jar xf $src favicon.png"; 30 27 31 28 installPhase = '' 32 - set -x 33 - mkdir -pv $out/bin 34 - cp -v $src $out/minecraft.jar 29 + mkdir -p $out/bin $out/share/minecraft 35 30 36 - cat > $out/bin/minecraft << EOF 37 - #!${stdenv.shell} 31 + makeWrapper ${jre}/bin/java $out/bin/minecraft \ 32 + --add-flags "-jar $out/share/minecraft/minecraft.jar" \ 33 + --suffix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ libpulseaudio ]} 38 34 39 - export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:${makeLibraryPath [ libX11 libXext libXcursor libXrandr libXxf86vm libGLU_combined openal ]} 40 - ${if useAlsa then "${alsaOss}/bin/aoss" else "" } \ 41 - ${jre}/bin/java -jar $out/minecraft.jar 42 - EOF 43 - 44 - chmod +x $out/bin/minecraft 45 - 46 - mkdir -p $out/share/applications 47 - ln -s ${desktopItem}/share/applications/* $out/share/applications/ 48 - 49 - ${openjdk}/bin/jar xf $out/minecraft.jar favicon.png 35 + cp $src $out/share/minecraft/minecraft.jar 36 + cp -r ${desktopItem}/share/applications $out/share 50 37 install -D favicon.png $out/share/icons/hicolor/32x32/apps/minecraft.png 51 38 ''; 52 39 53 - meta = { 54 - description = "A sandbox-building game"; 55 - homepage = http://www.minecraft.net; 56 - maintainers = with stdenv.lib.maintainers; [ cpages ryantm ]; 57 - license = stdenv.lib.licenses.unfreeRedistributable; 40 + meta = with stdenv.lib; { 41 + description = "A sandbox-building game"; 42 + homepage = https://minecraft.net; 43 + maintainers = with maintainers; [ cpages ryantm infinisil ]; 44 + license = licenses.unfreeRedistributable; 58 45 }; 59 46 }
+4 -4
pkgs/misc/vim-plugins/default.nix
··· 2848 2848 }; 2849 2849 2850 2850 youcompleteme = buildVimPluginFrom2Nix { # created by nix#NixDerivation 2851 - name = "youcompleteme-2018-06-20"; 2851 + name = "youcompleteme-2018-07-24"; 2852 2852 src = fetchgit { 2853 2853 url = "https://github.com/valloric/youcompleteme"; 2854 - rev = "e1ead995c13fe20989ee3d69fd76b20c5fff5d5b"; 2855 - sha256 = "01my9m7a5m24zrh6i867fhqz42jxs0ai2pl4pra8wzvyk4ai1p5f"; 2854 + rev = "459b3e620e45191b15c48c66b02ff89f1a0674db"; 2855 + sha256 = "0s4sndx0mm13xcb559agfcqqdwhp2sr7kpp4ksc9gx41k7626rdr"; 2856 2856 }; 2857 2857 dependencies = []; 2858 2858 buildPhase = '' ··· 3259 3259 sha256 = "0hj5bhfhd9am11ixaxad370p982bjig53mbm74fi6slhjpikdrdq"; 3260 3260 }; 3261 3261 dependencies = []; 3262 - buildInputs = [ python3 ]; 3262 + buildInputs = [ python3 ]; 3263 3263 buildPhase = '' 3264 3264 pushd ./rplugin/python3/deoplete/ujson 3265 3265 python3 setup.py build --build-base=$PWD/build --build-lib=$PWD/build
+3 -3
pkgs/os-specific/darwin/skhd/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 name = "skhd-${version}"; 5 - version = "0.1.1"; 5 + version = "0.2.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "koekeishiya"; 9 9 repo = "skhd"; 10 10 rev = "v${version}"; 11 - sha256 = "1wh7v90ydh27gbaiwn2r6ncx6yiic4mph3w9vi1282nz2q02zxss"; 11 + sha256 = "0mn6svz2mqbpwlx510r447vflfcxryykpin6h6429dlz0wjlipa8"; 12 12 }; 13 13 14 14 buildInputs = [ Carbon ]; ··· 25 25 description = "Simple hotkey daemon for macOS"; 26 26 homepage = https://github.com/koekeishiya/skhd; 27 27 platforms = platforms.darwin; 28 - maintainers = with maintainers; [ lnl7 ]; 28 + maintainers = with maintainers; [ lnl7 periklis ]; 29 29 license = licenses.mit; 30 30 }; 31 31 }
+4 -4
pkgs/os-specific/linux/fuse/default.nix
··· 6 6 }; 7 7 in { 8 8 fuse_2 = mkFuse { 9 - version = "2.9.7"; 10 - sha256Hash = "1wyjjfb7p4jrkk15zryzv33096a5fmsdyr2p4b00dd819wnly2n2"; 9 + version = "2.9.8"; 10 + sha256Hash = "0s04ln4k9zvvbjih8ybaa19fxg8xv7dcsz2yrlbk35psnf3l67af"; 11 11 }; 12 12 13 13 fuse_3 = mkFuse { 14 - version = "3.2.4"; 15 - sha256Hash = "1ybgd4s7naiyvaris7j6fzp604cgi5mgrn715x8l4kn5k9d840im"; 14 + version = "3.2.5"; 15 + sha256Hash = "0ibf2isbkm8p1gfaqpqblwsg0lm4s1rmcipv1qcg0wc4wwsbnqpx"; 16 16 }; 17 17 }
+2 -2
pkgs/os-specific/linux/kernel/linux-4.14.nix
··· 3 3 with stdenv.lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "4.14.57"; 6 + version = "4.14.58"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 16 - sha256 = "046qvgf44sn51g979whzvc6qrbz31gwxwm9xkka93vmqavr415aa"; 16 + sha256 = "1zfyrcfsx9410gnjk1hrjs5d4p93qm6k2r9q24i5c1nhfhzf0rgz"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-4.17.nix
··· 3 3 with stdenv.lib; 4 4 5 5 buildLinux (args // rec { 6 - version = "4.17.9"; 6 + version = "4.17.10"; 7 7 8 8 # modDirVersion needs to be x.y.z, will automatically add .0 if needed 9 9 modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg; ··· 13 13 14 14 src = fetchurl { 15 15 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 16 - sha256 = "1frsg1qli4922w172mx96n0l7yzhiw6kirzzw4svsq3qsfnxq57x"; 16 + sha256 = "1s0vzzdcixy2m3ybd9z1h5b2wiiz2mgnwn09jxvj1v4rwjix457a"; 17 17 }; 18 18 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-4.4.nix
··· 1 1 { stdenv, buildPackages, hostPlatform, fetchurl, perl, buildLinux, ... } @ args: 2 2 3 3 buildLinux (args // rec { 4 - version = "4.4.143"; 4 + version = "4.4.144"; 5 5 extraMeta.branch = "4.4"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 9 - sha256 = "0n737jdk9ms7v7zkhf45nfdg2jcyap4qpzxm162f4q9zz3sh0dif"; 9 + sha256 = "11lsf62qd9qm6n6ilxwx0zag3phvfmfjpbdc24j4p2c9gfgqpyss"; 10 10 }; 11 11 } // (args.argsOverride or {}))
+2 -2
pkgs/os-specific/linux/kernel/linux-4.9.nix
··· 1 1 { stdenv, buildPackages, hostPlatform, fetchurl, perl, buildLinux, ... } @ args: 2 2 3 3 buildLinux (args // rec { 4 - version = "4.9.114"; 4 + version = "4.9.115"; 5 5 extraMeta.branch = "4.9"; 6 6 7 7 src = fetchurl { 8 8 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 9 - sha256 = "1c3j82rcnj03bk5s2i11mhksv5l09hmkfs3rpbj5msnrn123ds76"; 9 + sha256 = "0fddhw9v5l8k2j31zlfikd2g397ngyynfbwg92z17vp510fxjf20"; 10 10 }; 11 11 } // (args.argsOverride or {}))
+3 -3
pkgs/servers/monitoring/grafana/default.nix
··· 1 1 { lib, buildGoPackage, fetchurl, fetchFromGitHub, phantomjs2 }: 2 2 3 3 buildGoPackage rec { 4 - version = "5.2.1"; 4 + version = "5.2.2"; 5 5 name = "grafana-${version}"; 6 6 goPackagePath = "github.com/grafana/grafana"; 7 7 ··· 9 9 rev = "v${version}"; 10 10 owner = "grafana"; 11 11 repo = "grafana"; 12 - sha256 = "0gv7g6ddcmdkjd1xp9dg2kq7askzaw1vkmcii21glqb74k2jfg74"; 12 + sha256 = "17w8ljq4p1sxcdpsiz4221gwhi3ykggpisnx1wdw22g2160q9sdj"; 13 13 }; 14 14 15 15 srcStatic = fetchurl { 16 16 url = "https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana-${version}.linux-amd64.tar.gz"; 17 - sha256 = "0j69a9cjvkknq19aa2l634b48zy1lwmv2p676hzc856zgq3h6m9m"; 17 + sha256 = "1frbk13sww3sw09mpkijii1kf7m19hqg58ps8gvs4dvxg12bbv3l"; 18 18 }; 19 19 20 20 postPatch = ''
+1
pkgs/stdenv/cross/default.nix
··· 43 43 # a different platform, and so are disabled. 44 44 overrides = _: _: {}; 45 45 extraBuildInputs = [ ]; # Old ones run on wrong platform 46 + allowedRequisites = null; 46 47 47 48 cc = if crossSystem.useiOSPrebuilt or false 48 49 then buildPackages.darwin.iosSdkPkgs.clang
pkgs/tools/admin/azure-cli/default.nix

This is a binary file and will not be displayed.

+25
pkgs/tools/filesystems/simg2img/default.nix
··· 1 + { stdenv, fetchFromGitHub, zlib }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "simg2img-${version}"; 5 + version = "1.1.3"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "anestisb"; 9 + repo = "android-simg2img"; 10 + rev = "${version}"; 11 + sha256 = "119gl9i61g2wr07hzv6mi1ihql6yd6pwq94ki2pgcpfbamv8f6si"; 12 + }; 13 + 14 + buildInputs = [ zlib ]; 15 + 16 + makeFlags = [ "PREFIX=$(out)" ]; 17 + 18 + meta = with stdenv.lib; { 19 + description = "Tool to convert Android sparse images to raw images"; 20 + homepage = "https://github.com/anestisb/android-simg2img"; 21 + license = licenses.asl20; 22 + platforms = platforms.linux; 23 + maintainers = [ maintainers.dezgeg ]; 24 + }; 25 + }
+38
pkgs/tools/graphics/yaxg/default.nix
··· 1 + { stdenv, fetchFromGitHub, makeWrapper, 2 + maim, slop, ffmpeg, byzanz, libnotify, xdpyinfo }: 3 + 4 + stdenv.mkDerivation rec { 5 + name = "yaxg-${version}"; 6 + version = "unstable-2018-05-03"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "DanielFGray"; 10 + repo = "yaxg"; 11 + rev = "9d6af75da2ec25dba4b8d784e431064033d67ad2"; 12 + sha256 = "01p6ghp1vfrlnrm78bgbl9ppqwsdxh761g0qa172dpvsqg91l1p6"; 13 + }; 14 + 15 + nativeBuildInputs = [ makeWrapper ]; 16 + buildInputs = [ maim slop ffmpeg byzanz libnotify xdpyinfo ]; 17 + 18 + installPhase = '' 19 + mkdir -p $out/bin/ 20 + mv yaxg $out/bin/ 21 + chmod +x $out/bin/yaxg 22 + wrapProgram $out/bin/yaxg --prefix PATH : ${ stdenv.lib.makeBinPath [ maim slop ffmpeg byzanz libnotify xdpyinfo ]} 23 + ''; 24 + 25 + meta = with stdenv.lib; { 26 + inherit (src.meta) homepage; 27 + description = "Yet Another X Grabber script"; 28 + longDescription = '' 29 + Capture and record your screen with callbacks. Wraps maim, slop, ffmpeg, 30 + and byzanz to enable still image, video, or gif recording of part or all 31 + of your screen. Similar command-line interface to scrot but is overall 32 + more flexible and less buggy. 33 + ''; 34 + platforms = platforms.all; 35 + license = licenses.gpl3Plus; 36 + maintainers = with maintainers; [ neonfuz ]; 37 + }; 38 + }
+1 -1
pkgs/tools/misc/eot-utilities/default.nix
··· 17 17 description = "Create Embedded Open Type from OpenType or TrueType font"; 18 18 license = stdenv.lib.licenses.w3c; 19 19 maintainers = with stdenv.lib.maintainers; [ leenaars ]; 20 - platforms = with stdenv.lib.platforms; linux; 20 + platforms = with stdenv.lib.platforms; unix; 21 21 }; 22 22 }
+8 -2
pkgs/tools/networking/cntlm/default.nix
··· 11 11 12 12 buildInputs = [ which ]; 13 13 14 + preConfigure = stdenv.lib.optionalString stdenv.isDarwin '' 15 + substituteInPlace configure --replace "xlc_r gcc" "xlc_r gcc $CC" 16 + substitute Makefile Makefile.$CC --replace "CC=gcc" "CC=$CC" 17 + ''; 18 + 14 19 installPhase = '' 15 20 mkdir -p $out/bin; cp cntlm $out/bin/; 16 21 mkdir -p $out/share/; cp COPYRIGHT README VERSION doc/cntlm.conf $out/share/; ··· 21 26 description = "NTLM/NTLMv2 authenticating HTTP proxy"; 22 27 homepage = http://cntlm.sourceforge.net/; 23 28 license = licenses.gpl2; 24 - maintainers = 29 + maintainers = 25 30 [ 26 31 maintainers.qknight 27 32 maintainers.markWot 33 + maintainers.carlosdagos 28 34 ]; 29 - platforms = platforms.linux; 35 + platforms = platforms.linux ++ platforms.darwin; 30 36 }; 31 37 }
+3 -3
pkgs/tools/security/cfssl/default.nix
··· 2 2 3 3 buildGoPackage rec { 4 4 name = "cfssl-${version}"; 5 - version = "20170527"; 5 + version = "1.3.2"; 6 6 7 7 goPackagePath = "github.com/cloudflare/cfssl"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "cloudflare"; 11 11 repo = "cfssl"; 12 - rev = "114dc9691ec7bf3dac49d5953eccf7d91a0e0904"; 13 - sha256 = "1ijq43mrzrf1gkgj5ssxq7sgy6sd4rl706dzqkq9krqv5f6kwhj1"; 12 + rev = version; 13 + sha256 = "0j2gz2vl2pf7ir7sc7jrwmjnr67hk4qhxw09cjx132jbk337jc9x"; 14 14 }; 15 15 16 16 meta = with stdenv.lib; {
+36
pkgs/tools/security/passff-host/default.nix
··· 1 + { stdenv, fetchFromGitHub, python3, pass }: 2 + 3 + stdenv.mkDerivation rec { 4 + name = "passff-host-${version}"; 5 + version = "1.0.2"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "passff"; 9 + repo = "passff-host"; 10 + rev = version; 11 + sha256 = "1zks34rg9i8vphjrj1h80y5rijadx33z911qxa7pslf7ahmjqdv3"; 12 + }; 13 + 14 + buildInputs = [ python3 ]; 15 + 16 + patchPhase = '' 17 + sed -i 's#COMMAND = "pass"#COMMAND = "${pass}/bin/pass"#' src/passff.py 18 + ''; 19 + 20 + preBuild = "cd src"; 21 + postBuild = "cd .."; 22 + 23 + installPhase = '' 24 + install -D bin/testing/passff.py $out/share/passff-host/passff.py 25 + cp bin/testing/passff.json $out/share/passff-host/passff.json 26 + substituteInPlace $out/share/passff-host/passff.json \ 27 + --replace PLACEHOLDER $out/share/passff-host/passff.py 28 + ''; 29 + 30 + meta = with stdenv.lib; { 31 + description = "Host app for the WebExtension PassFF"; 32 + homepage = https://github.com/passff/passff-host; 33 + license = licenses.gpl2; 34 + maintainers = with maintainers; [ nadrieril ]; 35 + }; 36 + }
-2
pkgs/tools/system/bfs/default.nix
··· 11 11 sha256 = "01vcqanj2sifa5i51wvrkxh55d6hrq6iq7zmnhv4ls221dqmbyyn"; 12 12 }; 13 13 14 - # Disable fstype test, tries to read /etc/mtab 15 - patches = [ ./tests.patch ]; 16 14 postPatch = '' 17 15 # Patch tests (both shebangs and usage in scripts) 18 16 for f in $(find -type f -name '*.sh'); do
-10
pkgs/tools/system/bfs/tests.patch
··· 1 - --- a/tests.sh 2 - +++ b/tests.sh 3 - @@ -369,7 +369,6 @@ 4 - test_printf_nul 5 - test_quit_after_print 6 - test_quit_before_print 7 - - test_fstype 8 - test_not 9 - test_and 10 - test_or
+13 -10
pkgs/top-level/all-packages.nix
··· 34 34 extraPackages = []; 35 35 inherit bintools; 36 36 }; 37 - allowedRequisites = stdenv.allowedRequisites ++ [ bintools ]; 37 + allowedRequisites = 38 + lib.mapNullable (rs: rs ++ [ bintools ]) (stdenv.allowedRequisites or null); 38 39 }; 39 40 40 41 # For convenience, allow callers to get the path to Nixpkgs. ··· 692 693 gopass = callPackage ../tools/security/gopass { }; 693 694 694 695 browserpass = callPackage ../tools/security/browserpass { }; 696 + 697 + passff-host = callPackage ../tools/security/passff-host { }; 695 698 696 699 oracle-instantclient = callPackage ../development/libraries/oracle-instantclient { }; 697 700 ··· 1439 1442 1440 1443 s2png = callPackage ../tools/graphics/s2png { }; 1441 1444 1445 + simg2img = callPackage ../tools/filesystems/simg2img { }; 1446 + 1442 1447 socklog = callPackage ../tools/system/socklog { }; 1443 1448 1444 1449 staccato = callPackage ../tools/text/staccato { }; ··· 8282 8287 kcov = callPackage ../development/tools/analysis/kcov { }; 8283 8288 8284 8289 kube-aws = callPackage ../development/tools/kube-aws { }; 8290 + 8291 + kustomize = callPackage ../development/tools/kustomize { }; 8285 8292 8286 8293 Literate = callPackage ../development/tools/literate-programming/Literate {}; 8287 8294 ··· 16967 16974 16968 16975 kubernetes-helm = callPackage ../applications/networking/cluster/helm { }; 16969 16976 16977 + kubetail = callPackage ../applications/networking/cluster/kubetail { } ; 16978 + 16970 16979 kupfer = callPackage ../applications/misc/kupfer { }; 16971 16980 16972 16981 lame = callPackage ../development/libraries/lame { }; ··· 18707 18716 inherit (darwin.apple_sdk.frameworks) CoreServices Cocoa Foundation CoreData; 18708 18717 inherit (darwin) libobjc cf-private; 18709 18718 inherit lua; 18710 - 18711 - features = "huge"; # one of tiny, small, normal, big or huge 18712 - gui = config.vim.gui or "auto"; 18713 - 18714 - # optional features by flags 18715 - flags = [ "python" "X11" ]; # only flag "X11" by now 18716 18719 }); 18717 18720 18718 18721 vimNox = lowPrio (vim_configurable.override { ··· 19681 19684 19682 19685 megaglest = callPackage ../games/megaglest {}; 19683 19686 19684 - minecraft = callPackage ../games/minecraft { 19685 - useAlsa = config.minecraft.alsa or false; 19686 - }; 19687 + minecraft = callPackage ../games/minecraft { }; 19687 19688 19688 19689 minecraft-server = callPackage ../games/minecraft-server { }; 19689 19690 ··· 21824 21825 yandex-disk = callPackage ../tools/filesystems/yandex-disk { }; 21825 21826 21826 21827 yara = callPackage ../tools/security/yara { }; 21828 + 21829 + yaxg = callPackage ../tools/graphics/yaxg {}; 21827 21830 21828 21831 zap = callPackage ../tools/networking/zap { }; 21829 21832