Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

Merge staging-next into staging

authored by github-actions[bot] and committed by GitHub f4abaecf f10f4f7e

+363 -154
+19
doc/builders/packages/fuse.section.md
···
··· 1 + # FUSE {#sec-fuse} 2 + 3 + Some packages rely on 4 + [FUSE](https://www.kernel.org/doc/html/latest/filesystems/fuse.html) to provide 5 + support for additional filesystems not supported by the kernel. 6 + 7 + In general, FUSE software are primarily developed for Linux but many of them can 8 + also run on macOS. Nixpkgs supports FUSE packages on macOS, but it requires 9 + [macFUSE](https://osxfuse.github.io) to be installed outside of Nix. macFUSE 10 + currently isn't packaged in Nixpkgs mainly because it includes a kernel 11 + extension, which isn't supported by Nix outside of NixOS. 12 + 13 + If a package fails to run on macOS with an error message similar to the 14 + following, it's a likely sign that you need to have macFUSE installed. 15 + 16 + dyld: Library not loaded: /usr/local/lib/libfuse.2.dylib 17 + Referenced from: /nix/store/w8bi72bssv0bnxhwfw3xr1mvn7myf37x-sshfs-fuse-2.10/bin/sshfs 18 + Reason: image not found 19 + [1] 92299 abort /nix/store/w8bi72bssv0bnxhwfw3xr1mvn7myf37x-sshfs-fuse-2.10/bin/sshfs
+1
doc/builders/packages/index.xml
··· 12 <xi:include href="emacs.section.xml" /> 13 <xi:include href="firefox.section.xml" /> 14 <xi:include href="fish.section.xml" /> 15 <xi:include href="ibus.section.xml" /> 16 <xi:include href="kakoune.section.xml" /> 17 <xi:include href="linux.section.xml" />
··· 12 <xi:include href="emacs.section.xml" /> 13 <xi:include href="firefox.section.xml" /> 14 <xi:include href="fish.section.xml" /> 15 + <xi:include href="fuse.section.xml" /> 16 <xi:include href="ibus.section.xml" /> 17 <xi:include href="kakoune.section.xml" /> 18 <xi:include href="linux.section.xml" />
+1 -1
nixos/modules/programs/less.nix
··· 40 configFile = mkOption { 41 type = types.nullOr types.path; 42 default = null; 43 - example = literalExample "$${pkgs.my-configs}/lesskey"; 44 description = '' 45 Path to lesskey configuration file. 46
··· 40 configFile = mkOption { 41 type = types.nullOr types.path; 42 default = null; 43 + example = literalExample "\${pkgs.my-configs}/lesskey"; 44 description = '' 45 Path to lesskey configuration file. 46
+7 -1
pkgs/applications/display-managers/sddm/default.nix
··· 1 - { mkDerivation, lib, fetchFromGitHub 2 , cmake, extra-cmake-modules, pkg-config, libxcb, libpthreadstubs 3 , libXdmcp, libXau, qtbase, qtdeclarative, qtquickcontrols2, qttools, pam, systemd 4 }: ··· 19 20 patches = [ 21 ./sddm-ignore-config-mtime.patch 22 ]; 23 24 postPatch =
··· 1 + { mkDerivation, lib, fetchFromGitHub, fetchpatch 2 , cmake, extra-cmake-modules, pkg-config, libxcb, libpthreadstubs 3 , libXdmcp, libXau, qtbase, qtdeclarative, qtquickcontrols2, qttools, pam, systemd 4 }: ··· 19 20 patches = [ 21 ./sddm-ignore-config-mtime.patch 22 + # Load `/etc/profile` for `environment.variables` with zsh default shell. 23 + # See: https://github.com/sddm/sddm/pull/1382 24 + (fetchpatch { 25 + url = "https://github.com/sddm/sddm/commit/e1dedeeab6de565e043f26ac16033e613c222ef9.patch"; 26 + sha256 = "sha256-OPyrUI3bbH+PGDBfoL4Ohb4wIvmy9TeYZhE0JxR/D58="; 27 + }) 28 ]; 29 30 postPatch =
+17 -3
pkgs/applications/editors/vim/configurable.nix
··· 75 patches = [ ./cflags-prune.diff ] ++ lib.optional ftNixSupport ./ft-nix-support.patch; 76 77 configureFlags = [ 78 - "--enable-gui=${guiSupport}" 79 "--with-features=${features}" 80 "--disable-xsmp" # XSMP session management 81 "--disable-xsmp_interact" # XSMP interaction ··· 95 "--disable-carbon_check" 96 "--disable-gtktest" 97 ] 98 ++ lib.optional stdenv.isDarwin 99 (if darwinSupport then "--enable-darwin" else "--disable-darwin") 100 ++ lib.optionals luaSupport [ ··· 127 ++ lib.optional (guiSupport == "gtk3") wrapGAppsHook 128 ; 129 130 - buildInputs = [ ncurses libX11 libXext libSM libXpm libXt libXaw libXau 131 - libXmu glib libICE ] 132 ++ lib.optional (guiSupport == "gtk2") gtk2-x11 133 ++ lib.optional (guiSupport == "gtk3") gtk3-x11 134 ++ lib.optionals darwinSupport [ CoreServices CoreData Cocoa Foundation libobjc ]
··· 75 patches = [ ./cflags-prune.diff ] ++ lib.optional ftNixSupport ./ft-nix-support.patch; 76 77 configureFlags = [ 78 "--with-features=${features}" 79 "--disable-xsmp" # XSMP session management 80 "--disable-xsmp_interact" # XSMP interaction ··· 94 "--disable-carbon_check" 95 "--disable-gtktest" 96 ] 97 + ++ lib.optional (guiSupport == "gtk2" || guiSupport == "gtk3") "--enable-gui=${guiSupport}" 98 ++ lib.optional stdenv.isDarwin 99 (if darwinSupport then "--enable-darwin" else "--disable-darwin") 100 ++ lib.optionals luaSupport [ ··· 127 ++ lib.optional (guiSupport == "gtk3") wrapGAppsHook 128 ; 129 130 + buildInputs = [ 131 + ncurses 132 + glib 133 + ] 134 + # All X related dependencies 135 + ++ lib.optionals (guiSupport == "gtk2" || guiSupport == "gtk3") [ 136 + libSM 137 + libICE 138 + libX11 139 + libXext 140 + libXpm 141 + libXt 142 + libXaw 143 + libXau 144 + libXmu 145 + ] 146 ++ lib.optional (guiSupport == "gtk2") gtk2-x11 147 ++ lib.optional (guiSupport == "gtk3") gtk3-x11 148 ++ lib.optionals darwinSupport [ CoreServices CoreData Cocoa Foundation libobjc ]
+3 -3
pkgs/applications/networking/cluster/terraform-docs/default.nix
··· 1 { lib, buildGoModule, fetchFromGitHub }: 2 buildGoModule rec { 3 pname = "terraform-docs"; 4 - version = "0.11.2"; 5 6 src = fetchFromGitHub { 7 owner = "terraform-docs"; 8 repo = pname; 9 rev = "v${version}"; 10 - sha256 = "sha256-x2YTd4ZnimTRkFWbwFp4qz6BymD6ESVxBy6YE+QqQ6k="; 11 }; 12 13 - vendorSha256 = "sha256-drfhfY03Ao0fqleBdzbAnPsE4kVrJMcUbec0txaEIP0="; 14 15 subPackages = [ "." ]; 16
··· 1 { lib, buildGoModule, fetchFromGitHub }: 2 buildGoModule rec { 3 pname = "terraform-docs"; 4 + version = "0.12.0"; 5 6 src = fetchFromGitHub { 7 owner = "terraform-docs"; 8 repo = pname; 9 rev = "v${version}"; 10 + sha256 = "sha256-6jUYntnMB/LxyZuRkSaOVcrzJOIoucdaY+5GVHwJL8Y="; 11 }; 12 13 + vendorSha256 = "sha256-HO2E8i5A/2Xi7Pq+Mqb/2ogK1to8IvZjRuDXfzGvOXk="; 14 15 subPackages = [ "." ]; 16
+5 -4
pkgs/applications/networking/cluster/terraform-providers/providers.json
··· 1086 "version": "2.3.0" 1087 }, 1088 "yandex": { 1089 - "owner": "terraform-providers", 1090 "repo": "terraform-provider-yandex", 1091 - "rev": "v0.40.0", 1092 - "sha256": "0dymhdrdm00m9xn4xka3zbvjqnckhl06vz5zm6rqivkmw8m2q0mz", 1093 - "version": "0.40.0" 1094 } 1095 }
··· 1086 "version": "2.3.0" 1087 }, 1088 "yandex": { 1089 + "owner": "yandex-cloud", 1090 "repo": "terraform-provider-yandex", 1091 + "rev": "v0.54.0", 1092 + "sha256": "0q9m7520zl7q1liri6x849xjp221wbc9l2w6dj19mmgfwspqv02l", 1093 + "vendorSha256": "0rzldsb8gyhvnsd26wg9byqngzzj64pi86v2hb4i63rlfmnn77xi", 1094 + "version": "0.54.0" 1095 } 1096 }
+2 -2
pkgs/applications/networking/cluster/terraform/default.nix
··· 157 }); 158 159 terraform_0_14 = pluggable (generic { 160 - version = "0.14.8"; 161 - sha256 = "0kpw8w28pfyr136z5d4pxw7g9ch6rk2lfwh3lwz25mngq1lljmn0"; 162 vendorSha256 = "1d93aqkjdrvabkvix6h1qaxpjzv7w1wa7xa44czdnjs2lapx4smm"; 163 patches = [ ./provider-path.patch ]; 164 passthru = { inherit plugins; };
··· 157 }); 158 159 terraform_0_14 = pluggable (generic { 160 + version = "0.14.9"; 161 + sha256 = "0r9d28mbj7h9prr39gm5kd49l7sm8l1ab9rwrkpyhwgr119zf35b"; 162 vendorSha256 = "1d93aqkjdrvabkvix6h1qaxpjzv7w1wa7xa44czdnjs2lapx4smm"; 163 patches = [ ./provider-path.patch ]; 164 passthru = { inherit plugins; };
+2 -2
pkgs/applications/networking/cluster/terragrunt/default.nix
··· 2 3 buildGoModule rec { 4 pname = "terragrunt"; 5 - version = "0.28.15"; 6 7 src = fetchFromGitHub { 8 owner = "gruntwork-io"; 9 repo = pname; 10 rev = "v${version}"; 11 - sha256 = "sha256-PhTFgYoSaGv54uak8QB7p963OBSgo9s1UM9/XBmYC8g="; 12 }; 13 14 vendorSha256 = "sha256-vHKqowc3euQQyvgfaTbIgSXOhPcf2nSoteQK0a574Kc=";
··· 2 3 buildGoModule rec { 4 pname = "terragrunt"; 5 + version = "0.28.16"; 6 7 src = fetchFromGitHub { 8 owner = "gruntwork-io"; 9 repo = pname; 10 rev = "v${version}"; 11 + sha256 = "sha256-xt04gYxInW9UNxPG4kmMagfAQyQ+T0/u7m39grFCdAc="; 12 }; 13 14 vendorSha256 = "sha256-vHKqowc3euQQyvgfaTbIgSXOhPcf2nSoteQK0a574Kc=";
+4 -4
pkgs/applications/science/biology/spades/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "SPAdes"; 5 - version = "3.15.1"; 6 7 src = fetchurl { 8 url = "http://cab.spbu.ru/files/release${version}/${pname}-${version}.tar.gz"; 9 - sha256 = "sha256-2wZzdFRZ7zyhWwYL+c/5qhKDgj+LPtnge3UNHWJ9Ykk="; 10 }; 11 12 nativeBuildInputs = [ cmake ]; ··· 19 20 meta = with lib; { 21 description = "St. Petersburg genome assembler: assembly toolkit containing various assembly pipelines"; 22 - license = licenses.gpl2; 23 homepage = "http://cab.spbu.ru/software/spades/"; 24 - platforms = platforms.unix; 25 maintainers = [ maintainers.bzizou ]; 26 }; 27 }
··· 2 3 stdenv.mkDerivation rec { 4 pname = "SPAdes"; 5 + version = "3.15.2"; 6 7 src = fetchurl { 8 url = "http://cab.spbu.ru/files/release${version}/${pname}-${version}.tar.gz"; 9 + sha256 = "03cxz4m1n4rc81lqb4p1pz2ammms7f31wvi4daywfkc13aal6fz9"; 10 }; 11 12 nativeBuildInputs = [ cmake ]; ··· 19 20 meta = with lib; { 21 description = "St. Petersburg genome assembler: assembly toolkit containing various assembly pipelines"; 22 + license = licenses.gpl2Only; 23 homepage = "http://cab.spbu.ru/software/spades/"; 24 + platforms = with platforms; [ "x86_64-linux" "x86_64-darwin"]; 25 maintainers = [ maintainers.bzizou ]; 26 }; 27 }
+3
pkgs/applications/science/math/gap/default.nix
··· 101 excludes = ["tst/testinstall/stringobj.tst"]; 102 sha256 = "1mz5b4mbw2jdd1ypp5s0dy6pp0jsvwsxr2dm4kbkls20r1r192sc"; 103 }) 104 ]; 105 106 postPatch = ''
··· 101 excludes = ["tst/testinstall/stringobj.tst"]; 102 sha256 = "1mz5b4mbw2jdd1ypp5s0dy6pp0jsvwsxr2dm4kbkls20r1r192sc"; 103 }) 104 + 105 + # fixes aarch64 gc crashes: https://github.com/gap-system/gap/pull/3965 106 + ./mark-genstackfuncbags-as-noinline.patch 107 ]; 108 109 postPatch = ''
+13
pkgs/applications/science/math/gap/mark-genstackfuncbags-as-noinline.patch
···
··· 1 + diff --git a/src/gasman.c b/src/gasman.c 2 + index 417811401..314a74190 100644 3 + --- a/src/gasman.c 4 + +++ b/src/gasman.c 5 + @@ -1861,7 +1861,7 @@ void SparcStackFuncBags( void ) 6 + #endif 7 + 8 + 9 + -void GenStackFuncBags ( void ) 10 + +NOINLINE void GenStackFuncBags ( void ) 11 + { 12 + Bag * top; /* top of stack */ 13 + Bag * p; /* loop variable */
+16
pkgs/applications/science/math/sage/sage-src.nix
··· 87 rev = "2959ac792ebd6107fe87c9af1541083de5ba02d6"; 88 sha256 = "sha256-bWIpEGir9Kawak5CJegBMNcHm/CqhWmdru+emeSsvO0="; 89 }) 90 ]; 91 92 # Patches needed because of package updates. We could just pin the versions of ··· 152 name = "make-gcd-lcm-interact-better-with-pari-and-gmpy2.patch"; 153 rev = "75c1516f0abb9e6f8c335e38e4031f6ef674ed30"; 154 sha256 = "sha256-RukkieIZcXNrju904H2oyGKdtpdE+9vNzvyjN2IBNg0="; 155 }) 156 ]; 157
··· 87 rev = "2959ac792ebd6107fe87c9af1541083de5ba02d6"; 88 sha256 = "sha256-bWIpEGir9Kawak5CJegBMNcHm/CqhWmdru+emeSsvO0="; 89 }) 90 + 91 + # fix intermittent errors in doctest/test.py: https://trac.sagemath.org/ticket/26912 92 + (fetchSageDiff { 93 + base = "9.3.beta8"; 94 + name = "set-cysignals-crash-ndebug.patch"; 95 + rev = "ca5257a5d0f32efc9f8f07e126020856270b1a18"; 96 + sha256 = "sha256-KViw63xE3O0eUiOYzoxNrr4NL+csql9GPJLDJCf/EZs="; 97 + }) 98 ]; 99 100 # Patches needed because of package updates. We could just pin the versions of ··· 160 name = "make-gcd-lcm-interact-better-with-pari-and-gmpy2.patch"; 161 rev = "75c1516f0abb9e6f8c335e38e4031f6ef674ed30"; 162 sha256 = "sha256-RukkieIZcXNrju904H2oyGKdtpdE+9vNzvyjN2IBNg0="; 163 + }) 164 + 165 + # cypari 2.1.2 update (https://trac.sagemath.org/ticket/31029) 166 + (fetchSageDiff { 167 + base = "9.3.beta3"; 168 + name = "cypari-2.1.2-update.patch"; 169 + rev = "b9aadfd08e81d74ca7c229bb80eb853b592887d0"; 170 + sha256 = "sha256-eKaMy7kpu+YKdL8bPStgocxBCTfc2Z/10RrGy2LENFw="; 171 }) 172 ]; 173
+4 -3
pkgs/desktops/gnome-3/extensions/sound-output-device-chooser/default.nix
··· 7 8 stdenv.mkDerivation rec { 9 pname = "gnome-shell-extension-sound-output-device-chooser"; 10 - version = "32"; 11 12 src = fetchFromGitHub { 13 owner = "kgshank"; 14 repo = "gse-sound-output-device-chooser"; 15 rev = version; 16 - sha256 = "1s83scr80qv5xmlfsy6dnsj96lwg2rr4pbsw9inld3ylblgvi35l"; 17 }; 18 19 patches = [ 20 (substituteAll { 21 src = ./fix-paths.patch; 22 libpulse = "${libpulseaudio}/lib/libpulse.so"; ··· 36 37 meta = with lib; { 38 description = "GNOME Shell extension adding audio device chooser to panel"; 39 - license = licenses.gpl3; 40 maintainers = with maintainers; [ jtojnar ]; 41 homepage = "https://github.com/kgshank/gse-sound-output-device-chooser"; 42 };
··· 7 8 stdenv.mkDerivation rec { 9 pname = "gnome-shell-extension-sound-output-device-chooser"; 10 + version = "35"; 11 12 src = fetchFromGitHub { 13 owner = "kgshank"; 14 repo = "gse-sound-output-device-chooser"; 15 rev = version; 16 + sha256 = "sha256-Yl5ut6kJAkAAdCBiNFpwDgshXCLMmFH3/zhnFGpyKqs="; 17 }; 18 19 patches = [ 20 + # Fix paths to libpulse and python 21 (substituteAll { 22 src = ./fix-paths.patch; 23 libpulse = "${libpulseaudio}/lib/libpulse.so"; ··· 37 38 meta = with lib; { 39 description = "GNOME Shell extension adding audio device chooser to panel"; 40 + license = licenses.gpl3Plus; 41 maintainers = with maintainers; [ jtojnar ]; 42 homepage = "https://github.com/kgshank/gse-sound-output-device-chooser"; 43 };
+8 -8
pkgs/desktops/gnome-3/extensions/sound-output-device-chooser/fix-paths.patch
··· 2 index 54ad06f..0860531 100644 3 --- a/sound-output-device-chooser@kgshank.net/convenience.js 4 +++ b/sound-output-device-chooser@kgshank.net/convenience.js 5 - @@ -129,7 +129,7 @@ function refreshCards() { 6 - if(_settings.get_boolean(Prefs.NEW_PROFILE_ID)) { 7 _log("New logic"); 8 - let pyLocation = Me.dir.get_child('utils/pa_helper.py').get_path(); 9 - - let pythonExec = 'python'; 10 + let pythonExec = '@python@'; 11 - let pyVer = 3; 12 - while(!isCmdFound(pythonExec) && pyVer >=2){ 13 - _log(pythonExec + " is not found. Try next"); 14 diff --git a/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py b/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py 15 index c4d2484..262608d 100644 16 --- a/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py 17 +++ b/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py 18 - @@ -86,7 +86,7 @@ else: 19 20 _libraries = {} 21
··· 2 index 54ad06f..0860531 100644 3 --- a/sound-output-device-chooser@kgshank.net/convenience.js 4 +++ b/sound-output-device-chooser@kgshank.net/convenience.js 5 + @@ -142,7 +142,7 @@ function refreshCards() { 6 + if (newProfLogic) { 7 _log("New logic"); 8 + let pyLocation = Me.dir.get_child("utils/pa_helper.py").get_path(); 9 + - let pythonExec = ["python", "python3", "python2"].find(cmd => isCmdFound(cmd)); 10 + let pythonExec = '@python@'; 11 + if (!pythonExec) { 12 + _log("ERROR: Python not found. fallback to default mode"); 13 + _settings.set_boolean(Prefs.NEW_PROFILE_ID, false); 14 diff --git a/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py b/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py 15 index c4d2484..262608d 100644 16 --- a/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py 17 +++ b/sound-output-device-chooser@kgshank.net/utils/libpulse_introspect.py 18 + @@ -82,7 +82,7 @@ else: 19 20 _libraries = {} 21
+5 -5
pkgs/desktops/plasma-5/kwin/0001-follow-symlinks.patch
··· 1 - From 449896c45b23f50c168d8d2789832024c906ec36 Mon Sep 17 00:00:00 2001 2 From: Thomas Tuegel <ttuegel@mailbox.org> 3 Date: Mon, 27 Jan 2020 05:31:13 -0600 4 - Subject: [PATCH 1/2] follow symlinks 5 6 --- 7 plugins/kdecorations/aurorae/src/aurorae.cpp | 2 +- 8 1 file changed, 1 insertion(+), 1 deletion(-) 9 10 diff --git a/plugins/kdecorations/aurorae/src/aurorae.cpp b/plugins/kdecorations/aurorae/src/aurorae.cpp 11 - index fd723a8..fb95633 100644 12 --- a/plugins/kdecorations/aurorae/src/aurorae.cpp 13 +++ b/plugins/kdecorations/aurorae/src/aurorae.cpp 14 - @@ -211,7 +211,7 @@ void Helper::init() 15 // so let's try to locate our plugin: 16 QString pluginPath; 17 for (const QString &path : m_engine->importPathList()) { ··· 21 it.next(); 22 QFileInfo fileInfo = it.fileInfo(); 23 -- 24 - 2.23.1 25
··· 1 + From af569c9ed8079169b524b31461e2789baa09ef7a Mon Sep 17 00:00:00 2001 2 From: Thomas Tuegel <ttuegel@mailbox.org> 3 Date: Mon, 27 Jan 2020 05:31:13 -0600 4 + Subject: [PATCH 1/3] follow symlinks 5 6 --- 7 plugins/kdecorations/aurorae/src/aurorae.cpp | 2 +- 8 1 file changed, 1 insertion(+), 1 deletion(-) 9 10 diff --git a/plugins/kdecorations/aurorae/src/aurorae.cpp b/plugins/kdecorations/aurorae/src/aurorae.cpp 11 + index 5242cb7..2e4ddae 100644 12 --- a/plugins/kdecorations/aurorae/src/aurorae.cpp 13 +++ b/plugins/kdecorations/aurorae/src/aurorae.cpp 14 + @@ -201,7 +201,7 @@ void Helper::init() 15 // so let's try to locate our plugin: 16 QString pluginPath; 17 for (const QString &path : m_engine->importPathList()) { ··· 21 it.next(); 22 QFileInfo fileInfo = it.fileInfo(); 23 -- 24 + 2.29.2 25
+5 -5
pkgs/desktops/plasma-5/kwin/0002-xwayland.patch
··· 1 - From d584b075d71c4486710c0bbed6d44038f2ff5075 Mon Sep 17 00:00:00 2001 2 From: Thomas Tuegel <ttuegel@mailbox.org> 3 Date: Mon, 27 Jan 2020 05:31:23 -0600 4 - Subject: [PATCH 2/2] xwayland 5 6 --- 7 xwl/xwayland.cpp | 2 +- 8 1 file changed, 1 insertion(+), 1 deletion(-) 9 10 diff --git a/xwl/xwayland.cpp b/xwl/xwayland.cpp 11 - index 5f17d39..b4b69ba 100644 12 --- a/xwl/xwayland.cpp 13 +++ b/xwl/xwayland.cpp 14 - @@ -145,7 +145,7 @@ void Xwayland::init() 15 16 m_xwaylandProcess = new Process(this); 17 m_xwaylandProcess->setProcessChannelMode(QProcess::ForwardedErrorChannel); ··· 21 env.insert("WAYLAND_SOCKET", QByteArray::number(wlfd)); 22 env.insert("EGL_PLATFORM", QByteArrayLiteral("DRM")); 23 -- 24 - 2.23.1 25
··· 1 + From 5c90dd84f541bd4789525f12f12ad24411b99018 Mon Sep 17 00:00:00 2001 2 From: Thomas Tuegel <ttuegel@mailbox.org> 3 Date: Mon, 27 Jan 2020 05:31:23 -0600 4 + Subject: [PATCH 2/3] xwayland 5 6 --- 7 xwl/xwayland.cpp | 2 +- 8 1 file changed, 1 insertion(+), 1 deletion(-) 9 10 diff --git a/xwl/xwayland.cpp b/xwl/xwayland.cpp 11 + index 57efdde..a211a58 100644 12 --- a/xwl/xwayland.cpp 13 +++ b/xwl/xwayland.cpp 14 + @@ -124,7 +124,7 @@ void Xwayland::start() 15 16 m_xwaylandProcess = new Process(this); 17 m_xwaylandProcess->setProcessChannelMode(QProcess::ForwardedErrorChannel); ··· 21 env.insert("WAYLAND_SOCKET", QByteArray::number(wlfd)); 22 env.insert("EGL_PLATFORM", QByteArrayLiteral("DRM")); 23 -- 24 + 2.29.2 25
+26
pkgs/desktops/plasma-5/kwin/0003-plugins-qpa-allow-using-nixos-wrapper.patch
···
··· 1 + From 8d49f5ef8692c352a62f4f8b1bc68e6e210bbee6 Mon Sep 17 00:00:00 2001 2 + From: Yaroslav Bolyukin <iam@lach.pw> 3 + Date: Wed, 23 Dec 2020 18:02:14 +0300 4 + Subject: [PATCH 3/3] plugins/qpa: allow using nixos wrapper 5 + 6 + Signed-off-by: Yaroslav Bolyukin <iam@lach.pw> 7 + --- 8 + plugins/qpa/main.cpp | 2 +- 9 + 1 file changed, 1 insertion(+), 1 deletion(-) 10 + 11 + diff --git a/plugins/qpa/main.cpp b/plugins/qpa/main.cpp 12 + index efd236b..a69c046 100644 13 + --- a/plugins/qpa/main.cpp 14 + +++ b/plugins/qpa/main.cpp 15 + @@ -23,7 +23,7 @@ public: 16 + QPlatformIntegration *KWinIntegrationPlugin::create(const QString &system, const QStringList &paramList) 17 + { 18 + Q_UNUSED(paramList) 19 + - if (!QCoreApplication::applicationFilePath().endsWith(QLatin1String("kwin_wayland")) && !qEnvironmentVariableIsSet("KWIN_FORCE_OWN_QPA")) { 20 + + if (!QCoreApplication::applicationFilePath().endsWith(QLatin1String("kwin_wayland")) && !QCoreApplication::applicationFilePath().endsWith(QLatin1String(".kwin_wayland-wrapped")) && !qEnvironmentVariableIsSet("KWIN_FORCE_OWN_QPA")) { 21 + // Not KWin 22 + return nullptr; 23 + } 24 + -- 25 + 2.29.2 26 +
+1
pkgs/desktops/plasma-5/kwin/default.nix
··· 37 patches = [ 38 ./0001-follow-symlinks.patch 39 ./0002-xwayland.patch 40 ]; 41 CXXFLAGS = [ 42 ''-DNIXPKGS_XWAYLAND=\"${lib.getBin xwayland}/bin/Xwayland\"''
··· 37 patches = [ 38 ./0001-follow-symlinks.patch 39 ./0002-xwayland.patch 40 + ./0003-plugins-qpa-allow-using-nixos-wrapper.patch 41 ]; 42 CXXFLAGS = [ 43 ''-DNIXPKGS_XWAYLAND=\"${lib.getBin xwayland}/bin/Xwayland\"''
+2 -2
pkgs/development/libraries/kdiagram/default.nix
··· 6 7 mkDerivation rec { 8 pname = "kdiagram"; 9 - version = "2.7.0"; 10 src = fetchFromGitLab { 11 domain = "invent.kde.org"; 12 owner = "graphics"; 13 repo = pname; 14 rev = "v${version}"; 15 - sha256 = "NSBNHPr8JzBn3y3ivhL0RjiXjDuPwZsTTOeI22pq3vc="; 16 }; 17 nativeBuildInputs = [ extra-cmake-modules qttools ]; 18 propagatedBuildInputs = [ qtbase qtsvg ];
··· 6 7 mkDerivation rec { 8 pname = "kdiagram"; 9 + version = "2.8.0"; 10 src = fetchFromGitLab { 11 domain = "invent.kde.org"; 12 owner = "graphics"; 13 repo = pname; 14 rev = "v${version}"; 15 + sha256 = "sha256-Se131GZE12wqdfN/V4id1pphUvteSrmMaKZ0+lqg1z8="; 16 }; 17 nativeBuildInputs = [ extra-cmake-modules qttools ]; 18 propagatedBuildInputs = [ qtbase qtsvg ];
+2 -2
pkgs/development/libraries/kdsoap/default.nix
··· 4 }: 5 6 let 7 - version = "1.9.1"; 8 in 9 10 mkDerivation { ··· 24 }; 25 src = fetchurl { 26 url = "https://github.com/KDAB/KDSoap/releases/download/kdsoap-${version}/kdsoap-${version}.tar.gz"; 27 - sha256 = "09rxx7h98niawz7i94g279c2rgh7xmq1hqxwlyzwsaqsx4kfl850"; 28 }; 29 outputs = [ "out" "dev" ]; 30 nativeBuildInputs = [ cmake ];
··· 4 }: 5 6 let 7 + version = "1.10.0"; 8 in 9 10 mkDerivation { ··· 24 }; 25 src = fetchurl { 26 url = "https://github.com/KDAB/KDSoap/releases/download/kdsoap-${version}/kdsoap-${version}.tar.gz"; 27 + sha256 = "sha256-DGBuzENEZtutsoKYIMoWOvYMx8oib1U7XUAyGWc3M48="; 28 }; 29 outputs = [ "out" "dev" ]; 30 nativeBuildInputs = [ cmake ];
+1 -1
pkgs/development/libraries/qt-5/qt-env.nix
··· 5 paths = [ qtbase ] ++ paths; 6 7 pathsToLink = [ "/bin" "/mkspecs" "/include" "/lib" "/share" ]; 8 - extraOutputsToInstall = [ "dev" ]; 9 10 postBuild = '' 11 rm "$out/bin/qmake"
··· 5 paths = [ qtbase ] ++ paths; 6 7 pathsToLink = [ "/bin" "/mkspecs" "/include" "/lib" "/share" ]; 8 + extraOutputsToInstall = [ "out" "dev" ]; 9 10 postBuild = '' 11 rm "$out/bin/qmake"
+44
pkgs/development/python-modules/aiosmb/default.nix
···
··· 1 + { lib 2 + , asysocks 3 + , buildPythonPackage 4 + , fetchPypi 5 + , minikerberos 6 + , prompt_toolkit 7 + , pythonOlder 8 + , six 9 + , tqdm 10 + , winacl 11 + , winsspi 12 + }: 13 + 14 + buildPythonPackage rec { 15 + pname = "aiosmb"; 16 + version = "0.2.37"; 17 + disabled = pythonOlder "3.7"; 18 + 19 + src = fetchPypi { 20 + inherit pname version; 21 + sha256 = "0daf1fk7406vpywc0yxv0wzf4nw986js9lc2agfyfxz0q7s29lf0"; 22 + }; 23 + 24 + propagatedBuildInputs = [ 25 + minikerberos 26 + winsspi 27 + six 28 + asysocks 29 + tqdm 30 + prompt_toolkit 31 + winacl 32 + ]; 33 + 34 + # Project doesn't have tests 35 + doCheck = false; 36 + pythonImportsCheck = [ "aiosmb" ]; 37 + 38 + meta = with lib; { 39 + description = "Python SMB library"; 40 + homepage = "https://github.com/skelsec/aiosmb"; 41 + license = with licenses; [ mit ]; 42 + maintainers = with maintainers; [ fab ]; 43 + }; 44 + }
+7 -9
pkgs/development/python-modules/awkward0/default.nix
··· 2 , buildPythonPackage 3 , fetchFromGitHub 4 , numpy 5 - , pandas 6 , pytestrunner 7 , pytestCheckHook 8 }: 9 10 buildPythonPackage rec { 11 pname = "awkward0"; 12 - version = "0.15.2"; 13 14 src = fetchFromGitHub { 15 owner = "scikit-hep"; 16 repo = "awkward-0.x"; 17 rev = version; 18 - sha256 = "sha256-C6/byIGcabGjws5QI9sh5BO2M4Lhqkooh4mSjUEKCKU="; 19 }; 20 21 nativeBuildInputs = [ pytestrunner ]; 22 23 propagatedBuildInputs = [ numpy ]; 24 25 - checkInputs = [ pandas pytestCheckHook ]; 26 27 - checkPhase = '' 28 - # Almost all tests in this file fail 29 - rm tests/test_persist.py 30 - py.test 31 - ''; 32 33 meta = with lib; { 34 description = "Manipulate jagged, chunky, and/or bitmasked arrays as easily as Numpy";
··· 2 , buildPythonPackage 3 , fetchFromGitHub 4 , numpy 5 , pytestrunner 6 , pytestCheckHook 7 }: 8 9 buildPythonPackage rec { 10 pname = "awkward0"; 11 + version = "0.15.5"; 12 13 src = fetchFromGitHub { 14 owner = "scikit-hep"; 15 repo = "awkward-0.x"; 16 rev = version; 17 + sha256 = "039pxzgll2yz8xpr6bw788ymvgvqgna5kgl9m6d9mzi4yhbjsjpx"; 18 }; 19 20 nativeBuildInputs = [ pytestrunner ]; 21 22 propagatedBuildInputs = [ numpy ]; 23 24 + checkInputs = [ pytestCheckHook ]; 25 26 + # Can't find a fixture 27 + disabledTests = [ "test_import_pandas" ]; 28 + 29 + pythonImportsCheck = [ "awkward0" ]; 30 31 meta = with lib; { 32 description = "Manipulate jagged, chunky, and/or bitmasked arrays as easily as Numpy";
+20 -2
pkgs/development/python-modules/cherrypy/default.nix
··· 18 sha256 = "16f410izp2c4qhn4n3l5l3qirmkf43h2amjqms8hkl0shgfqwq2n"; 19 }; 20 21 propagatedBuildInputs = [ 22 # required 23 cheroot portend more-itertools zc_lockfile ··· 25 # optional 26 routes 27 ]; 28 - 29 - nativeBuildInputs = [ setuptools_scm ]; 30 31 checkInputs = [ 32 objgraph pytest pytestcov pathpy requests_toolbelt pytest-services
··· 18 sha256 = "16f410izp2c4qhn4n3l5l3qirmkf43h2amjqms8hkl0shgfqwq2n"; 19 }; 20 21 + patches = [ 22 + # 1/3 Fix compatibility with pytest 6. Will be part of the next release after 18.6 23 + (fetchpatch { 24 + url = "https://github.com/cherrypy/cherrypy/pull/1897/commits/59c0e19d7df8680e36afc96756dce72435121448.patch"; 25 + sha256 = "1jachbvp505gndccdhny0c3grzdrmvmbzq4kw55jx93ay94ni6p0"; 26 + }) 27 + # 2/3 Fix compatibility with pytest 6. Will be part of the next release after 18.6 28 + (fetchpatch { 29 + url = "https://github.com/cherrypy/cherrypy/pull/1897/commits/4a6287b73539adcb7b0ae72d69644a1ced1f7eaa.patch"; 30 + sha256 = "0nz40qmgxknkbjsdzfzcqfxdsmsxx3v104fb0h04yvs76mqvw3i4"; 31 + }) 32 + # 3/3 Fix compatibility with pytest 6. Will be part of the next release after 18.6 33 + (fetchpatch { 34 + url = "https://github.com/cherrypy/cherrypy/commit/3bae7f06868553b006915f05ff14d86163f59a7d.patch"; 35 + sha256 = "1z0bv23ybyw87rf1i8alsdi3gc2bzmdj9d0kjsghdkvi3zdp4n8q"; 36 + }) 37 + ]; 38 + 39 + nativeBuildInputs = [ setuptools_scm ]; 40 + 41 propagatedBuildInputs = [ 42 # required 43 cheroot portend more-itertools zc_lockfile ··· 45 # optional 46 routes 47 ]; 48 49 checkInputs = [ 50 objgraph pytest pytestcov pathpy requests_toolbelt pytest-services
+14 -3
pkgs/development/python-modules/cypari2/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , python 4 , fetchPypi 5 , pari 6 , gmp ··· 11 buildPythonPackage rec { 12 pname = "cypari2"; 13 # upgrade may break sage, please test the sage build or ping @timokau on upgrade 14 - version = "2.1.1"; 15 16 src = fetchPypi { 17 inherit pname version; 18 - sha256 = "df1ef62e771ec36e5a456f5fc8b51bc6745b70f0efdd0c7a30c3f0b5f1fb93db"; 19 }; 20 21 # This differs slightly from the default python installPhase in that it pip-installs 22 # "." instead of "*.whl". ··· 48 49 meta = with lib; { 50 description = "Cython bindings for PARI"; 51 - license = licenses.gpl2; 52 maintainers = teams.sage.members; 53 homepage = "https://github.com/defeo/cypari2"; 54 };
··· 1 { lib 2 , buildPythonPackage 3 , python 4 + , fetchpatch 5 , fetchPypi 6 , pari 7 , gmp ··· 12 buildPythonPackage rec { 13 pname = "cypari2"; 14 # upgrade may break sage, please test the sage build or ping @timokau on upgrade 15 + version = "2.1.2"; 16 17 src = fetchPypi { 18 inherit pname version; 19 + sha256 = "03cd45edab8716ebbfdb754e65fea72e873c73dc91aec098fe4a01e35324ac7a"; 20 }; 21 + 22 + patches = [ 23 + # patch to avoid some segfaults in sage's totallyreal.pyx test. 24 + # (https://trac.sagemath.org/ticket/27267). depends on Cython patch. 25 + (fetchpatch { 26 + name = "use-trashcan-for-gen.patch"; 27 + url = "https://git.sagemath.org/sage.git/plain/build/pkgs/cypari/patches/trashcan.patch?id=b6ea17ef8e4d652de0a85047bac8d41e90b25555"; 28 + sha256 = "sha256-w4kktWb9/aR9z4CjrUvAMOxEwRN2WkubaKzQttN8rU8="; 29 + }) 30 + ]; 31 32 # This differs slightly from the default python installPhase in that it pip-installs 33 # "." instead of "*.whl". ··· 59 60 meta = with lib; { 61 description = "Cython bindings for PARI"; 62 + license = licenses.gpl2Plus; 63 maintainers = teams.sage.members; 64 homepage = "https://github.com/defeo/cypari2"; 65 };
+2 -13
pkgs/development/python-modules/cysignals/default.nix
··· 1 { lib 2 - , fetchpatch 3 , fetchPypi 4 , buildPythonPackage 5 , cython ··· 10 11 buildPythonPackage rec { 12 pname = "cysignals"; 13 - version = "1.10.2"; 14 15 src = fetchPypi { 16 inherit pname version; 17 - sha256 = "1ckxzch3wk5cg80mppky5jib5z4fzslny3001r5zg4ar1ixbc1w1"; 18 }; 19 - 20 - patches = [ 21 - # fixes intermittent crashes in Sage tests (including in interfaces/singular.py) 22 - # will be included in cysignals 1.10.3: https://github.com/sagemath/cysignals/pull/127 23 - (fetchpatch { 24 - name = "fix-verify_exc_value.patch"; 25 - url = "https://github.com/sagemath/cysignals/commit/49a7eee4bba3ab8f340cf56c371fa4f5ed702dcc.patch"; 26 - sha256 = "sha256-Pfc5tL9VDSP6ftDoHoIb+MDi5rjYqr0PRfIajFuuYVs="; 27 - }) 28 - ]; 29 30 # explicit check: 31 # build/src/cysignals/implementation.c:27:2: error: #error "cysignals must be compiled without _FORTIFY_SOURCE"
··· 1 { lib 2 , fetchPypi 3 , buildPythonPackage 4 , cython ··· 9 10 buildPythonPackage rec { 11 pname = "cysignals"; 12 + version = "1.10.3"; 13 14 src = fetchPypi { 15 inherit pname version; 16 + sha256 = "sha256-XEYGxDV3UCgxb3Jf23y4lOPK4Lb9L4YqDSlxdIRptDo="; 17 }; 18 19 # explicit check: 20 # build/src/cysignals/implementation.c:27:2: error: #error "cysignals must be compiled without _FORTIFY_SOURCE"
+2 -4
pkgs/development/python-modules/llfuse/default.nix
··· 1 { lib, stdenv, fetchPypi, fetchpatch, buildPythonPackage, pkg-config, pytest, fuse, attr, which 2 - , contextlib2, macfuse-stubs, DiskArbitration 3 }: 4 5 buildPythonPackage rec { ··· 21 22 nativeBuildInputs = [ pkg-config ]; 23 24 - buildInputs = 25 - lib.optionals stdenv.isLinux [ fuse ] 26 - ++ lib.optionals stdenv.isDarwin [ DiskArbitration macfuse-stubs ]; 27 28 checkInputs = [ pytest which ] ++ 29 lib.optionals stdenv.isLinux [ attr ];
··· 1 { lib, stdenv, fetchPypi, fetchpatch, buildPythonPackage, pkg-config, pytest, fuse, attr, which 2 + , contextlib2 3 }: 4 5 buildPythonPackage rec { ··· 21 22 nativeBuildInputs = [ pkg-config ]; 23 24 + buildInputs = [ fuse ]; 25 26 checkInputs = [ pytest which ] ++ 27 lib.optionals stdenv.isLinux [ attr ];
+2
pkgs/development/python-modules/piep/default.nix
··· 3 , fetchPypi 4 , nose 5 , pygments 6 }: 7 8 buildPythonPackage rec { 9 version = "0.9.2"; 10 pname = "piep"; 11 12 src = fetchPypi { 13 inherit pname version;
··· 3 , fetchPypi 4 , nose 5 , pygments 6 + , isPy3k 7 }: 8 9 buildPythonPackage rec { 10 version = "0.9.2"; 11 pname = "piep"; 12 + disabled = isPy3k; 13 14 src = fetchPypi { 15 inherit pname version;
+7 -7
pkgs/development/python-modules/pypykatz/default.nix
··· 1 { lib 2 , aiowinreg 3 , buildPythonPackage 4 - , fetchFromGitHub 5 , minidump 6 , minikerberos 7 , msldap ··· 10 11 buildPythonPackage rec { 12 pname = "pypykatz"; 13 - version = "0.4.3"; 14 15 - src = fetchFromGitHub { 16 - owner = "skelsec"; 17 - repo = pname; 18 - rev = version; 19 - sha256 = "sha256-ows6zJyygdAwgKNKKCURWX+kl42f3CN23/xZrLjkfrw="; 20 }; 21 22 propagatedBuildInputs = [ 23 aiowinreg 24 minikerberos 25 msldap
··· 1 { lib 2 + , aiosmb 3 , aiowinreg 4 , buildPythonPackage 5 + , fetchPypi 6 , minidump 7 , minikerberos 8 , msldap ··· 11 12 buildPythonPackage rec { 13 pname = "pypykatz"; 14 + version = "0.4.7"; 15 16 + src = fetchPypi { 17 + inherit pname version; 18 + sha256 = "0il5sj47wyf9gn76alm8v1l63rqw2vsd27v6f7q1dpn0wq209syi"; 19 }; 20 21 propagatedBuildInputs = [ 22 + aiosmb 23 aiowinreg 24 minikerberos 25 msldap
+10 -2
pkgs/development/python-modules/pyxnat/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 - , isPy27 5 , nose 6 , lxml 7 , requests ··· 10 buildPythonPackage rec { 11 pname = "pyxnat"; 12 version = "1.4"; 13 - disabled = isPy27; 14 15 src = fetchPypi { 16 inherit pname version; ··· 18 }; 19 20 propagatedBuildInputs = [ lxml requests ]; 21 22 checkInputs = [ nose ]; 23 checkPhase = "nosetests pyxnat/tests";
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , pythonOlder 5 , nose 6 , lxml 7 , requests ··· 10 buildPythonPackage rec { 11 pname = "pyxnat"; 12 version = "1.4"; 13 + disabled = pythonOlder "3.7"; 14 15 src = fetchPypi { 16 inherit pname version; ··· 18 }; 19 20 propagatedBuildInputs = [ lxml requests ]; 21 + 22 + # future is not used, and pathlib is installed part of python38+ 23 + # w/o an external package 24 + prePatch = '' 25 + substituteInPlace setup.py \ 26 + --replace "pathlib>=1.0" "" \ 27 + --replace "future>=0.16" "" 28 + ''; 29 30 checkInputs = [ nose ]; 31 checkPhase = "nosetests pyxnat/tests";
+36
pkgs/development/python-modules/solaredge/default.nix
···
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , python-dateutil 5 + , pythonOlder 6 + , pytz 7 + , requests 8 + }: 9 + 10 + buildPythonPackage rec { 11 + pname = "solaredge"; 12 + version = "0.0.4"; 13 + disabled = pythonOlder "3.7"; 14 + 15 + src = fetchPypi { 16 + inherit pname version; 17 + sha256 = "0q4gib0l3qnlpncg84ki027vr1apjlr47vd6845rpk7zkm8lqgfz"; 18 + }; 19 + 20 + propagatedBuildInputs = [ 21 + python-dateutil 22 + pytz 23 + requests 24 + ]; 25 + 26 + # Project has no tests 27 + doCheck = false; 28 + pythonImportsCheck = [ "solaredge" ]; 29 + 30 + meta = with lib; { 31 + description = "Python wrapper for Solaredge monitoring service"; 32 + homepage = "https://github.com/bertouttier/solaredge"; 33 + license = with licenses; [ mit ]; 34 + maintainers = with maintainers; [ fab ]; 35 + }; 36 + }
+3 -3
pkgs/games/multimc/default.nix
··· 5 libpath = with xorg; lib.makeLibraryPath [ libX11 libXext libXcursor libXrandr libXxf86vm libpulseaudio libGL ]; 6 in mkDerivation rec { 7 pname = "multimc"; 8 - version = "unstable-2021-01-17"; 9 src = fetchFromGitHub { 10 owner = "MultiMC"; 11 repo = "MultiMC5"; 12 - rev = "02887536f773643313f15442fc82cebf616da54a"; 13 - sha256 = "1aykvavcv415lq488hx4ig2a79g5a561jg92gw14fb964r43782i"; 14 fetchSubmodules = true; 15 }; 16 nativeBuildInputs = [ cmake file makeWrapper ];
··· 5 libpath = with xorg; lib.makeLibraryPath [ libX11 libXext libXcursor libXrandr libXxf86vm libpulseaudio libGL ]; 6 in mkDerivation rec { 7 pname = "multimc"; 8 + version = "0.6.12"; 9 src = fetchFromGitHub { 10 owner = "MultiMC"; 11 repo = "MultiMC5"; 12 + rev = version; 13 + sha256 = "h2T023vrqemWhHiA2/gFleuUhIOucjwTgoExliFiYig="; 14 fetchSubmodules = true; 15 }; 16 nativeBuildInputs = [ cmake file makeWrapper ];
+7 -1
pkgs/os-specific/darwin/macfuse/default.nix
··· 1 - { lib, stdenv, fetchurl, cpio, xar, undmg, libtapi }: 2 3 stdenv.mkDerivation rec { 4 pname = "macfuse-stubs"; ··· 10 }; 11 12 nativeBuildInputs = [ cpio xar undmg libtapi ]; 13 14 postUnpack = '' 15 xar -xf 'Install macFUSE.pkg' ··· 40 meta = with lib; { 41 homepage = "https://osxfuse.github.io"; 42 description = "Build time stubs for FUSE on macOS"; 43 platforms = platforms.darwin; 44 maintainers = with maintainers; [ midchildan ]; 45
··· 1 + { lib, stdenv, fetchurl, cpio, xar, undmg, libtapi, DiskArbitration }: 2 3 stdenv.mkDerivation rec { 4 pname = "macfuse-stubs"; ··· 10 }; 11 12 nativeBuildInputs = [ cpio xar undmg libtapi ]; 13 + propagatedBuildInputs = [ DiskArbitration ]; 14 15 postUnpack = '' 16 xar -xf 'Install macFUSE.pkg' ··· 41 meta = with lib; { 42 homepage = "https://osxfuse.github.io"; 43 description = "Build time stubs for FUSE on macOS"; 44 + longDescription = '' 45 + macFUSE is required for this package to work on macOS. To install macFUSE, 46 + use the installer from the <link xlink:href="https://osxfuse.github.io/"> 47 + project website</link>. 48 + ''; 49 platforms = platforms.darwin; 50 maintainers = with maintainers; [ midchildan ]; 51
+1 -1
pkgs/servers/home-assistant/component-packages.nix
··· 766 "snmp" = ps: with ps; [ pysnmp ]; 767 "sochain" = ps: with ps; [ ]; # missing inputs: python-sochain-api 768 "socialblade" = ps: with ps; [ ]; # missing inputs: socialbladeclient 769 - "solaredge" = ps: with ps; [ stringcase ]; # missing inputs: solaredge 770 "solaredge_local" = ps: with ps; [ ]; # missing inputs: solaredge-local 771 "solarlog" = ps: with ps; [ ]; # missing inputs: sunwatcher 772 "solax" = ps: with ps; [ solax ];
··· 766 "snmp" = ps: with ps; [ pysnmp ]; 767 "sochain" = ps: with ps; [ ]; # missing inputs: python-sochain-api 768 "socialblade" = ps: with ps; [ ]; # missing inputs: socialbladeclient 769 + "solaredge" = ps: with ps; [ solaredge stringcase ]; 770 "solaredge_local" = ps: with ps; [ ]; # missing inputs: solaredge-local 771 "solarlog" = ps: with ps; [ ]; # missing inputs: sunwatcher 772 "solax" = ps: with ps; [ solax ];
+1
pkgs/servers/home-assistant/default.nix
··· 298 "sensor" 299 "smarttub" 300 "smtp" 301 "sql" 302 "ssdp" 303 "stream"
··· 298 "sensor" 299 "smarttub" 300 "smtp" 301 + "solaredge" 302 "sql" 303 "ssdp" 304 "stream"
+3 -3
pkgs/servers/rtsp-simple-server/default.nix
··· 5 6 buildGoModule rec { 7 pname = "rtsp-simple-server"; 8 - version = "0.15.0"; 9 10 src = fetchFromGitHub { 11 owner = "aler9"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-U0wZ0NrvCQjMLDDjO6Jf6uu5FlHar7Td2zhoU2+MMkM="; 15 }; 16 17 - vendorSha256 = "sha256-dfAuq4iw3NQ4xaabPv7MQ88CYXgivRBeyvbmJ3SSjbI="; 18 19 # Tests need docker 20 doCheck = false;
··· 5 6 buildGoModule rec { 7 pname = "rtsp-simple-server"; 8 + version = "0.15.1"; 9 10 src = fetchFromGitHub { 11 owner = "aler9"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-uahgIphp2/iE11v33sPNrm0evz6dQvzjEQ9uMVEuTTI="; 15 }; 16 17 + vendorSha256 = "sha256-nAeP9ZmYu5VPKR628aJVNS8t41V/AYkgwOcO/d0nQv4="; 18 19 # Tests need docker 20 doCheck = false;
+2 -2
pkgs/servers/web-apps/wordpress/default.nix
··· 2 3 stdenv.mkDerivation rec { 4 pname = "wordpress"; 5 - version = "5.5.3"; 6 7 src = fetchurl { 8 url = "https://wordpress.org/${pname}-${version}.tar.gz"; 9 - sha256 = "sTkmdr9Mulw7XwNEMJBU81rwNV/agNpBjCznGuObrtQ="; 10 }; 11 12 installPhase = ''
··· 2 3 stdenv.mkDerivation rec { 4 pname = "wordpress"; 5 + version = "5.6.2"; 6 7 src = fetchurl { 8 url = "https://wordpress.org/${pname}-${version}.tar.gz"; 9 + sha256 = "sha256-W9/U3i6jALXolDFraiI/a+PNPoNHim0rZHzaqSy4gkI="; 10 }; 11 12 installPhase = ''
+13 -18
pkgs/tools/archivers/rpm2targz/default.nix
··· 10 , zstd 11 }: 12 13 - let 14 - shdeps = [ 15 - bzip2 16 - coreutils 17 - cpio 18 - gnutar 19 - gzip 20 - xz 21 - zstd 22 - ]; 23 - 24 - in stdenv.mkDerivation rec { 25 pname = "rpm2targz"; 26 version = "2021.03.16"; 27 ··· 31 hash = "sha256-rcV+o9V2wWKznqSW2rA8xgnpQ02kpK4te6mYvLRC5vQ="; 32 }; 33 34 - buildInputs = shdeps; 35 - 36 - postPatch = '' 37 substituteInPlace rpm2targz --replace "=\"rpmoffset\"" "=\"$out/bin/rpmoffset\"" 38 # rpm2targz relies on the executable name 39 # to guess what compressor it should use ··· 41 sed -i -e '2iexport PATH="${lib.makeBinPath shdeps}"' rpm2targz 42 ''; 43 44 - preBuild = '' 45 - makeFlagsArray+=(prefix=$out) 46 - ''; 47 48 meta = with lib; { 49 description = "Convert a .rpm file to a .tar.gz archive";
··· 10 , zstd 11 }: 12 13 + stdenv.mkDerivation rec { 14 pname = "rpm2targz"; 15 version = "2021.03.16"; 16 ··· 20 hash = "sha256-rcV+o9V2wWKznqSW2rA8xgnpQ02kpK4te6mYvLRC5vQ="; 21 }; 22 23 + postPatch = let 24 + shdeps = [ 25 + bzip2 26 + coreutils 27 + cpio 28 + gnutar 29 + gzip 30 + xz 31 + zstd 32 + ]; 33 + in '' 34 substituteInPlace rpm2targz --replace "=\"rpmoffset\"" "=\"$out/bin/rpmoffset\"" 35 # rpm2targz relies on the executable name 36 # to guess what compressor it should use ··· 38 sed -i -e '2iexport PATH="${lib.makeBinPath shdeps}"' rpm2targz 39 ''; 40 41 + installFlags = [ "prefix=$(out)" ]; 42 43 meta = with lib; { 44 description = "Convert a .rpm file to a .tar.gz archive";
+2 -4
pkgs/tools/filesystems/bindfs/default.nix
··· 1 - { lib, stdenv, fetchurl, fuse, pkg-config, macfuse-stubs }: 2 3 stdenv.mkDerivation rec { 4 version = "1.15.1"; ··· 10 }; 11 12 nativeBuildInputs = [ pkg-config ]; 13 - buildInputs = if stdenv.isDarwin 14 - then [ macfuse-stubs ] 15 - else [ fuse ]; 16 postFixup = '' 17 ln -s $out/bin/bindfs $out/bin/mount.fuse.bindfs 18 '';
··· 1 + { lib, stdenv, fetchurl, fuse, pkg-config }: 2 3 stdenv.mkDerivation rec { 4 version = "1.15.1"; ··· 10 }; 11 12 nativeBuildInputs = [ pkg-config ]; 13 + buildInputs = [ fuse ]; 14 postFixup = '' 15 ln -s $out/bin/bindfs $out/bin/mount.fuse.bindfs 16 '';
+2 -4
pkgs/tools/filesystems/s3fs/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, curl, openssl, libxml2, fuse, macfuse-stubs }: 2 3 stdenv.mkDerivation rec { 4 pname = "s3fs-fuse"; ··· 11 sha256 = "sha256-Agb0tq7B98Ioe0G/XEZCYcFQKnMuYXX9x0yg4Gvu3/k="; 12 }; 13 14 - buildInputs = [ curl openssl libxml2 ] 15 - ++ lib.optionals stdenv.isLinux [ fuse ] 16 - ++ lib.optionals stdenv.isDarwin [ macfuse-stubs ]; 17 nativeBuildInputs = [ autoreconfHook pkg-config ]; 18 19 configureFlags = [
··· 1 + { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, curl, openssl, libxml2, fuse }: 2 3 stdenv.mkDerivation rec { 4 pname = "s3fs-fuse"; ··· 11 sha256 = "sha256-Agb0tq7B98Ioe0G/XEZCYcFQKnMuYXX9x0yg4Gvu3/k="; 12 }; 13 14 + buildInputs = [ curl openssl libxml2 fuse ]; 15 nativeBuildInputs = [ autoreconfHook pkg-config ]; 16 17 configureFlags = [
+3 -3
pkgs/tools/filesystems/unionfs-fuse/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, cmake, fuse, macfuse-stubs }: 2 3 stdenv.mkDerivation rec { 4 pname = "unionfs-fuse"; ··· 21 22 postPatch = lib.optionalString stdenv.isDarwin '' 23 substituteInPlace CMakeLists.txt \ 24 - --replace '/usr/local/include/osxfuse/fuse' '${macfuse-stubs}/include/fuse' 25 ''; 26 27 nativeBuildInputs = [ cmake ]; 28 - buildInputs = [ (if stdenv.isDarwin then macfuse-stubs else fuse) ]; 29 30 # Put the unionfs mount helper in place as mount.unionfs-fuse. This makes it 31 # possible to do:
··· 1 + { lib, stdenv, fetchFromGitHub, cmake, fuse }: 2 3 stdenv.mkDerivation rec { 4 pname = "unionfs-fuse"; ··· 21 22 postPatch = lib.optionalString stdenv.isDarwin '' 23 substituteInPlace CMakeLists.txt \ 24 + --replace '/usr/local/include/osxfuse/fuse' '${fuse}/include/fuse' 25 ''; 26 27 nativeBuildInputs = [ cmake ]; 28 + buildInputs = [ fuse ]; 29 30 # Put the unionfs mount helper in place as mount.unionfs-fuse. This makes it 31 # possible to do:
+4 -4
pkgs/tools/misc/tfk8s/default.nix
··· 2 3 buildGoModule rec { 4 pname = "tfk8s"; 5 - version = "0.1.0"; 6 7 src = fetchFromGitHub { 8 owner = "jrhouston"; 9 repo = "tfk8s"; 10 - rev = version; 11 - sha256 = "sha256-JzTWbkICOIfsHgMvpXz4bIWaXKKDAD8INSorMvnXiBw="; 12 }; 13 14 - vendorSha256 = "sha256-r0c3y+nRc/hCTAT31DasQjxZN86BT8jnJmsLM7Ugrq4="; 15 runVend = true; 16 17 buildFlagsArray = [
··· 2 3 buildGoModule rec { 4 pname = "tfk8s"; 5 + version = "0.1.2"; 6 7 src = fetchFromGitHub { 8 owner = "jrhouston"; 9 repo = "tfk8s"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-gszvWetreafIP9I8hi9zz24TOTSsGzDsm/vXJS6n4Q4="; 12 }; 13 14 + vendorSha256 = "sha256-wS5diDQFkt8IAp13d8Yeh8ihLvKWdR0Mbw0fMZpqqKE="; 15 runVend = true; 16 17 buildFlagsArray = [
+2 -2
pkgs/tools/misc/youtube-dl/default.nix
··· 18 # The websites youtube-dl deals with are a very moving target. That means that 19 # downloads break constantly. Because of that, updates should always be backported 20 # to the latest stable release. 21 - version = "2021.03.14"; 22 23 src = fetchurl { 24 url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz"; 25 - sha256 = "1bh74f9q6dv17ah5x8zcxw03dq6jbh959xd39kw374cf9ifrgnd3"; 26 }; 27 28 nativeBuildInputs = [ installShellFiles makeWrapper ];
··· 18 # The websites youtube-dl deals with are a very moving target. That means that 19 # downloads break constantly. Because of that, updates should always be backported 20 # to the latest stable release. 21 + version = "2021.03.25"; 22 23 src = fetchurl { 24 url = "https://yt-dl.org/downloads/${version}/${pname}-${version}.tar.gz"; 25 + sha256 = "0ps8ydx4hbj6sl0m760zdm9pvhccjmwvx680i4akz3lk4z9wy0x3"; 26 }; 27 28 nativeBuildInputs = [ installShellFiles makeWrapper ];
+3 -3
pkgs/tools/networking/minio-client/default.nix
··· 2 3 buildGoModule rec { 4 pname = "minio-client"; 5 - version = "2021-03-12T03-36-59Z"; 6 7 src = fetchFromGitHub { 8 owner = "minio"; 9 repo = "mc"; 10 rev = "RELEASE.${version}"; 11 - sha256 = "sha256-aIJjr7KaT4E4Q1Ho4D0emduJWFxdCXCodq7J43r0DMQ="; 12 }; 13 14 - vendorSha256 = "sha256-aoRdtv/Q7vjn0M7iSYAuyu/3pEH30x6D39xTHqQPvuo="; 15 16 doCheck = false; 17
··· 2 3 buildGoModule rec { 4 pname = "minio-client"; 5 + version = "2021-03-23T05-46-11Z"; 6 7 src = fetchFromGitHub { 8 owner = "minio"; 9 repo = "mc"; 10 rev = "RELEASE.${version}"; 11 + sha256 = "sha256-AtE9Zy8tRvcE+gYc0pqJDEFnXL4jSbJ4b6l3ZOe69Y4="; 12 }; 13 14 + vendorSha256 = "sha256-cIr8d5jz4EfBFuOBZG4Kz20wSXy1Cni77V+JR6vLHwQ="; 15 16 doCheck = false; 17
+2 -2
pkgs/tools/networking/zs-apc-spdu-ctl/default.nix
··· 20 }; 21 22 nativeBuildInputs = [ cmake ]; 23 - buildInputs = [ fping libowlevelzs net-snmp ]; 24 25 postPatch = '' 26 substituteInPlace src/confent.cxx \ 27 - --replace /usr/sbin/fping "${lib.makeBinPath [fping]}/fping" 28 ''; 29 30 meta = with lib; {
··· 20 }; 21 22 nativeBuildInputs = [ cmake ]; 23 + buildInputs = [ libowlevelzs net-snmp ]; 24 25 postPatch = '' 26 substituteInPlace src/confent.cxx \ 27 + --replace /usr/sbin/fping "${fping}/bin/fping" 28 ''; 29 30 meta = with lib; {
+1 -3
pkgs/tools/networking/zs-wait4host/default.nix
··· 1 - { bash, coreutils, fetchurl, fping, lib, stdenvNoCC }: 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "zs-wait4host"; ··· 8 url = "https://ytrizja.de/distfiles/${pname}-${version}.tar.gz"; 9 sha256 = "9F1264BDoGlRR7bWlRXhfyvxWio4ydShKmabUQEIz9I="; 10 }; 11 - 12 - buildInputs = [ bash coreutils fping ]; 13 14 postPatch = '' 15 for i in zs-wait4host zs-wait4host-inf; do
··· 1 + { coreutils, fetchurl, fping, lib, stdenvNoCC }: 2 3 stdenvNoCC.mkDerivation rec { 4 pname = "zs-wait4host"; ··· 8 url = "https://ytrizja.de/distfiles/${pname}-${version}.tar.gz"; 9 sha256 = "9F1264BDoGlRR7bWlRXhfyvxWio4ydShKmabUQEIz9I="; 10 }; 11 12 postPatch = '' 13 for i in zs-wait4host zs-wait4host-inf; do
+8 -2
pkgs/tools/package-management/nix/default.nix
··· 10 11 common = 12 { lib, stdenv, perl, curl, bzip2, sqlite, openssl ? null, xz 13 - , bash, coreutils, gzip, gnutar 14 , pkg-config, boehmgc, perlPackages, libsodium, brotli, boost, editline, nlohmann_json 15 , autoreconfHook, autoconf-archive, bison, flex 16 , jq, libarchive, libcpuid ··· 41 42 nativeBuildInputs = 43 [ pkg-config ] 44 ++ lib.optionals is24 45 [ autoreconfHook 46 autoconf-archive ··· 139 doInstallCheck = true; # not cross 140 141 # socket path becomes too long otherwise 142 - preInstallCheck = lib.optional stdenv.isDarwin '' 143 export TMPDIR=$NIX_BUILD_TOP 144 ''; 145 146 separateDebugInfo = stdenv.isLinux;
··· 10 11 common = 12 { lib, stdenv, perl, curl, bzip2, sqlite, openssl ? null, xz 13 + , bash, coreutils, util-linuxMinimal, gzip, gnutar 14 , pkg-config, boehmgc, perlPackages, libsodium, brotli, boost, editline, nlohmann_json 15 , autoreconfHook, autoconf-archive, bison, flex 16 , jq, libarchive, libcpuid ··· 41 42 nativeBuildInputs = 43 [ pkg-config ] 44 + ++ lib.optionals (is24 && stdenv.isLinux) [ util-linuxMinimal ] 45 ++ lib.optionals is24 46 [ autoreconfHook 47 autoconf-archive ··· 140 doInstallCheck = true; # not cross 141 142 # socket path becomes too long otherwise 143 + preInstallCheck = lib.optionalString stdenv.isDarwin '' 144 export TMPDIR=$NIX_BUILD_TOP 145 + '' + 146 + # tests/ca/substitute.sh is flakey for some reason, so we skip it 147 + # for now. https://github.com/NixOS/nix/issues/4667 148 + lib.optionalString is24 '' 149 + echo "exit 99" > tests/ca/substitute.sh 150 ''; 151 152 separateDebugInfo = stdenv.isLinux;
+3 -3
pkgs/tools/security/nuclei/default.nix
··· 5 6 buildGoModule rec { 7 pname = "nuclei"; 8 - version = "2.3.1"; 9 10 src = fetchFromGitHub { 11 owner = "projectdiscovery"; 12 repo = pname; 13 rev = "v${version}"; 14 - sha256 = "sha256-NM/Ggd5MKctQKE0MNawyE+Xciuj9++6DXXkMrrpfkhA="; 15 }; 16 17 - vendorSha256 = "sha256-h+MuMfIKXgXzLU6hNMxfPXawic9UZrwzVlzjjRF7X3o="; 18 19 preBuild = '' 20 mv v2/* .
··· 5 6 buildGoModule rec { 7 pname = "nuclei"; 8 + version = "2.3.2"; 9 10 src = fetchFromGitHub { 11 owner = "projectdiscovery"; 12 repo = pname; 13 rev = "v${version}"; 14 + sha256 = "sha256-QF9w3ZrW+Mbl6EOC1n2848+q71AhxXTf0j//Us9L1r8="; 15 }; 16 17 + vendorSha256 = "sha256-qmuua7HXnwuy24CSqHKALqNDmXBvSIXYTVu3kaGVoeU="; 18 19 preBuild = '' 20 mv v2/* .
+3 -3
pkgs/tools/security/prs/default.nix
··· 12 13 rustPlatform.buildRustPackage rec { 14 pname = "prs"; 15 - version = "0.2.4"; 16 17 src = fetchFromGitLab { 18 owner = "timvisee"; 19 repo = "prs"; 20 rev = "v${version}"; 21 - sha256 = "sha256-8rISyZdxxGqpZlOc4ziY33tMRK/w4fiTVCiK5RVBDvw="; 22 }; 23 24 - cargoSha256 = "sha256-sxYm6uNTvBZsjzHywduq0fhnqZMbECLqxq8yg3ZxtVU="; 25 26 postPatch = '' 27 # The GPGME backend is recommended
··· 12 13 rustPlatform.buildRustPackage rec { 14 pname = "prs"; 15 + version = "0.2.5"; 16 17 src = fetchFromGitLab { 18 owner = "timvisee"; 19 repo = "prs"; 20 rev = "v${version}"; 21 + sha256 = "sha256-XJcNhIMu60H5LmoRzMqhPq33cCU9PBPfIIUtaSnmrH8="; 22 }; 23 24 + cargoSha256 = "sha256-4l/KQMtGfZX5Rg35AJxvwzg3aAzuPK2iKrHDRgIw+bg="; 25 26 postPatch = '' 27 # The GPGME backend is recommended
+3 -5
pkgs/tools/text/zstxtns-utils/default.nix
··· 1 - { bash 2 - , coreutils 3 , fetchurl 4 , gnugrep 5 , lib ··· 18 }; 19 20 nativeBuildInputs = [ makeWrapper ]; 21 - buildInputs = [ bash coreutils gnugrep moreutils ]; 22 23 installPhase = '' 24 runHook preInstall ··· 27 ''; 28 29 postInstall = '' 30 - wrapProgram $out/bin/zstxtns-merge --prefix PATH ":" "${lib.makeBinPath [coreutils gnugrep moreutils]}" 31 - wrapProgram $out/bin/zstxtns-unmerge --prefix PATH ":" "${lib.makeBinPath [coreutils gnugrep]}" 32 ''; 33 34 meta = with lib; {
··· 1 + { coreutils 2 , fetchurl 3 , gnugrep 4 , lib ··· 17 }; 18 19 nativeBuildInputs = [ makeWrapper ]; 20 21 installPhase = '' 22 runHook preInstall ··· 25 ''; 26 27 postInstall = '' 28 + wrapProgram $out/bin/zstxtns-merge --set PATH "${lib.makeBinPath [coreutils gnugrep moreutils]}" 29 + wrapProgram $out/bin/zstxtns-unmerge --set PATH "${lib.makeBinPath [coreutils gnugrep]}" 30 ''; 31 32 meta = with lib; {
+2 -1
pkgs/top-level/all-packages.nix
··· 19288 fusePackages = dontRecurseIntoAttrs (callPackage ../os-specific/linux/fuse { 19289 util-linux = util-linuxMinimal; 19290 }); 19291 - fuse = lowPrio fusePackages.fuse_2; 19292 fuse3 = fusePackages.fuse_3; 19293 fuse-common = hiPrio fusePackages.fuse_3.common; 19294 ··· 19427 19428 macfuse-stubs = callPackage ../os-specific/darwin/macfuse { 19429 inherit (darwin) libtapi; 19430 }; 19431 19432 osxsnarf = callPackage ../os-specific/darwin/osxsnarf { };
··· 19288 fusePackages = dontRecurseIntoAttrs (callPackage ../os-specific/linux/fuse { 19289 util-linux = util-linuxMinimal; 19290 }); 19291 + fuse = lowPrio (if stdenv.isDarwin then macfuse-stubs else fusePackages.fuse_2); 19292 fuse3 = fusePackages.fuse_3; 19293 fuse-common = hiPrio fusePackages.fuse_3.common; 19294 ··· 19427 19428 macfuse-stubs = callPackage ../os-specific/darwin/macfuse { 19429 inherit (darwin) libtapi; 19430 + inherit (darwin.apple_sdk.frameworks) DiskArbitration; 19431 }; 19432 19433 osxsnarf = callPackage ../os-specific/darwin/osxsnarf { };
+4 -1
pkgs/top-level/python-packages.nix
··· 325 326 aioshelly = callPackage ../development/python-modules/aioshelly { }; 327 328 aiosmtpd = callPackage ../development/python-modules/aiosmtpd { }; 329 330 aiosqlite = callPackage ../development/python-modules/aiosqlite { }; ··· 3979 3980 llfuse = callPackage ../development/python-modules/llfuse { 3981 inherit (pkgs) fuse; 3982 - inherit (pkgs.darwin.apple_sdk.frameworks) DiskArbitration; 3983 }; 3984 3985 llvmlite = callPackage ../development/python-modules/llvmlite { ··· 7781 soco = callPackage ../development/python-modules/soco { }; 7782 7783 softlayer = callPackage ../development/python-modules/softlayer { }; 7784 7785 solax = callPackage ../development/python-modules/solax { }; 7786
··· 325 326 aioshelly = callPackage ../development/python-modules/aioshelly { }; 327 328 + aiosmb = callPackage ../development/python-modules/aiosmb { }; 329 + 330 aiosmtpd = callPackage ../development/python-modules/aiosmtpd { }; 331 332 aiosqlite = callPackage ../development/python-modules/aiosqlite { }; ··· 3981 3982 llfuse = callPackage ../development/python-modules/llfuse { 3983 inherit (pkgs) fuse; 3984 }; 3985 3986 llvmlite = callPackage ../development/python-modules/llvmlite { ··· 7782 soco = callPackage ../development/python-modules/soco { }; 7783 7784 softlayer = callPackage ../development/python-modules/softlayer { }; 7785 + 7786 + solaredge = callPackage ../development/python-modules/solaredge { }; 7787 7788 solax = callPackage ../development/python-modules/solax { }; 7789