nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

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

Merge master into staging-next

authored by

github-actions[bot] and committed by
GitHub
1c99cc57 4e9e7267

+1214 -360
+1 -1
doc/languages-frameworks/perl.section.md
··· 122 122 }; 123 123 124 124 buildInputs = lib.optional stdenv.isDarwin shortenPerlShebang; 125 - postInstall = lib.optional stdenv.isDarwin '' 125 + postInstall = lib.optionalString stdenv.isDarwin '' 126 126 shortenPerlShebang $out/bin/exiftool 127 127 ''; 128 128 };
+11 -1
maintainers/maintainer-list.nix
··· 4247 4247 githubId = 147689; 4248 4248 name = "Hans-Christian Esperer"; 4249 4249 }; 4250 + hdhog = { 4251 + name = "Serg Larchenko"; 4252 + email = "hdhog@hdhog.ru"; 4253 + github = "hdhog"; 4254 + githubId = 386666; 4255 + keys = [{ 4256 + longkeyid = "rsa496/952EACB76703BA63"; 4257 + fingerprint = "A25F 6321 AAB4 4151 4085 9924 952E ACB7 6703 BA63"; 4258 + }]; 4259 + }; 4250 4260 hectorj = { 4251 4261 email = "hector.jusforgues+nixos@gmail.com"; 4252 4262 github = "hectorj"; ··· 5368 5358 }; 5369 5359 juaningan = { 5370 5360 email = "juaningan@gmail.com"; 5371 - github = "juaningan"; 5361 + github = "uningan"; 5372 5362 githubId = 810075; 5373 5363 name = "Juan Rodal"; 5374 5364 };
+8
nixos/doc/manual/from_md/release-notes/rl-2111.section.xml
··· 882 882 </listitem> 883 883 <listitem> 884 884 <para> 885 + <literal>qtile</literal> hase been updated from 886 + <quote>0.16.0</quote> to <quote>0.18.0</quote>, please check 887 + <link xlink:href="https://github.com/qtile/qtile/blob/master/CHANGELOG">qtile 888 + changelog</link> for changes. 889 + </para> 890 + </listitem> 891 + <listitem> 892 + <para> 885 893 The <literal>claws-mail</literal> package now references the 886 894 new GTK+ 3 release branch, major version 4. To use the GTK+ 2 887 895 releases, one can install the
+2
nixos/doc/manual/release-notes/rl-2111.section.md
··· 254 254 255 255 - `python3` now defaults to Python 3.9. Python 3.9 introduces many deprecation warnings, please look at the [What's New In Python 3.9 post](https://docs.python.org/3/whatsnew/3.9.html) for more information. 256 256 257 + - `qtile` hase been updated from '0.16.0' to '0.18.0', please check [qtile changelog](https://github.com/qtile/qtile/blob/master/CHANGELOG) for changes. 258 + 257 259 - The `claws-mail` package now references the new GTK+ 3 release branch, major version 4. To use the GTK+ 2 releases, one can install the `claws-mail-gtk2` package. 258 260 259 261 - The wordpress module provides a new interface which allows to use different webservers with the new option [`services.wordpress.webserver`](options.html#opt-services.wordpress.webserver). Currently `httpd` and `nginx` are supported. The definitions of wordpress sites should now be set in [`services.wordpress.sites`](options.html#opt-services.wordpress.sites).
+1 -1
nixos/modules/services/x11/window-managers/qtile.nix
··· 15 15 services.xserver.windowManager.session = [{ 16 16 name = "qtile"; 17 17 start = '' 18 - ${pkgs.qtile}/bin/qtile & 18 + ${pkgs.qtile}/bin/qtile start & 19 19 waitPID=$! 20 20 ''; 21 21 }];
+1 -1
pkgs/applications/audio/zynaddsubfx/default.nix
··· 91 91 92 92 # When building with zest GUI, patch plugins 93 93 # and standalone executable to properly locate zest 94 - postFixup = lib.optional (guiModule == "zest") '' 94 + postFixup = lib.optionalString (guiModule == "zest") '' 95 95 patchelf --set-rpath "${mruby-zest}:$(patchelf --print-rpath "$out/lib/lv2/ZynAddSubFX.lv2/ZynAddSubFX_ui.so")" \ 96 96 "$out/lib/lv2/ZynAddSubFX.lv2/ZynAddSubFX_ui.so" 97 97
+1 -1
pkgs/applications/blockchains/bitcoin/default.nix
··· 53 53 ++ optionals withWallet [ db48 sqlite ] 54 54 ++ optionals withGui [ qrencode qtbase qttools ]; 55 55 56 - postInstall = optional withGui '' 56 + postInstall = optionalString withGui '' 57 57 install -Dm644 ${desktop} $out/share/applications/bitcoin-qt.desktop 58 58 substituteInPlace $out/share/applications/bitcoin-qt.desktop --replace "Icon=bitcoin128" "Icon=bitcoin" 59 59 install -Dm644 share/pixmaps/bitcoin256.png $out/share/pixmaps/bitcoin.png
+2 -2
pkgs/applications/editors/jetbrains/common.nix
··· 1 1 { stdenv, lib, makeDesktopItem, makeWrapper, patchelf, writeText 2 - , coreutils, gnugrep, which, git, unzip, libsecret, libnotify 2 + , coreutils, gnugrep, which, git, unzip, libsecret, libnotify, e2fsprogs 3 3 , vmopts ? null 4 4 }: 5 5 ··· 78 78 --prefix PATH : "$out/libexec/${name}:${lib.optionalString (stdenv.isDarwin) "${jdk}/jdk/Contents/Home/bin:"}${lib.makeBinPath [ jdk coreutils gnugrep which git ]}" \ 79 79 --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath ([ 80 80 # Some internals want libstdc++.so.6 81 - stdenv.cc.cc.lib libsecret 81 + stdenv.cc.cc.lib libsecret e2fsprogs 82 82 libnotify 83 83 ] ++ extraLdPath)}" \ 84 84 --set JDK_HOME "$jdk" \
+16 -14
pkgs/applications/graphics/dosage/default.nix
··· 1 - { lib, python3Packages, fetchFromGitHub }: 1 + { lib, python3Packages }: 2 2 3 3 python3Packages.buildPythonApplication rec { 4 4 pname = "dosage"; 5 - version = "2018.04.08"; 6 - PBR_VERSION = version; 5 + version = "2.17"; 7 6 8 - src = fetchFromGitHub { 9 - owner = "webcomics"; 10 - repo = "dosage"; 11 - rev = "b2fdc13feb65b93762928f7e99bac7b1b7b31591"; 12 - sha256 = "1p6vllqaf9s6crj47xqp97hkglch1kd4y8y4lxvzx3g2shhhk9hh"; 7 + src = python3Packages.fetchPypi { 8 + inherit pname version; 9 + sha256 = "0vmxgn9wd3j80hp4gr5iq06jrl4gryz5zgfdd2ah30d12sfcfig0"; 13 10 }; 14 - checkInputs = with python3Packages; [ pytest responses ]; 15 - propagatedBuildInputs = with python3Packages; [ colorama lxml requests pbr setuptools ]; 11 + 12 + checkInputs = with python3Packages; [ 13 + pytestCheckHook pytest-xdist responses 14 + ]; 15 + 16 + nativeBuildInputs = with python3Packages; [ setuptools-scm ]; 17 + 18 + propagatedBuildInputs = with python3Packages; [ 19 + colorama imagesize lxml requests setuptools six 20 + ]; 16 21 17 22 disabled = python3Packages.pythonOlder "3.3"; 18 - 19 - checkPhase = '' 20 - py.test tests/ 21 - ''; 22 23 23 24 meta = { 24 25 description = "A comic strip downloader and archiver"; 25 26 homepage = "https://dosage.rocks/"; 26 27 license = lib.licenses.mit; 28 + maintainers = with lib.maintainers; [ toonn ]; 27 29 }; 28 30 }
+1 -1
pkgs/applications/graphics/rx/default.nix
··· 29 29 # FIXME: GLFW (X11) requires DISPLAY env variable for all tests 30 30 doCheck = false; 31 31 32 - postInstall = optional stdenv.isLinux '' 32 + postInstall = optionalString stdenv.isLinux '' 33 33 mkdir -p $out/share/applications 34 34 cp $src/rx.desktop $out/share/applications 35 35 wrapProgram $out/bin/rx --prefix LD_LIBRARY_PATH : ${libGL}/lib
+2 -3
pkgs/applications/misc/anytype/default.nix
··· 15 15 appimageTools.wrapType2 { 16 16 inherit name src; 17 17 18 - extraPkgs = { pkgs, ... }@args: [ 19 - pkgs.gnome3.libsecret 20 - ] ++ appimageTools.defaultFhsEnvArgs.multiPkgs args; 18 + extraPkgs = pkgs: (appimageTools.defaultFhsEnvArgs.multiPkgs pkgs) 19 + ++ [ pkgs.libsecret ]; 21 20 22 21 extraInstallCommands = '' 23 22 mv $out/bin/${name} $out/bin/${pname}
+2 -2
pkgs/applications/misc/moonlight-embedded/default.nix
··· 18 18 19 19 outputs = [ "out" "man" ]; 20 20 21 - nativeBuildInputs = [ cmake perl ]; 21 + nativeBuildInputs = [ cmake perl pkg-config ]; 22 22 buildInputs = [ 23 23 alsa-lib libevdev libopus udev SDL2 24 - ffmpeg pkg-config xorg.libxcb libvdpau libpulseaudio libcec 24 + ffmpeg xorg.libxcb libvdpau libpulseaudio libcec 25 25 xorg.libpthreadstubs curl expat avahi libuuid libva 26 26 ]; 27 27
+2 -2
pkgs/applications/misc/pwsafe/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "pwsafe"; 9 - version = "3.55.0"; 9 + version = "3.56.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = pname; 13 13 repo = pname; 14 14 rev = version; 15 - sha256 = "sha256-+Vfwz8xGmSzFNdiN5XYkRqGmFuBVIgexXdH3B+XYY3o="; 15 + sha256 = "sha256-ZLX/3cs1cdia5+32QEwE6q3V0uFNkkmiIGboKW6Xej8="; 16 16 }; 17 17 18 18 nativeBuildInputs = [
+1 -1
pkgs/applications/misc/surface-control/default.nix
··· 31 31 "Control various aspects of Microsoft Surface devices on Linux from the Command-Line"; 32 32 homepage = "https://github.com/linux-surface/surface-control"; 33 33 license = licenses.mit; 34 - maintainers = with maintainers; [ winterqt ]; 34 + maintainers = with maintainers; [ ]; 35 35 platforms = platforms.linux; 36 36 }; 37 37 }
+1 -1
pkgs/applications/misc/waybar/default.nix
··· 78 78 "-Dman-pages=enabled" 79 79 ]; 80 80 81 - preFixup = lib.optional withMediaPlayer '' 81 + preFixup = lib.optionalString withMediaPlayer '' 82 82 cp $src/resources/custom_modules/mediaplayer.py $out/bin/waybar-mediaplayer.py 83 83 84 84 wrapProgram $out/bin/waybar-mediaplayer.py \
+1 -1
pkgs/applications/misc/wmname/default.nix
··· 10 10 11 11 buildInputs = [ libX11 ]; 12 12 13 - preConfigure = [ ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'' ]; 13 + preConfigure = ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk''; 14 14 15 15 meta = { 16 16 description = "Prints or set the window manager name property of the root window";
+2 -2
pkgs/applications/networking/cluster/bosh-cli/default.nix
··· 8 8 buildGoModule rec { 9 9 pname = "bosh-cli"; 10 10 11 - version = "6.4.4"; 11 + version = "6.4.5"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "cloudfoundry"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-N7GrxePNewxhHnkQP/XBdUIEL5FsFD4avouZaIO+BKc="; 17 + sha256 = "sha256-/1JRje7SNrIsb3V1tq5ZW5zsURaQUzM/Jp3TMR0MfKw="; 18 18 }; 19 19 vendorSha256 = null; 20 20
+23
pkgs/applications/networking/cluster/cilium/default.nix
··· 1 + { lib, buildGoModule, fetchFromGitHub }: 2 + 3 + buildGoModule rec { 4 + pname = "cilium-cli"; 5 + version = "0.8.6"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "cilium"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "07p62zifycw7gnwkd3230jsjns80k2q9fbj8drzp84s9cp7ddpa9"; 12 + }; 13 + 14 + vendorSha256 = null; 15 + 16 + meta = with lib; { 17 + description = "CLI to install, manage & troubleshoot Kubernetes clusters running Cilium"; 18 + license = licenses.asl20; 19 + homepage = "https://www.cilium.io/"; 20 + maintainers = with maintainers; [ humancalico ]; 21 + mainProgram = "cilium"; 22 + }; 23 + }
+3 -3
pkgs/applications/networking/cluster/cloudfoundry-cli/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "cloudfoundry-cli"; 5 - version = "7.2.0"; 5 + version = "7.3.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "cloudfoundry"; 9 9 repo = "cli"; 10 10 rev = "v${version}"; 11 - sha256 = "0cf5vshyz6j70sv7x43r1404hdcmkzxgdb7514kjilp5z6wsr1nv"; 11 + sha256 = "sha256-I+4tFAMmmsmi5WH9WKXIja1vVWsPHNGkWbvjWGUCmkU="; 12 12 }; 13 13 # vendor directory stale 14 14 deleteVendor = true; 15 - vendorSha256 = "0p0s0dr7kpmmnim4fps62vj4zki2qxxdq5ww0fzrf1372xbl4kp2"; 15 + vendorSha256 = null; 16 16 17 17 subPackages = [ "." ]; 18 18
+1 -1
pkgs/applications/networking/mumble/default.nix
··· 104 104 server = source: generic { 105 105 type = "murmur"; 106 106 107 - postPatch = lib.optional iceSupport '' 107 + postPatch = lib.optionalString iceSupport '' 108 108 grep -Rl '/usr/share/Ice' . | xargs sed -i 's,/usr/share/Ice/,${zeroc-ice.dev}/share/ice/,g' 109 109 ''; 110 110
+7 -2
pkgs/applications/networking/onionshare/default.nix
··· 23 23 }: 24 24 25 25 let 26 - version = "2.3.2"; 26 + version = "2.3.3"; 27 27 src = fetchFromGitHub { 28 28 owner = "micahflee"; 29 29 repo = "onionshare"; 30 30 rev = "v${version}"; 31 - sha256 = "sha256-mzLDvvpO82iGDnzY42wx1KCNmAxUgVhpaDVprtb+YOI="; 31 + sha256 = "sha256-wU2020RNXlwJ2y9uzcLxIX4EECev1Z9YvNyiBalLj/Y="; 32 32 }; 33 33 meta = with lib; { 34 34 description = "Securely and anonymously send and receive files"; ··· 94 94 # Tests use the home directory 95 95 export HOME="$(mktemp -d)" 96 96 ''; 97 + 98 + disabledTests = [ 99 + "test_firefox_like_behavior" 100 + "test_if_unmodified_since" 101 + ]; 97 102 }; 98 103 99 104 onionshare-gui = buildPythonApplication {
+2 -2
pkgs/applications/science/biology/neuron/default.nix
··· 60 60 else ["--without-mpi"]); 61 61 62 62 63 - postInstall = lib.optionals (python != null) [ '' 63 + postInstall = lib.optionalString (python != null) '' 64 64 ## standardise python neuron install dir if any 65 65 if [[ -d $out/lib/python ]]; then 66 66 mkdir -p ''${out}/${python.sitePackages} 67 67 mv ''${out}/lib/python/* ''${out}/${python.sitePackages}/ 68 68 fi 69 - '']; 69 + ''; 70 70 71 71 propagatedBuildInputs = [ readline ncurses which libtool ]; 72 72
+2 -2
pkgs/applications/science/electronics/kicad/base.nix
··· 64 64 "'sanitizeAddress' and 'sanitizeThreads' are mutually exclusive, use one."; 65 65 66 66 let 67 - inherit (lib) optional optionals; 67 + inherit (lib) optional optionals optionalString; 68 68 in 69 69 stdenv.mkDerivation rec { 70 70 pname = "kicad-base"; ··· 172 172 173 173 dontStrip = debug; 174 174 175 - postInstall = optional (withI18n) '' 175 + postInstall = optionalString (withI18n) '' 176 176 mkdir -p $out/share 177 177 lndir ${i18n}/share $out/share 178 178 '';
+1 -1
pkgs/applications/science/physics/sherpa/default.nix
··· 9 9 sha256 = "1iwa17s8ipj6a2b8zss5csb1k5y9s5js38syvq932rxcinbyjsl4"; 10 10 }; 11 11 12 - postPatch = lib.optional (stdenv.hostPlatform.libc == "glibc") '' 12 + postPatch = lib.optionalString (stdenv.hostPlatform.libc == "glibc") '' 13 13 sed -ie '/sys\/sysctl.h/d' ATOOLS/Org/Run_Parameter.C 14 14 ''; 15 15
+1 -1
pkgs/applications/system/glances/default.nix
··· 31 31 ]; 32 32 33 33 doCheck = true; 34 - preCheck = lib.optional stdenv.isDarwin '' 34 + preCheck = lib.optionalString stdenv.isDarwin '' 35 35 export DYLD_FRAMEWORK_PATH=/System/Library/Frameworks 36 36 ''; 37 37
-31
pkgs/applications/window-managers/qtile/0001-Substitution-vars-for-absolute-paths.patch
··· 1 - diff --git a/libqtile/backend/x11/xcursors.py b/libqtile/backend/x11/xcursors.py 2 - index 24454b83..ef37875c 100644 3 - --- a/libqtile/backend/x11/xcursors.py 4 - +++ b/libqtile/backend/x11/xcursors.py 5 - @@ -107,7 +107,7 @@ class Cursors(dict): 6 - 7 - def _setup_xcursor_binding(self): 8 - try: 9 - - xcursor = ffi.dlopen('libxcb-cursor.so.0') 10 - + xcursor = ffi.dlopen('@xcb-cursor@/lib/libxcb-cursor.so.0') 11 - except OSError: 12 - logger.warning("xcb-cursor not found, fallback to font pointer") 13 - return False 14 - diff --git a/libqtile/pangocffi.py b/libqtile/pangocffi.py 15 - index dbae27ed..54c2c35f 100644 16 - --- a/libqtile/pangocffi.py 17 - +++ b/libqtile/pangocffi.py 18 - @@ -52,10 +52,9 @@ try: 19 - except ImportError: 20 - raise ImportError("No module named libqtile._ffi_pango, be sure to run `./scripts/ffibuild`") 21 - 22 - -gobject = ffi.dlopen('libgobject-2.0.so.0') 23 - -pango = ffi.dlopen('libpango-1.0.so.0') 24 - -pangocairo = ffi.dlopen('libpangocairo-1.0.so.0') 25 - - 26 - +gobject = ffi.dlopen('@glib@/lib/libgobject-2.0.so.0') 27 - +pango = ffi.dlopen('@pango@/lib/libpango-1.0.so.0') 28 - +pangocairo = ffi.dlopen('@pango@/lib/libpangocairo-1.0.so.0') 29 - 30 - def patch_cairo_context(cairo_t): 31 - def create_layout():
-71
pkgs/applications/window-managers/qtile/0002-Restore-PATH-and-PYTHONPATH.patch
··· 1 - diff --git a/bin/qshell b/bin/qshell 2 - index 5c652b7a..2d169eb2 100755 3 - --- a/bin/qshell 4 - +++ b/bin/qshell 5 - @@ -28,5 +28,6 @@ base_dir = os.path.abspath(os.path.join(this_dir, "..")) 6 - sys.path.insert(0, base_dir) 7 - 8 - if __name__ == '__main__': 9 - + __import__("importlib").import_module("libqtile.utils").restore_os_environment() 10 - from libqtile.scripts import qshell 11 - qshell.main() 12 - diff --git a/bin/qtile b/bin/qtile 13 - index ebc8fab5..08a965ef 100755 14 - --- a/bin/qtile 15 - +++ b/bin/qtile 16 - @@ -29,5 +29,6 @@ base_dir = os.path.abspath(os.path.join(this_dir, "..")) 17 - sys.path.insert(0, base_dir) 18 - 19 - if __name__ == '__main__': 20 - + __import__("importlib").import_module("libqtile.utils").restore_os_environment() 21 - from libqtile.scripts import qtile 22 - qtile.main() 23 - diff --git a/bin/qtile-cmd b/bin/qtile-cmd 24 - index a2136ee6..3d37a6d9 100755 25 - --- a/bin/qtile-cmd 26 - +++ b/bin/qtile-cmd 27 - @@ -8,5 +8,6 @@ base_dir = os.path.abspath(os.path.join(this_dir, "..")) 28 - sys.path.insert(0, base_dir) 29 - 30 - if __name__ == '__main__': 31 - + __import__("importlib").import_module("libqtile.utils").restore_os_environment() 32 - from libqtile.scripts import qtile_cmd 33 - qtile_cmd.main() 34 - diff --git a/bin/qtile-run b/bin/qtile-run 35 - index ac4cb1fd..74c589cb 100755 36 - --- a/bin/qtile-run 37 - +++ b/bin/qtile-run 38 - @@ -8,5 +8,6 @@ base_dir = os.path.abspath(os.path.join(this_dir, "..")) 39 - sys.path.insert(0, base_dir) 40 - 41 - if __name__ == '__main__': 42 - + __import__("importlib").import_module("libqtile.utils").restore_os_environment() 43 - from libqtile.scripts import qtile_run 44 - qtile_run.main() 45 - diff --git a/bin/qtile-top b/bin/qtile-top 46 - index a6251f27..0d524b1d 100755 47 - --- a/bin/qtile-top 48 - +++ b/bin/qtile-top 49 - @@ -8,5 +8,6 @@ base_dir = os.path.abspath(os.path.join(this_dir, "..")) 50 - sys.path.insert(0, base_dir) 51 - 52 - if __name__ == '__main__': 53 - + __import__("importlib").import_module("libqtile.utils").restore_os_environment() 54 - from libqtile.scripts import qtile_top 55 - qtile_top.main() 56 - diff --git a/libqtile/utils.py b/libqtile/utils.py 57 - index 2628c898..05117be7 100644 58 - --- a/libqtile/utils.py 59 - +++ b/libqtile/utils.py 60 - @@ -270,3 +270,10 @@ def guess_terminal(): 61 - return terminal 62 - 63 - logger.error('Default terminal has not been found.') 64 - + 65 - +def restore_os_environment(): 66 - + pythonpath = os.environ.pop("QTILE_SAVED_PYTHONPATH", "") 67 - + os.environ["PYTHONPATH"] = pythonpath 68 - + path = os.environ.pop("QTILE_SAVED_PATH", None) 69 - + if path: 70 - + os.environ["PATH"] = path 71 -
-13
pkgs/applications/window-managers/qtile/0003-Restart-executable.patch
··· 1 - diff --git a/libqtile/core/manager.py b/libqtile/core/manager.py 2 - index c22eeb6a..2ffe4eab 100644 3 - --- a/libqtile/core/manager.py 4 - +++ b/libqtile/core/manager.py 5 - @@ -278,7 +278,7 @@ class Qtile(CommandObject): 6 - logger.error("Unable to pickle qtile state") 7 - argv = [s for s in argv if not s.startswith('--with-state')] 8 - argv.append('--with-state=' + buf.getvalue().decode()) 9 - - self._restart = (sys.executable, argv) 10 - + self._restart = (os.environ.get("QTILE_WRAPPER", "@out@/bin/qtile"), argv[1:]) 11 - self.stop() 12 - 13 - async def finalize(self):
+62 -62
pkgs/applications/window-managers/qtile/default.nix
··· 1 - { lib, fetchFromGitHub, python37Packages, glib, cairo, pango, pkg-config, libxcb, xcbutilcursor }: 1 + { lib, fetchFromGitHub, python3, glib, cairo, pango, pkg-config, libxcb, xcbutilcursor }: 2 2 3 - let cairocffi-xcffib = python37Packages.cairocffi.override { 3 + let 4 + enabled-xcffib = cairocffi-xcffib: cairocffi-xcffib.override { 4 5 withXcffib = true; 5 6 }; 7 + 8 + # make it easier to reference python 9 + python = python3; 10 + pythonPackages = python.pkgs; 11 + 12 + unwrapped = pythonPackages.buildPythonPackage rec { 13 + name = "qtile-${version}"; 14 + version = "0.18.0"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "qtile"; 18 + repo = "qtile"; 19 + rev = "v${version}"; 20 + sha256 = "sha256-S9G/EI18p9EAyWgI1ajDrLimeE+ETBC9feUDb/QthqI="; 21 + }; 22 + 23 + postPatch = '' 24 + substituteInPlace libqtile/pangocffi.py \ 25 + --replace libgobject-2.0.so.0 ${glib.out}/lib/libgobject-2.0.so.0 \ 26 + --replace libpangocairo-1.0.so.0 ${pango.out}/lib/libpangocairo-1.0.so.0 \ 27 + --replace libpango-1.0.so.0 ${pango.out}/lib/libpango-1.0.so.0 28 + substituteInPlace libqtile/backend/x11/xcursors.py \ 29 + --replace libxcb-cursor.so.0 ${xcbutilcursor.out}/lib/libxcb-cursor.so.0 30 + ''; 31 + 32 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 33 + 34 + nativeBuildInputs = [ 35 + pkg-config 36 + ] ++ (with pythonPackages; [ 37 + setuptools-scm 38 + ]); 39 + 40 + propagatedBuildInputs = with pythonPackages; [ 41 + xcffib 42 + (enabled-xcffib cairocffi) 43 + setuptools 44 + python-dateutil 45 + dbus-python 46 + mpd2 47 + psutil 48 + pyxdg 49 + pygobject3 50 + ]; 51 + 52 + doCheck = false; # Requires X server #TODO this can be worked out with the existing NixOS testing infrastructure. 53 + 54 + meta = with lib; { 55 + homepage = "http://www.qtile.org/"; 56 + license = licenses.mit; 57 + description = "A small, flexible, scriptable tiling window manager written in Python"; 58 + platforms = platforms.linux; 59 + maintainers = with maintainers; [ kamilchm ]; 60 + }; 61 + }; 6 62 in 7 - 8 - python37Packages.buildPythonApplication rec { 9 - name = "qtile-${version}"; 10 - version = "0.16.0"; 11 - 12 - src = fetchFromGitHub { 13 - owner = "qtile"; 14 - repo = "qtile"; 15 - rev = "v${version}"; 16 - sha256 = "1klv1k9847nyx71sfrhqyl1k51k2w8phqnp2bns4dvbqii7q125l"; 17 - }; 18 - 19 - patches = [ 20 - ./0001-Substitution-vars-for-absolute-paths.patch 21 - ./0002-Restore-PATH-and-PYTHONPATH.patch 22 - ./0003-Restart-executable.patch 23 - ]; 24 - 25 - postPatch = '' 26 - substituteInPlace libqtile/core/manager.py --subst-var-by out $out 27 - substituteInPlace libqtile/pangocffi.py --subst-var-by glib ${glib.out} 28 - substituteInPlace libqtile/pangocffi.py --subst-var-by pango ${pango.out} 29 - substituteInPlace libqtile/backend/x11/xcursors.py --subst-var-by xcb-cursor ${xcbutilcursor.out} 30 - ''; 31 - 32 - SETUPTOOLS_SCM_PRETEND_VERSION = version; 33 - 34 - nativeBuildInputs = [ pkg-config ]; 35 - buildInputs = [ glib libxcb cairo pango python37Packages.xcffib ]; 36 - 37 - pythonPath = with python37Packages; [ 38 - xcffib 39 - cairocffi-xcffib 40 - setuptools 41 - setuptools-scm 42 - python-dateutil 43 - dbus-python 44 - mpd2 45 - psutil 46 - pyxdg 47 - pygobject3 48 - ]; 49 - 50 - postInstall = '' 51 - wrapProgram $out/bin/qtile \ 52 - --run 'export QTILE_WRAPPER=$0' \ 53 - --run 'export QTILE_SAVED_PYTHONPATH=$PYTHONPATH' \ 54 - --run 'export QTILE_SAVED_PATH=$PATH' 55 - ''; 56 - 57 - doCheck = false; # Requires X server #TODO this can be worked out with the existing NixOS testing infrastructure. 58 - 59 - meta = with lib; { 60 - homepage = "http://www.qtile.org/"; 61 - license = licenses.mit; 62 - description = "A small, flexible, scriptable tiling window manager written in Python"; 63 - platforms = platforms.linux; 64 - maintainers = with maintainers; [ kamilchm ]; 65 - }; 66 - } 63 + (python.withPackages (ps: [ unwrapped ])).overrideAttrs (_: { 64 + # export underlying qtile package 65 + passthru = { inherit unwrapped; }; 66 + })
+3 -1
pkgs/build-support/fetchgx/default.nix
··· 12 12 outputHashMode = "recursive"; 13 13 outputHash = sha256; 14 14 15 - phases = [ "unpackPhase" "buildPhase" "installPhase" ]; 15 + dontConfigure = true; 16 + doCheck = false; 17 + doInstallCheck = false; 16 18 17 19 buildPhase = '' 18 20 export GOPATH=$(pwd)/vendor
+14 -14
pkgs/data/fonts/libertinus/default.nix
··· 1 - { lib, fetchFromGitHub }: 1 + { lib, fetchurl }: 2 2 3 3 let 4 - version = "6.9"; 5 - in fetchFromGitHub rec { 4 + version = "7.040"; 5 + in fetchurl rec { 6 6 name = "libertinus-${version}"; 7 + url = "https://github.com/alerque/libertinus/releases/download/v${version}/Libertinus-${version}.tar.xz"; 8 + sha256 = "0z658r88p52dyrcslv0wlccw0sw7m5jz8nbqizv95nf7bfw96iyk"; 7 9 8 - owner = "alif-type"; 9 - repo = "libertinus"; 10 - rev = "v${version}"; 10 + downloadToTemp = true; 11 + recursiveHash = true; 11 12 12 13 postFetch = '' 13 14 tar xf $downloadedFile --strip=1 14 - install -m444 -Dt $out/share/fonts/opentype *.otf 15 - install -m444 -Dt $out/share/doc/${name} *.txt 15 + install -m644 -Dt $out/share/fonts/opentype static/OTF/*.otf 16 16 ''; 17 - sha256 = "0765a7w0askkhrjmjk638gcm9h6fcm1jpaza8iw9afr3sz1s0xlq"; 18 17 19 18 meta = with lib; { 20 - description = "A fork of the Linux Libertine and Linux Biolinum fonts"; 19 + description = "The Libertinus font family"; 21 20 longDescription = '' 22 - Libertinus fonts is a fork of the Linux Libertine and Linux Biolinum fonts 23 - that started as an OpenType math companion of the Libertine font family, 24 - but grown as a full fork to address some of the bugs in the fonts. 21 + The Libertinus font project began as a fork of the Linux Libertine and 22 + Linux Biolinum fonts. The original impetus was to add an OpenType math 23 + companion to the Libertine font families. Over time it grew into to a 24 + full-fledged fork addressing many of the bugs in the Libertine fonts. 25 25 ''; 26 - homepage = "https://github.com/alif-type/libertinus"; 26 + homepage = "https://github.com/alerque/libertinus"; 27 27 license = licenses.ofl; 28 28 maintainers = with maintainers; [ siddharthist ]; 29 29 platforms = platforms.all;
+2 -2
pkgs/desktops/gnome/core/gnome-shell/default.nix
··· 66 66 in 67 67 stdenv.mkDerivation rec { 68 68 pname = "gnome-shell"; 69 - version = "40.3"; 69 + version = "40.4"; 70 70 71 71 outputs = [ "out" "devdoc" ]; 72 72 73 73 src = fetchurl { 74 74 url = "mirror://gnome/sources/gnome-shell/${lib.versions.major version}/${pname}-${version}.tar.xz"; 75 - sha256 = "sha256-erEMbulpmCjdch6/jOHeRk3KqpHUlYI79LhMiTmejCs="; 75 + sha256 = "160z8bz2kqmrs6a4cs2gakv0rl9ba69p3ij2xjakqav50n9r3i9b"; 76 76 }; 77 77 78 78 patches = [
+2 -2
pkgs/development/compilers/mono/6.nix
··· 2 2 3 3 callPackage ./generic.nix ({ 4 4 inherit Foundation libobjc; 5 - version = "6.12.0.90"; 5 + version = "6.12.0.122"; 6 6 srcArchiveSuffix = "tar.xz"; 7 - sha256 = "1b6d0926rd0nkmsppwjgmwsxx1479jjvr1gm7zwk64siml15rpji"; 7 + sha256 = "sha256-KcJ3Zg/F51ExB67hy/jFBXyTcKTN/tovx4G+aYbYnSM="; 8 8 enableParallelBuilding = true; 9 9 })
+1 -1
pkgs/development/compilers/vala/default.nix
··· 69 69 # so that it can be used to regenerate documentation. 70 70 patches = lib.optionals disableGraphviz [ graphvizPatch ./gvc-compat.patch ]; 71 71 configureFlags = lib.optional disableGraphviz "--disable-graphviz"; 72 - preBuild = lib.optional disableGraphviz "buildFlagsArray+=(\"VALAC=$(pwd)/compiler/valac\")"; 72 + preBuild = lib.optionalString disableGraphviz "buildFlagsArray+=(\"VALAC=$(pwd)/compiler/valac\")"; 73 73 74 74 outputs = [ "out" "devdoc" ]; 75 75
+12 -2
pkgs/development/libraries/SDL2_image/default.nix
··· 12 12 buildInputs = [ SDL2 libpng libjpeg libtiff giflib libwebp libXpm zlib ] 13 13 ++ lib.optional stdenv.isDarwin Foundation; 14 14 15 - 16 - configureFlags = lib.optional stdenv.isDarwin "--disable-sdltest"; 15 + configureFlags = [ 16 + # Disable dynamically loaded dependencies 17 + "--disable-jpg-shared" 18 + "--disable-png-shared" 19 + "--disable-tif-shared" 20 + "--disable-webp-shared" 21 + ] ++ lib.optionals stdenv.isDarwin [ 22 + # Darwin headless will hang when trying to run the SDL test program 23 + "--disable-sdltest" 24 + # Don't use native macOS frameworks 25 + "--disable-imageio" 26 + ]; 17 27 18 28 enableParallelBuilding = true; 19 29
+2 -2
pkgs/development/libraries/codec2/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "codec2"; 5 - version = "0.9.2"; 5 + version = "1.0.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "drowe67"; 9 9 repo = "codec2"; 10 10 rev = "v${version}"; 11 - sha256 = "1jpvr7bra8srz8jvnlbmhf8andbaavq5v01qjnp2f61za93rzwba"; 11 + sha256 = "sha256-R4H6gwmc8nPgRfhNms7n7jMCHhkzX7i/zfGT4CYSsY8="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ cmake ];
+1 -1
pkgs/development/libraries/flatbuffers/1.12.nix
··· 20 20 }) 21 21 ]; 22 22 23 - preConfigure = lib.optional stdenv.buildPlatform.isDarwin '' 23 + preConfigure = lib.optionalString stdenv.buildPlatform.isDarwin '' 24 24 rm BUILD 25 25 ''; 26 26 }
+4 -8
pkgs/development/libraries/libantlr3c/default.nix
··· 8 8 sha256 ="0lpbnb4dq4azmsvlhp6khq1gy42kyqyjv8gww74g5lm2y6blm4fa"; 9 9 }; 10 10 11 - configureFlags = lib.optional stdenv.is64bit "--enable-64bit"; 11 + configureFlags = lib.optional stdenv.is64bit "--enable-64bit" 12 + # libantlr3c wrongly emits the abi flags -m64 and -m32 which imply x86 archs 13 + # https://github.com/antlr/antlr3/issues/205 14 + ++ lib.optional (!stdenv.hostPlatform.isx86) "--disable-abiflags"; 12 15 13 16 meta = with lib; { 14 17 description = "C runtime libraries of ANTLR v3"; ··· 19 16 license = licenses.bsd3; 20 17 platforms = platforms.unix; 21 18 maintainers = with maintainers; [ vbgl ]; 22 - # The package failed to build with error: 23 - # gcc: error: unrecognized command line option '-m64' 24 - # 25 - # See: 26 - # https://gist.github.com/r-rmcgibbo/15bf2ca9b297e8357887e146076fff7d 27 - # https://gist.github.com/r-rmcgibbo/a362535e4b174d4bfb68112503a49fcd 28 - broken = stdenv.hostPlatform.isAarch64; 29 19 }; 30 20 }
+2 -2
pkgs/development/libraries/libfm/default.nix
··· 13 13 14 14 let 15 15 gtk = if withGtk3 then gtk3 else gtk2; 16 - inherit (lib) optional; 16 + inherit (lib) optional optionalString; 17 17 in 18 18 stdenv.mkDerivation rec { 19 19 pname = if extraOnly ··· 37 37 installFlags = [ "sysconfdir=${placeholder "out"}/etc" ]; 38 38 39 39 # libfm-extra is pulled in by menu-cache and thus leads to a collision for libfm 40 - postInstall = optional (!extraOnly) '' 40 + postInstall = optionalString (!extraOnly) '' 41 41 rm $out/lib/libfm-extra.so $out/lib/libfm-extra.so.* $out/lib/libfm-extra.la $out/lib/pkgconfig/libfm-extra.pc 42 42 ''; 43 43
+1 -1
pkgs/development/libraries/mbedtls/default.nix
··· 28 28 29 29 strictDeps = true; 30 30 31 - postConfigure = lib.optionals enableThreading '' 31 + postConfigure = lib.optionalString enableThreading '' 32 32 perl scripts/config.pl set MBEDTLS_THREADING_C # Threading abstraction layer 33 33 perl scripts/config.pl set MBEDTLS_THREADING_PTHREAD # POSIX thread wrapper layer for the threading layer. 34 34 '';
+1
pkgs/development/libraries/s2n-tls/default.nix
··· 20 20 cmakeFlags = [ 21 21 "-DBUILD_SHARED_LIBS=ON" 22 22 "-DCMAKE_SKIP_BUILD_RPATH=OFF" 23 + "-DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF" # disable -Werror 23 24 ]; 24 25 25 26 propagatedBuildInputs = [ openssl ]; # s2n-config has find_dependency(LibCrypto).
+1 -1
pkgs/development/libraries/silgraphite/graphite2.nix
··· 28 28 29 29 # Remove a test that fails to statically link (undefined reference to png and 30 30 # freetype symbols) 31 - postConfigure = lib.optionals static '' 31 + postConfigure = lib.optionalString static '' 32 32 sed -e '/freetype freetype.c/d' -i ../tests/examples/CMakeLists.txt 33 33 ''; 34 34
+1 -1
pkgs/development/libraries/t1lib/default.nix
··· 28 28 buildInputs = [ libX11 libXaw ]; 29 29 buildFlags = [ "without_doc" ]; 30 30 31 - postInstall = lib.optional (!stdenv.isDarwin) "chmod +x $out/lib/*.so.*"; # ?? 31 + postInstall = lib.optionalString (!stdenv.isDarwin) "chmod +x $out/lib/*.so.*"; # ?? 32 32 33 33 meta = with lib; { 34 34 description = "A type 1 font rasterizer library for UNIX/X11";
+1 -1
pkgs/development/libraries/zeroc-ice/3.6.nix
··· 21 21 sourceRoot=$sourceRoot/cpp 22 22 ''; 23 23 24 - prePatch = lib.optional stdenv.isDarwin '' 24 + prePatch = lib.optionalString stdenv.isDarwin '' 25 25 substituteInPlace config/Make.rules.Darwin \ 26 26 --replace xcrun "" 27 27 '';
+1 -1
pkgs/development/libraries/zeroc-ice/default.nix
··· 35 35 36 36 NIX_CFLAGS_COMPILE = "-Wno-error=class-memaccess -Wno-error=deprecated-copy"; 37 37 38 - prePatch = lib.optional stdenv.isDarwin '' 38 + prePatch = lib.optionalString stdenv.isDarwin '' 39 39 substituteInPlace Make.rules.Darwin \ 40 40 --replace xcrun "" 41 41 '';
+2 -2
pkgs/development/python-modules/arcam-fmj/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "arcam-fmj"; 15 - version = "0.10.0"; 15 + version = "0.11.1"; 16 16 17 17 disabled = pythonOlder "3.8"; 18 18 ··· 20 20 owner = "elupus"; 21 21 repo = "arcam_fmj"; 22 22 rev = version; 23 - sha256 = "sha256-pPPBeOwB2HgyxxMnR5yU3ZwDaJVP0v7/fkeDkeGGhPM="; 23 + sha256 = "sha256-Vs32LGRN6kxG8sswvuUwuUbLv9GXuhJeK0CUGoo2EgE="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [
+6
pkgs/development/python-modules/cassandra-driver/default.nix
··· 35 35 sha256 = "1dn7iiavsrhh6i9hcyw0mk8j95r5ym0gbrvdca998hx2rnz5ark6"; 36 36 }; 37 37 38 + postPatch = '' 39 + substituteInPlace setup.py --replace 'geomet>=0.1,<0.3' 'geomet' 40 + ''; 41 + 38 42 nativeBuildInputs = [ cython ]; 39 43 buildInputs = [ libev ]; 40 44 propagatedBuildInputs = [ six geomet ] ··· 84 80 "_PoolTests" 85 81 # attempts to make connection to localhost 86 82 "test_connection_initialization" 83 + # time-sensitive 84 + "test_nts_token_performance" 87 85 ]; 88 86 89 87 meta = with lib; {
+1 -1
pkgs/development/python-modules/cmd2/default.nix
··· 15 15 16 16 LC_ALL="en_US.UTF-8"; 17 17 18 - postPatch = lib.optional stdenv.isDarwin '' 18 + postPatch = lib.optionalString stdenv.isDarwin '' 19 19 # Fake the impure dependencies pbpaste and pbcopy 20 20 mkdir bin 21 21 echo '#!${stdenv.shell}' > bin/pbpaste
+1 -1
pkgs/development/python-modules/cvxpy/default.nix
··· 36 36 ]; 37 37 38 38 # Required flags from https://github.com/cvxgrp/cvxpy/releases/tag/v1.1.11 39 - preBuild = lib.optional useOpenmp '' 39 + preBuild = lib.optionalString useOpenmp '' 40 40 export CFLAGS="-fopenmp" 41 41 export LDFLAGS="-lgomp" 42 42 '';
+9 -1
pkgs/development/python-modules/dpkt/default.nix
··· 1 - { lib, fetchPypi, buildPythonPackage }: 1 + { lib 2 + , fetchPypi 3 + , buildPythonPackage 4 + }: 2 5 3 6 buildPythonPackage rec { 4 7 pname = "dpkt"; ··· 11 8 inherit pname version; 12 9 sha256 = "74899d557ec4e337db29cecc80548b23a1205384d30ee407397cfb9ab178e3d4"; 13 10 }; 11 + 12 + # Project has no tests 13 + doCheck = false; 14 + 15 + pythonImportsCheck = [ "dpkt" ]; 14 16 15 17 meta = with lib; { 16 18 description = "Fast, simple packet creation / parsing, with definitions for the basic TCP/IP protocols";
+2 -11
pkgs/development/python-modules/geomet/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchFromGitHub 4 - , fetchpatch 5 4 , click 6 5 , six 7 6 }: 8 7 9 8 buildPythonPackage rec { 10 9 pname = "geomet"; 11 - version = "0.2.1"; 10 + version = "0.3.0"; 12 11 13 12 # pypi tarball doesn't include tests 14 13 src = fetchFromGitHub { 15 14 owner = "geomet"; 16 15 repo = "geomet"; 17 16 rev = version; 18 - sha256 = "0fdi26glsmrsyqk86rnsfcqw79svn2b0ikdv89pq98ihrpwhn85y"; 17 + sha256 = "1lb0df78gkivsb7hy3ix0xccvcznvskip11hr5sgq5y76qnfc8p0"; 19 18 }; 20 - 21 - patches = [ 22 - (fetchpatch { 23 - name = "python-3.8-support.patch"; 24 - url = "https://github.com/geomet/geomet/commit/dc4cb4a856d3ad814b57b4b7487d86d9e0f0fad4.patch"; 25 - sha256 = "1f1cdfqyp3z01jdjvax77219l3gc75glywqrisqpd2k0m0g7fwh3"; 26 - }) 27 - ]; 28 19 29 20 propagatedBuildInputs = [ click six ]; 30 21
+2 -2
pkgs/development/python-modules/google-cloud-resource-manager/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "google-cloud-resource-manager"; 14 - version = "1.0.2"; 14 + version = "1.1.0"; 15 15 16 16 src = fetchPypi { 17 17 inherit pname version; 18 - sha256 = "sha256-5njC5yO7NTU81i9vmJoe1RBYPS1fU/3K5tgH7twyT+I="; 18 + sha256 = "a88f21b7a110dc9b5fd8e5bc9c07330fafc9ef150921505250aec0f0b25cf5e8"; 19 19 }; 20 20 21 21 propagatedBuildInputs = [ google-api-core google-cloud-core grpc-google-iam-v1 proto-plus ];
+2 -2
pkgs/development/python-modules/influxdb-client/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "influxdb-client"; 17 - version = "1.19.0"; 17 + version = "1.20.0"; 18 18 disabled = pythonOlder "3.6"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "influxdata"; 22 22 repo = "influxdb-client-python"; 23 23 rev = "v${version}"; 24 - sha256 = "0k1qcwd2qdw8mcr8ywy3wi1x9j6i57axgcps5kmkbx773s8qf155"; 24 + sha256 = "sha256-VBKGzoLn71BQ5drbdiDjbpfHuYKGqHhuSwq0iNwdfh4="; 25 25 }; 26 26 27 27 propagatedBuildInputs = [
+2
pkgs/development/python-modules/libagent/default.nix
··· 2 2 unidecode, mock, pytest , backports-shutil-which, configargparse, 3 3 python-daemon, pymsgbox }: 4 4 5 + # XXX: when changing this package, please test the package onlykey-agent. 6 + 5 7 buildPythonPackage rec { 6 8 pname = "libagent"; 7 9 version = "0.14.1";
+5 -6
pkgs/development/python-modules/pyclipper/default.nix
··· 3 3 , buildPythonPackage 4 4 , setuptools-scm 5 5 , cython 6 + , pytestCheckHook 7 + , unittest2 6 8 }: 7 9 8 10 buildPythonPackage rec { 9 11 pname = "pyclipper"; 10 - version = "1.2.1"; 12 + version = "1.3.0"; 11 13 12 14 src = fetchPypi { 13 15 inherit pname version; 14 16 extension = "zip"; 15 - sha256 = "ca3751e93559f0438969c46f17459d07f983281dac170c3479de56492e152855"; 17 + sha256 = "48a1b5c585aea10e5b9c0b82d6abe2642fafd9ef158b9921852bc4af815ca20c"; 16 18 }; 17 19 18 20 nativeBuildInputs = [ ··· 22 20 cython 23 21 ]; 24 22 25 - # Requires pytest_runner to perform tests, which requires deprecated 26 - # features of setuptools. Seems better to not run tests. This should 27 - # be fixed upstream. 28 - doCheck = false; 23 + checkInputs = [ pytestCheckHook unittest2 ]; 29 24 pythonImportsCheck = [ "pyclipper" ]; 30 25 31 26 meta = with lib; {
+35 -18
pkgs/development/python-modules/pygame/default.nix
··· 1 - { lib, fetchPypi, buildPythonPackage, python, pkg-config, libX11 2 - , SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, libpng, libjpeg, portmidi, freetype 3 - , fontconfig 1 + { stdenv, lib, substituteAll, fetchPypi, buildPythonPackage, python, pkg-config, libX11 2 + , SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, libpng, libjpeg, portmidi, freetype, fontconfig 3 + , AppKit, CoreMIDI 4 4 }: 5 5 6 6 buildPythonPackage rec { ··· 12 12 sha256 = "8b1e7b63f47aafcdd8849933b206778747ef1802bd3d526aca45ed77141e4001"; 13 13 }; 14 14 15 + patches = [ 16 + # Patch pygame's dependency resolution to let it find build inputs 17 + (substituteAll { 18 + src = ./fix-dependency-finding.patch; 19 + buildinputs_include = builtins.toJSON (builtins.concatMap (dep: [ 20 + "${lib.getDev dep}/" 21 + "${lib.getDev dep}/include" 22 + ]) buildInputs); 23 + buildinputs_lib = builtins.toJSON (builtins.concatMap (dep: [ 24 + "${lib.getLib dep}/" 25 + "${lib.getLib dep}/lib" 26 + ]) buildInputs); 27 + }) 28 + ]; 29 + 30 + postPatch = '' 31 + substituteInPlace src_py/sysfont.py \ 32 + --replace 'path="fc-list"' 'path="${fontconfig}/bin/fc-list"' \ 33 + --replace /usr/X11/bin/fc-list ${fontconfig}/bin/fc-list 34 + ''; 35 + 15 36 nativeBuildInputs = [ 16 37 pkg-config SDL2 17 38 ]; ··· 40 19 buildInputs = [ 41 20 SDL2 SDL2_image SDL2_mixer SDL2_ttf libpng libjpeg 42 21 portmidi libX11 freetype 22 + ] ++ lib.optionals stdenv.isDarwin [ 23 + AppKit CoreMIDI 43 24 ]; 44 25 45 26 preConfigure = '' 46 - sed \ 47 - -e "s/origincdirs = .*/origincdirs = []/" \ 48 - -e "s/origlibdirs = .*/origlibdirs = []/" \ 49 - -e "/linux-gnu/d" \ 50 - -i buildconfig/config_unix.py 51 - ${lib.concatMapStrings (dep: '' 52 - sed \ 53 - -e "/origincdirs =/a\ origincdirs += ['${lib.getDev dep}/include']" \ 54 - -e "/origlibdirs =/a\ origlibdirs += ['${lib.getLib dep}/lib']" \ 55 - -i buildconfig/config_unix.py 56 - '') buildInputs 57 - } 58 27 LOCALBASE=/ ${python.interpreter} buildconfig/config.py 59 28 ''; 60 29 61 - checkInputs = [ fontconfig ]; 30 + checkPhase = '' 31 + runHook preCheck 62 32 63 - preCheck = '' 64 33 # No audio or video device in test environment 65 34 export SDL_VIDEODRIVER=dummy 66 35 export SDL_AUDIODRIVER=disk 67 36 export SDL_DISKAUDIOFILE=/dev/null 37 + 38 + ${python.interpreter} -m pygame.tests -v --exclude opengl,timing --time_out 300 39 + 40 + runHook postCheck 68 41 ''; 42 + pythonImportsCheck = [ "pygame" ]; 69 43 70 44 meta = with lib; { 71 45 description = "Python library for games"; 72 46 homepage = "https://www.pygame.org/"; 73 47 license = licenses.lgpl21Plus; 74 - platforms = platforms.linux; 48 + maintainers = with maintainers; [ angustrau ]; 49 + platforms = platforms.unix; 75 50 }; 76 51 }
+64
pkgs/development/python-modules/pygame/fix-dependency-finding.patch
··· 1 + diff --git a/buildconfig/config_darwin.py b/buildconfig/config_darwin.py 2 + index 8d84683f..70df8f9c 100644 3 + --- a/buildconfig/config_darwin.py 4 + +++ b/buildconfig/config_darwin.py 5 + @@ -56,10 +56,10 @@ class Dependency: 6 + class FrameworkDependency(Dependency): 7 + def configure(self, incdirs, libdirs): 8 + BASE_DIRS = '/', os.path.expanduser('~/'), '/System/' 9 + - for n in BASE_DIRS: 10 + + for n in incdirs + libdirs: 11 + n += 'Library/Frameworks/' 12 + fmwk = n + self.libs + '.framework/Versions/Current/' 13 + - if os.path.isfile(fmwk + self.libs): 14 + + if os.path.isfile(fmwk + self.libs + '.tbd'): 15 + print ('Framework ' + self.libs + ' found') 16 + self.found = 1 17 + self.inc_dir = fmwk + 'Headers' 18 + @@ -158,19 +158,8 @@ def main(sdl2=False): 19 + ]) 20 + 21 + print ('Hunting dependencies...') 22 + - incdirs = ['/usr/local/include'] 23 + - if sdl2: 24 + - incdirs.append('/usr/local/include/SDL2') 25 + - else: 26 + - incdirs.append('/usr/local/include/SDL') 27 + - 28 + - incdirs.extend([ 29 + - #'/usr/X11/include', 30 + - '/opt/local/include', 31 + - '/opt/local/include/freetype2/freetype'] 32 + - ) 33 + - #libdirs = ['/usr/local/lib', '/usr/X11/lib', '/opt/local/lib'] 34 + - libdirs = ['/usr/local/lib', '/opt/local/lib'] 35 + + incdirs = @buildinputs_include@ 36 + + libdirs = @buildinputs_lib@ 37 + 38 + for d in DEPS: 39 + if isinstance(d, (list, tuple)): 40 + diff --git a/buildconfig/config_unix.py b/buildconfig/config_unix.py 41 + index f6a4ea4b..f7f5be76 100644 42 + --- a/buildconfig/config_unix.py 43 + +++ b/buildconfig/config_unix.py 44 + @@ -224,18 +224,8 @@ def main(sdl2=False): 45 + if not DEPS[0].found: 46 + raise RuntimeError('Unable to run "sdl-config". Please make sure a development version of SDL is installed.') 47 + 48 + - incdirs = [] 49 + - libdirs = [] 50 + - for extrabase in extrabases: 51 + - incdirs += [extrabase + d for d in origincdirs] 52 + - libdirs += [extrabase + d for d in origlibdirs] 53 + - incdirs += ["/usr"+d for d in origincdirs] 54 + - libdirs += ["/usr"+d for d in origlibdirs] 55 + - incdirs += ["/usr/local"+d for d in origincdirs] 56 + - libdirs += ["/usr/local"+d for d in origlibdirs] 57 + - if localbase: 58 + - incdirs = [localbase+d for d in origincdirs] 59 + - libdirs = [localbase+d for d in origlibdirs] 60 + + incdirs = @buildinputs_include@ 61 + + libdirs = @buildinputs_lib@ 62 + 63 + for arg in DEPS[0].cflags.split(): 64 + if arg[:2] == '-I':
+2 -2
pkgs/development/python-modules/pyupgrade/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "pyupgrade"; 11 - version = "2.23.3"; 11 + version = "2.24.0"; 12 12 disabled = pythonOlder "3.6"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "asottile"; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-Z17Bs3Mr1PJ9bYP2vsXTaJ85jOoIIlKLWR6D6s7enFs="; 18 + sha256 = "sha256-vWju0D5O3RtDiv9uYQqd9kEwTIcV9QTHYXM/icB/rM0="; 19 19 }; 20 20 21 21 checkInputs = [ pytestCheckHook ];
+2 -2
pkgs/development/python-modules/sagemaker/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "sagemaker"; 19 - version = "2.46.0"; 19 + version = "2.54.0"; 20 20 21 21 src = fetchPypi { 22 22 inherit pname version; 23 - sha256 = "4f66f8c56b870e7a6f9a3882790a4074f2df26a0fe9605bc5d71e186db193525"; 23 + sha256 = "sha256-uLsBHqzpcuTugRXBihdbib64l396m+os39OhP+tLLCM="; 24 24 }; 25 25 26 26 pythonImportsCheck = [
+1 -1
pkgs/development/python-modules/spacy/models.nix
··· 25 25 ++ lib.optionals (lang == "ru") [ pymorphy2 ] 26 26 ++ lib.optionals (pname == "fr_dep_news_trf") [ sentencepiece ]; 27 27 28 - postPatch = lib.optionals (pname == "fr_dep_news_trf") '' 28 + postPatch = lib.optionalString (pname == "fr_dep_news_trf") '' 29 29 substituteInPlace meta.json \ 30 30 --replace "sentencepiece==0.1.91" "sentencepiece>=0.1.91" 31 31 '';
+1 -1
pkgs/development/tools/build-managers/cmake/default.nix
··· 102 102 ]; 103 103 104 104 # make install attempts to use the just-built cmake 105 - preInstall = lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) '' 105 + preInstall = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 106 106 sed -i 's|bin/cmake|${buildPackages.cmakeMinimal}/bin/cmake|g' Makefile 107 107 ''; 108 108
+4 -4
pkgs/development/tools/parsing/flex/2.5.35.nix
··· 16 16 17 17 propagatedBuildInputs = [ m4 ]; 18 18 19 - preConfigure = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 20 - "ac_cv_func_malloc_0_nonnull=yes" 21 - "ac_cv_func_realloc_0_nonnull=yes" 22 - ]; 19 + preConfigure = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 20 + ac_cv_func_malloc_0_nonnull=yes 21 + ac_cv_func_realloc_0_nonnull=yes 22 + ''; 23 23 24 24 doCheck = false; # fails 2 out of 46 tests 25 25
+4 -4
pkgs/development/tools/parsing/flex/2.6.1.nix
··· 18 18 19 19 propagatedBuildInputs = [ m4 ]; 20 20 21 - preConfigure = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 22 - "ac_cv_func_malloc_0_nonnull=yes" 23 - "ac_cv_func_realloc_0_nonnull=yes" 24 - ]; 21 + preConfigure = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 22 + ac_cv_func_malloc_0_nonnull=yes 23 + ac_cv_func_realloc_0_nonnull=yes 24 + ''; 25 25 26 26 postConfigure = lib.optionalString (stdenv.isDarwin || stdenv.isCygwin) '' 27 27 sed -i Makefile -e 's/-no-undefined//;'
+4 -4
pkgs/development/tools/parsing/flex/default.nix
··· 33 33 buildInputs = [ bison ]; 34 34 propagatedBuildInputs = [ m4 ]; 35 35 36 - preConfigure = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 37 - "export ac_cv_func_malloc_0_nonnull=yes" 38 - "export ac_cv_func_realloc_0_nonnull=yes" 39 - ]; 36 + preConfigure = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) '' 37 + export ac_cv_func_malloc_0_nonnull=yes 38 + export ac_cv_func_realloc_0_nonnull=yes 39 + ''; 40 40 41 41 postConfigure = lib.optionalString (stdenv.isDarwin || stdenv.isCygwin) '' 42 42 sed -i Makefile -e 's/-no-undefined//;'
+1 -1
pkgs/development/tools/parsing/ragel/default.nix
··· 15 15 16 16 buildInputs = lib.optional build-manual [ transfig ghostscript tex ]; 17 17 18 - preConfigure = lib.optional build-manual '' 18 + preConfigure = lib.optionalString build-manual '' 19 19 sed -i "s/build_manual=no/build_manual=yes/g" DIST 20 20 ''; 21 21
+3 -3
pkgs/development/tools/pscale/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "pscale"; 5 - version = "0.63.0"; 5 + version = "0.65.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "planetscale"; 9 9 repo = "cli"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-LYVR8vcMS6ErYH4sGRi1JT9E4ElYe5mloc3C1TudzSE="; 11 + sha256 = "sha256-RIyxO2nTysJLdYQvlmhZpS8R2kkwN+XeTlk4Ocbk9C8="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-3LuzdvwLYSL7HaGbKDfrqBz2FV2yr6YUdI5kXXiIvbU="; 14 + vendorSha256 = "sha256-8zgWM5e+aKggGbLoL/Fmy7AuALVlLa74eHBxNGjTSy4="; 15 15 16 16 meta = with lib; { 17 17 homepage = "https://www.planetscale.com/";
+1 -1
pkgs/development/tools/qtcreator/default.nix
··· 68 68 --replace 'LLVM_CXXFLAGS ~= s,-gsplit-dwarf,' '${lib.concatStringsSep "\n" ["LLVM_CXXFLAGS ~= s,-gsplit-dwarf," " LLVM_CXXFLAGS += -fno-rtti"]}' 69 69 ''; 70 70 71 - preBuild = optional withDocumentation '' 71 + preBuild = optionalString withDocumentation '' 72 72 ln -s ${getLib qtbase}/$qtDocPrefix $NIX_QT5_TMP/share 73 73 ''; 74 74
+3 -3
pkgs/development/tools/rust/sqlx-cli/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "sqlx-cli"; 5 - version = "0.5.6"; 5 + version = "0.5.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "launchbadge"; 9 9 repo = "sqlx"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-Ir9n2Z3+dKCe2GLrVLV1dnxeKKtPJk/kd5wbtsKHtbw="; 11 + sha256 = "sha256-BYTAAzex3h9iEKFuPCyCXKokPLcgA0k9Zk6aMcWac+c="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-MfLxzulcQSEcNGmer8m2ph2+lK2M3MN1PwAHDGzn3NQ="; 14 + cargoSha256 = "sha256-3Fdoo8gvoLXe9fEAzKh7XY0LDVGsYsqB6NRlU8NqCMI="; 15 15 16 16 doCheck = false; 17 17 cargoBuildFlags = [ "-p sqlx-cli" ];
+2 -2
pkgs/development/tools/skopeo/default.nix
··· 14 14 15 15 buildGoModule rec { 16 16 pname = "skopeo"; 17 - version = "1.4.0"; 17 + version = "1.4.1"; 18 18 19 19 src = fetchFromGitHub { 20 20 rev = "v${version}"; 21 21 owner = "containers"; 22 22 repo = "skopeo"; 23 - sha256 = "sha256-ocbZs4z6jxLC4l6po07QPyM7R5vFowK7hsMRfwALfoY="; 23 + sha256 = "sha256-K+Zn+L7yylUj+iMrsXocWRD4O8HmxdsIsjO36SCkWiU="; 24 24 }; 25 25 26 26 outputs = [ "out" "man" ];
+3 -5
pkgs/games/spring/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "spring"; 10 - version = "104.0.1-${buildId}-g${shortRev}"; 10 + version = "105.0.1-${buildId}-g${shortRev}"; 11 11 # usually the latest in https://github.com/spring/spring/commits/maintenance 12 - rev = "f266c8107b3e5dda5a78061ef00ca0ed8736d6f2"; 12 + rev = "8581792eac65e07cbed182ccb1e90424ce3bd8fc"; 13 13 shortRev = builtins.substring 0 7 rev; 14 14 buildId = "1486"; 15 15 ··· 18 18 owner = "spring"; 19 19 repo = pname; 20 20 inherit rev; 21 - sha256 = "1nx68d894yfmqc6df72hmk75ph26fqdvlmmq58cca0vbwpz9hf5v"; 21 + sha256 = "05lvd8grqmv7vl8rrx02rhl0qhmm58dyi6s78b64j3fkia4sfj1r"; 22 22 fetchSubmodules = true; 23 23 }; 24 24 ··· 60 60 license = licenses.gpl2; 61 61 maintainers = with maintainers; [ phreedom qknight domenkozar sorki ]; 62 62 platforms = platforms.linux; 63 - # error: 'snprintf' was not declared in this scope 64 - broken = true; 65 63 }; 66 64 }
+1 -1
pkgs/misc/vim-plugins/overrides.nix
··· 834 834 }); 835 835 836 836 vim-xdebug = super.vim-xdebug.overrideAttrs (old: { 837 - postInstall = false; 837 + postInstall = null; 838 838 }); 839 839 840 840 vim-xkbswitch = super.vim-xkbswitch.overrideAttrs (old: {
+1 -1
pkgs/os-specific/linux/iptables/default.nix
··· 32 32 33 33 outputs = [ "out" "dev" ]; 34 34 35 - postInstall = optional nftablesCompat '' 35 + postInstall = optionalString nftablesCompat '' 36 36 rm $out/sbin/{iptables,iptables-restore,iptables-save,ip6tables,ip6tables-restore,ip6tables-save} 37 37 ln -sv xtables-nft-multi $out/bin/iptables 38 38 ln -sv xtables-nft-multi $out/bin/iptables-restore
+1 -1
pkgs/os-specific/linux/wooting-udev-rules/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "wooting-udev-rules"; 5 - version = "20190601"; 5 + version = "20210525"; 6 6 7 7 # Source: https://wooting.helpscoutdocs.com/article/68-wootility-configuring-device-access-for-wootility-under-linux-udev-rules 8 8 src = [ ./wooting.rules ];
+5
pkgs/os-specific/linux/wooting-udev-rules/wooting.rules
··· 7 7 SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="ff02", MODE:="0660", GROUP="input" 8 8 # Wooting Two update mode 9 9 SUBSYSTEM=="hidraw", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="2403", MODE:="0660", GROUP="input" 10 + 11 + # Wooting Two Lekker Edition 12 + SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="1210", MODE:="0660", GROUP="input" 13 + # Wooting Two Lekker Edition update mode 14 + SUBSYSTEM=="hidraw", ATTRS{idVendor}=="31e3", ATTRS{idProduct}=="121f", MODE:="0660", GROUP="input"
+1 -1
pkgs/servers/klipper/default.nix
··· 16 16 }; 17 17 18 18 # We have no LTO on i686 since commit 22284b0 19 - postPatch = lib.optional stdenv.isi686 '' 19 + postPatch = lib.optionalString stdenv.isi686 '' 20 20 substituteInPlace chelper/__init__.py \ 21 21 --replace "-flto -fwhole-program " "" 22 22 '';
+49
pkgs/servers/rpiplay/default.nix
··· 1 + { lib, stdenv, pkg-config, fetchFromGitHub, fetchpatch, cmake, wrapGAppsHook, avahi, avahi-compat, openssl, gst_all_1, libplist }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "rpiplay"; 5 + version = "unstable-2021-06-14"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "FD-"; 9 + repo = "RPiPlay"; 10 + rev = "35dd995fceed29183cbfad0d4110ae48e0635786"; 11 + sha256 = "sha256-qe7ZTT45NYvzgnhRmz15uGT/FnGi9uppbKVbmch5B9A="; 12 + }; 13 + 14 + patches = [ 15 + # allow rpiplay to be used with firewall enabled. 16 + # sets static ports 7000 7100 (tcp) and 6000 6001 7011 (udp) 17 + (fetchpatch { 18 + name = "use-static-ports.patch"; 19 + url = "https://github.com/FD-/RPiPlay/commit/2ffc287ba822e1d2b2ed0fc0e41a2bb3d9dab105.patch"; 20 + sha256 = "08dy829gyhyzw2n54zn5m3176cmd24k5hij24vpww5bhbwkbabww"; 21 + }) 22 + ]; 23 + 24 + nativeBuildInputs = [ 25 + cmake 26 + openssl 27 + libplist 28 + pkg-config 29 + wrapGAppsHook 30 + ]; 31 + 32 + buildInputs = [ 33 + avahi 34 + avahi-compat 35 + gst_all_1.gstreamer 36 + gst_all_1.gst-plugins-base 37 + gst_all_1.gst-plugins-good 38 + gst_all_1.gst-plugins-bad 39 + gst_all_1.gst-plugins-ugly 40 + ]; 41 + 42 + meta = with lib; { 43 + homepage = "https://github.com/FD-/RPiPlay"; 44 + description = "An open-source implementation of an AirPlay mirroring server."; 45 + license = licenses.gpl3Plus; 46 + maintainers = with maintainers; [ mschneider ]; 47 + platforms = platforms.unix; 48 + }; 49 + }
+1 -1
pkgs/servers/sql/mysql/5.7.x.nix
··· 16 16 sha256 = "1fhv16zr46pxm1j8vb8x8mh3nwzglg01arz8gnazbmjqldr5idpq"; 17 17 }; 18 18 19 - preConfigure = lib.optional stdenv.isDarwin '' 19 + preConfigure = lib.optionalString stdenv.isDarwin '' 20 20 ln -s /bin/ps $TMPDIR/ps 21 21 export PATH=$PATH:$TMPDIR 22 22 '';
+5 -6
pkgs/tools/admin/nomachine-client/default.nix
··· 1 1 { lib, stdenv, file, fetchurl, makeWrapper, 2 2 autoPatchelfHook, jsoncpp, libpulseaudio }: 3 3 let 4 - versionMajor = "7.4"; 5 - versionMinor = "1"; 6 - versionBuild_x86_64 = "1"; 4 + versionMajor = "7.6"; 5 + versionMinor = "2"; 6 + versionBuild_x86_64 = "4"; 7 7 versionBuild_i686 = "1"; 8 8 in 9 9 stdenv.mkDerivation rec { ··· 14 14 if stdenv.hostPlatform.system == "x86_64-linux" then 15 15 fetchurl { 16 16 url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_x86_64}_x86_64.tar.gz"; 17 - sha256 = "1qir9ii0h5ali87mjzjl72dm1ky626d7y59jfpglakqxzqhjamdz"; 17 + sha256 = "1kkdf9dlp4j453blnwp1sds4r3h3fy863pvhdh466mrq3f10qca8"; 18 18 } 19 19 else if stdenv.hostPlatform.system == "i686-linux" then 20 20 fetchurl { 21 21 url = "https://download.nomachine.com/download/${versionMajor}/Linux/nomachine_${version}_${versionBuild_i686}_i686.tar.gz"; 22 - sha256 = "1gxiysc09k3jz1pkkyfqgw2fygcnmrnskk6b9vn4fjnvsab4py60"; 22 + sha256 = "0h4c90hzhbg0qdb585bc9gry9cf9hd8r53m2jha4fdqhzd95ydln"; 23 23 } 24 24 else 25 25 throw "NoMachine client is not supported on ${stdenv.hostPlatform.system}"; ··· 90 90 platforms = [ "x86_64-linux" "i686-linux" ]; 91 91 }; 92 92 } 93 -
+1 -1
pkgs/tools/filesystems/moosefs/default.nix
··· 35 35 "/usr/local/lib/pkgconfig" "/nonexistent" 36 36 ''; 37 37 38 - preBuild = lib.optional stdenv.isDarwin '' 38 + preBuild = lib.optionalString stdenv.isDarwin '' 39 39 substituteInPlace config.h --replace \ 40 40 "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" \ 41 41 "#undef HAVE_STRUCT_STAT_ST_BIRTHTIME"
+56
pkgs/tools/inputmethods/emote/default.nix
··· 1 + { lib, fetchFromGitHub, python3Packages, wrapGAppsHook, gobject-introspection, gtk3, keybinder3, xdotool, pango, gdk-pixbuf, atk, librsvg }: 2 + 3 + python3Packages.buildPythonApplication rec { 4 + pname = "emote"; 5 + version = "2.0.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "tom-james-watson"; 9 + repo = "Emote"; 10 + rev = "v${version}"; 11 + sha256 = "kYXFD6VBnuEZ0ZMsF6ZmN4V0JN83puxRILpNlllVsKQ="; 12 + }; 13 + 14 + postPatch = '' 15 + substituteInPlace setup.py --replace "pygobject==3.36.0" "pygobject" 16 + substituteInPlace emote/config.py --replace 'os.environ.get("SNAP")' "'$out/share/emote'" 17 + substituteInPlace snap/gui/emote.desktop --replace "Icon=\''${SNAP}/usr/share/icons/emote.svg" "Icon=emote.svg" 18 + ''; 19 + 20 + nativeBuildInputs = [ 21 + wrapGAppsHook 22 + gobject-introspection 23 + keybinder3 24 + pango 25 + gdk-pixbuf 26 + atk 27 + ]; 28 + 29 + propagatedBuildInputs = [ 30 + python3Packages.pygobject3 31 + gtk3 32 + xdotool 33 + librsvg 34 + ]; 35 + 36 + postInstall = '' 37 + install -D snap/gui/emote.desktop $out/share/applications/emote.desktop 38 + install -D snap/gui/emote.svg $out/share/pixmaps/emote.svg 39 + install -D -t $out/share/emote/static static/{emojis.json,logo.svg,style.css} 40 + ''; 41 + 42 + dontWrapGApps = true; 43 + preFixup = '' 44 + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") 45 + ''; 46 + 47 + doCheck = false; 48 + 49 + meta = with lib; { 50 + description = "A modern emoji picker for Linux"; 51 + homepage = "https://github.com/tom-james-watson/emote"; 52 + license = licenses.gpl3Plus; 53 + maintainers = with maintainers; [ angustrau ]; 54 + platforms = platforms.linux; 55 + }; 56 + }
+23
pkgs/tools/misc/traefik-certs-dumper/default.nix
··· 1 + { fetchFromGitHub, buildGoModule, lib }: 2 + 3 + buildGoModule rec { 4 + pname = "traefik-certs-dumper"; 5 + version = "2.7.4"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "ldez"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "sha256-exkBDrNGvpOz/VD6yfE1PKL4hzs/oZ+RxMwm/ytuV/0="; 12 + }; 13 + 14 + vendorSha256 = "sha256-NmYfdX5BKHZvFzlkh/kkK0voOzNj1EPn53Mz/B7eLd0="; 15 + excludedPackages = "integrationtest"; 16 + 17 + meta = with lib; { 18 + description = "dump ACME data from traefik to certificates"; 19 + homepage = "https://github.com/ldez/traefik-certs-dumper"; 20 + license = licenses.asl20; 21 + maintainers = with maintainers; [ nickcao ]; 22 + }; 23 + }
+2 -2
pkgs/tools/networking/aria2/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "aria2"; 9 - version = "1.35.0"; 9 + version = "1.36.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "aria2"; 13 13 repo = "aria2"; 14 14 rev = "release-${version}"; 15 - sha256 = "195r3711ly3drf9jkygwdc2m7q99hiqlfrig3ip1127b837gzsf9"; 15 + sha256 = "sha256-ErjFfSJDIgZq0qy0Zn5uZ9bZS2AtJq4FuBVuUuQgPTI="; 16 16 }; 17 17 18 18 nativeBuildInputs = [ pkg-config autoreconfHook sphinx ];
+1 -1
pkgs/tools/networking/dhcpcd/default.nix
··· 44 44 installFlags = [ "DBDIR=$(TMPDIR)/db" "SYSCONFDIR=${placeholder "out"}/etc" ]; 45 45 46 46 # Check that the udev plugin got built. 47 - postInstall = lib.optional (udev != null) "[ -e ${placeholder "out"}/lib/dhcpcd/dev/udev.so ]"; 47 + postInstall = lib.optionalString (udev != null) "[ -e ${placeholder "out"}/lib/dhcpcd/dev/udev.so ]"; 48 48 49 49 meta = with lib; { 50 50 description = "A client for the Dynamic Host Configuration Protocol (DHCP)";
+2 -2
pkgs/tools/networking/mu/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "mu"; 10 - version = "1.6.3"; 10 + version = "1.6.4"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "djcb"; 14 14 repo = "mu"; 15 15 rev = version; 16 - sha256 = "hmP2bcoBWMd2GZBE8XtJ5QePpWnkJV5pu69aDmL5V4g="; 16 + sha256 = "rRBi6bgxkVQ94wLBqVQikIE0jVkvm1fjtEzFMsQTJz8="; 17 17 }; 18 18 19 19 postPatch = lib.optionalString (batchSize != null) ''
+4
pkgs/tools/networking/ofono/default.nix
··· 46 46 "--enable-external-ell" 47 47 ]; 48 48 49 + installFlags = [ 50 + "SYSCONFDIR=${placeholder "out"}/etc" 51 + ]; 52 + 49 53 postInstall = '' 50 54 rm -r $out/etc/ofono 51 55 ln -s /etc/ofono $out/etc/ofono
+61
pkgs/tools/security/onlykey-agent/default.nix
··· 1 + { lib 2 + , python3Packages 3 + , onlykey-cli 4 + }: 5 + 6 + let 7 + # onlykey requires a patched version of libagent 8 + lib-agent = with python3Packages; libagent.overridePythonAttrs (oa: rec{ 9 + version = "1.0.2"; 10 + src = fetchPypi { 11 + inherit version; 12 + pname = "lib-agent"; 13 + sha256 = "sha256-NAimivO3m4UUPM4JgLWGq2FbXOaXdQEL/DqZAcy+kEw="; 14 + }; 15 + propagatedBuildInputs = oa.propagatedBuildInputs or [ ] ++ [ 16 + pynacl 17 + docutils 18 + pycryptodome 19 + wheel 20 + ]; 21 + 22 + # turn off testing because I can't get it to work 23 + doCheck = false; 24 + pythonImportsCheck = [ "libagent" ]; 25 + 26 + meta = oa.meta // { 27 + description = "Using OnlyKey as hardware SSH and GPG agent"; 28 + homepage = "https://github.com/trustcrypto/onlykey-agent/tree/ledger"; 29 + maintainers = with maintainers; [ kalbasit ]; 30 + }; 31 + }); 32 + in 33 + python3Packages.buildPythonApplication rec { 34 + pname = "onlykey-agent"; 35 + version = "1.1.11"; 36 + 37 + src = python3Packages.fetchPypi { 38 + inherit pname version; 39 + sha256 = "sha256-YH/cqQOVy5s6dTp2JwxM3s4xRTXgwhOr00whtHAwZZI="; 40 + }; 41 + 42 + propagatedBuildInputs = with python3Packages; [ lib-agent onlykey-cli ]; 43 + 44 + # move the python library into the sitePackages. 45 + postInstall = '' 46 + mkdir $out/${python3Packages.python.sitePackages}/onlykey_agent 47 + mv $out/bin/onlykey_agent.py $out/${python3Packages.python.sitePackages}/onlykey_agent/__init__.py 48 + chmod a-x $out/${python3Packages.python.sitePackages}/onlykey_agent/__init__.py 49 + ''; 50 + 51 + # no tests 52 + doCheck = false; 53 + pythonImportsCheck = [ "onlykey_agent" ]; 54 + 55 + meta = with lib; { 56 + description = " The OnlyKey agent is essentially middleware that lets you use OnlyKey as a hardware SSH/GPG device."; 57 + homepage = "https://github.com/trustcrypto/onlykey-agent"; 58 + license = licenses.lgpl3Only; 59 + maintainers = with maintainers; [ kalbasit ]; 60 + }; 61 + }
+588
pkgs/tools/system/battop/battery.patch
··· 1 + diff --git a/Cargo.lock b/Cargo.lock 2 + index 57ee609..d156cd2 100644 3 + --- a/Cargo.lock 4 + +++ b/Cargo.lock 5 + @@ -1,430 +1,429 @@ 6 + # This file is automatically @generated by Cargo. 7 + # It is not intended for manual editing. 8 + +version = 3 9 + + 10 + [[package]] 11 + name = "autocfg" 12 + version = "0.1.4" 13 + source = "registry+https://github.com/rust-lang/crates.io-index" 14 + +checksum = "0e49efa51329a5fd37e7c79db4621af617cd4e3e5bc224939808d076077077bf" 15 + 16 + [[package]] 17 + name = "battery" 18 + -version = "0.7.4" 19 + +version = "0.7.8" 20 + source = "registry+https://github.com/rust-lang/crates.io-index" 21 + +checksum = "b4b624268937c0e0a3edb7c27843f9e547c320d730c610d3b8e6e8e95b2026e4" 22 + dependencies = [ 23 + - "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", 24 + - "core-foundation 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)", 25 + - "lazycell 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 26 + - "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", 27 + - "mach 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", 28 + - "nix 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)", 29 + - "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 30 + - "uom 0.23.1 (registry+https://github.com/rust-lang/crates.io-index)", 31 + - "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", 32 + + "cfg-if 1.0.0", 33 + + "core-foundation", 34 + + "lazycell", 35 + + "libc", 36 + + "mach", 37 + + "nix", 38 + + "num-traits", 39 + + "uom", 40 + + "winapi", 41 + ] 42 + 43 + [[package]] 44 + name = "battop" 45 + version = "0.2.4" 46 + dependencies = [ 47 + - "battery 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)", 48 + - "humantime 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)", 49 + - "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", 50 + - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 51 + - "stderrlog 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", 52 + - "structopt 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", 53 + - "termion 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)", 54 + - "tui 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", 55 + + "battery", 56 + + "humantime", 57 + + "itertools", 58 + + "log", 59 + + "stderrlog", 60 + + "structopt", 61 + + "termion", 62 + + "tui", 63 + ] 64 + 65 + [[package]] 66 + name = "bitflags" 67 + -version = "1.0.4" 68 + +version = "1.2.1" 69 + source = "registry+https://github.com/rust-lang/crates.io-index" 70 + +checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693" 71 + 72 + [[package]] 73 + name = "cassowary" 74 + version = "0.3.0" 75 + source = "registry+https://github.com/rust-lang/crates.io-index" 76 + +checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" 77 + 78 + [[package]] 79 + name = "cc" 80 + version = "1.0.37" 81 + source = "registry+https://github.com/rust-lang/crates.io-index" 82 + +checksum = "39f75544d7bbaf57560d2168f28fd649ff9c76153874db88bdbdfd839b1a7e7d" 83 + 84 + [[package]] 85 + name = "cfg-if" 86 + version = "0.1.9" 87 + source = "registry+https://github.com/rust-lang/crates.io-index" 88 + +checksum = "b486ce3ccf7ffd79fdeb678eac06a9e6c09fc88d33836340becb8fffe87c5e33" 89 + + 90 + +[[package]] 91 + +name = "cfg-if" 92 + +version = "1.0.0" 93 + +source = "registry+https://github.com/rust-lang/crates.io-index" 94 + +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" 95 + 96 + [[package]] 97 + name = "chrono" 98 + version = "0.4.6" 99 + source = "registry+https://github.com/rust-lang/crates.io-index" 100 + +checksum = "45912881121cb26fad7c38c17ba7daa18764771836b34fab7d3fbd93ed633878" 101 + dependencies = [ 102 + - "num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)", 103 + - "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 104 + - "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)", 105 + + "num-integer", 106 + + "num-traits", 107 + + "time", 108 + ] 109 + 110 + [[package]] 111 + name = "clap" 112 + version = "2.33.0" 113 + source = "registry+https://github.com/rust-lang/crates.io-index" 114 + +checksum = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9" 115 + dependencies = [ 116 + - "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", 117 + - "textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", 118 + - "unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 119 + + "bitflags", 120 + + "textwrap", 121 + + "unicode-width", 122 + ] 123 + 124 + [[package]] 125 + name = "core-foundation" 126 + -version = "0.6.4" 127 + +version = "0.7.0" 128 + source = "registry+https://github.com/rust-lang/crates.io-index" 129 + +checksum = "57d24c7a13c43e870e37c1556b74555437870a04514f7685f5b354e090567171" 130 + dependencies = [ 131 + - "core-foundation-sys 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", 132 + - "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", 133 + + "core-foundation-sys", 134 + + "libc", 135 + ] 136 + 137 + [[package]] 138 + name = "core-foundation-sys" 139 + -version = "0.6.2" 140 + +version = "0.7.0" 141 + source = "registry+https://github.com/rust-lang/crates.io-index" 142 + +checksum = "b3a71ab494c0b5b860bdc8407ae08978052417070c2ced38573a9157ad75b8ac" 143 + 144 + [[package]] 145 + name = "either" 146 + version = "1.5.2" 147 + source = "registry+https://github.com/rust-lang/crates.io-index" 148 + +checksum = "5527cfe0d098f36e3f8839852688e63c8fff1c90b2b405aef730615f9a7bcf7b" 149 + 150 + [[package]] 151 + name = "heck" 152 + version = "0.3.1" 153 + source = "registry+https://github.com/rust-lang/crates.io-index" 154 + +checksum = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205" 155 + dependencies = [ 156 + - "unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 157 + + "unicode-segmentation", 158 + ] 159 + 160 + [[package]] 161 + name = "humantime" 162 + version = "1.2.0" 163 + source = "registry+https://github.com/rust-lang/crates.io-index" 164 + +checksum = "3ca7e5f2e110db35f93b837c81797f3714500b81d517bf20c431b16d3ca4f114" 165 + dependencies = [ 166 + - "quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 167 + + "quick-error", 168 + ] 169 + 170 + [[package]] 171 + name = "itertools" 172 + version = "0.8.0" 173 + source = "registry+https://github.com/rust-lang/crates.io-index" 174 + +checksum = "5b8467d9c1cebe26feb08c640139247fac215782d35371ade9a2136ed6085358" 175 + dependencies = [ 176 + - "either 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)", 177 + + "either", 178 + ] 179 + 180 + [[package]] 181 + name = "lazy_static" 182 + version = "1.3.0" 183 + source = "registry+https://github.com/rust-lang/crates.io-index" 184 + +checksum = "bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604a14" 185 + 186 + [[package]] 187 + name = "lazycell" 188 + -version = "1.2.1" 189 + +version = "1.3.0" 190 + source = "registry+https://github.com/rust-lang/crates.io-index" 191 + +checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" 192 + 193 + [[package]] 194 + name = "libc" 195 + -version = "0.2.58" 196 + +version = "0.2.98" 197 + source = "registry+https://github.com/rust-lang/crates.io-index" 198 + +checksum = "320cfe77175da3a483efed4bc0adc1968ca050b098ce4f2f1c13a56626128790" 199 + 200 + [[package]] 201 + name = "log" 202 + version = "0.4.6" 203 + source = "registry+https://github.com/rust-lang/crates.io-index" 204 + +checksum = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6" 205 + dependencies = [ 206 + - "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", 207 + + "cfg-if 0.1.9", 208 + ] 209 + 210 + [[package]] 211 + name = "mach" 212 + -version = "0.2.3" 213 + +version = "0.3.2" 214 + source = "registry+https://github.com/rust-lang/crates.io-index" 215 + +checksum = "b823e83b2affd8f40a9ee8c29dbc56404c1e34cd2710921f2801e2cf29527afa" 216 + dependencies = [ 217 + - "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", 218 + + "libc", 219 + ] 220 + 221 + [[package]] 222 + name = "nix" 223 + -version = "0.14.0" 224 + +version = "0.19.1" 225 + source = "registry+https://github.com/rust-lang/crates.io-index" 226 + +checksum = "b2ccba0cfe4fdf15982d1674c69b1fd80bad427d293849982668dfe454bd61f2" 227 + dependencies = [ 228 + - "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", 229 + - "cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)", 230 + - "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", 231 + - "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", 232 + - "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", 233 + + "bitflags", 234 + + "cc", 235 + + "cfg-if 1.0.0", 236 + + "libc", 237 + ] 238 + 239 + [[package]] 240 + name = "num-integer" 241 + version = "0.1.41" 242 + source = "registry+https://github.com/rust-lang/crates.io-index" 243 + +checksum = "b85e541ef8255f6cf42bbfe4ef361305c6c135d10919ecc26126c4e5ae94bc09" 244 + dependencies = [ 245 + - "autocfg 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", 246 + - "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 247 + + "autocfg", 248 + + "num-traits", 249 + ] 250 + 251 + [[package]] 252 + name = "num-traits" 253 + version = "0.2.8" 254 + source = "registry+https://github.com/rust-lang/crates.io-index" 255 + +checksum = "6ba9a427cfca2be13aa6f6403b0b7e7368fe982bfa16fccc450ce74c46cd9b32" 256 + dependencies = [ 257 + - "autocfg 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", 258 + + "autocfg", 259 + ] 260 + 261 + [[package]] 262 + name = "numtoa" 263 + version = "0.1.0" 264 + source = "registry+https://github.com/rust-lang/crates.io-index" 265 + +checksum = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef" 266 + 267 + [[package]] 268 + name = "proc-macro2" 269 + version = "0.4.30" 270 + source = "registry+https://github.com/rust-lang/crates.io-index" 271 + +checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" 272 + dependencies = [ 273 + - "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 274 + + "unicode-xid", 275 + ] 276 + 277 + [[package]] 278 + name = "quick-error" 279 + version = "1.2.2" 280 + source = "registry+https://github.com/rust-lang/crates.io-index" 281 + +checksum = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0" 282 + 283 + [[package]] 284 + name = "quote" 285 + version = "0.6.12" 286 + source = "registry+https://github.com/rust-lang/crates.io-index" 287 + +checksum = "faf4799c5d274f3868a4aae320a0a182cbd2baee377b378f080e16a23e9d80db" 288 + dependencies = [ 289 + - "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", 290 + + "proc-macro2", 291 + ] 292 + 293 + [[package]] 294 + name = "redox_syscall" 295 + version = "0.1.54" 296 + source = "registry+https://github.com/rust-lang/crates.io-index" 297 + +checksum = "12229c14a0f65c4f1cb046a3b52047cdd9da1f4b30f8a39c5063c8bae515e252" 298 + 299 + [[package]] 300 + name = "redox_termios" 301 + version = "0.1.1" 302 + source = "registry+https://github.com/rust-lang/crates.io-index" 303 + +checksum = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76" 304 + dependencies = [ 305 + - "redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)", 306 + + "redox_syscall", 307 + ] 308 + 309 + [[package]] 310 + name = "stderrlog" 311 + version = "0.4.1" 312 + source = "registry+https://github.com/rust-lang/crates.io-index" 313 + +checksum = "61dc66b7ae72b65636dbf36326f9638fb3ba27871bb737a62e2c309b87d91b70" 314 + dependencies = [ 315 + - "chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 316 + - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 317 + - "termcolor 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 318 + - "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", 319 + + "chrono", 320 + + "log", 321 + + "termcolor", 322 + + "thread_local", 323 + ] 324 + 325 + [[package]] 326 + name = "structopt" 327 + version = "0.2.17" 328 + source = "registry+https://github.com/rust-lang/crates.io-index" 329 + +checksum = "c767a8971f53d7324583085deee2e230903be09e52fb27df9af94c5cb2b43c31" 330 + dependencies = [ 331 + - "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)", 332 + - "structopt-derive 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)", 333 + + "clap", 334 + + "structopt-derive", 335 + ] 336 + 337 + [[package]] 338 + name = "structopt-derive" 339 + version = "0.2.17" 340 + source = "registry+https://github.com/rust-lang/crates.io-index" 341 + +checksum = "c57a30c87454ced2186f62f940e981746e8cbbe026d52090c8c4352b636f8235" 342 + dependencies = [ 343 + - "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", 344 + - "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", 345 + - "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", 346 + - "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)", 347 + + "heck", 348 + + "proc-macro2", 349 + + "quote", 350 + + "syn", 351 + ] 352 + 353 + [[package]] 354 + name = "syn" 355 + version = "0.15.34" 356 + source = "registry+https://github.com/rust-lang/crates.io-index" 357 + +checksum = "a1393e4a97a19c01e900df2aec855a29f71cf02c402e2f443b8d2747c25c5dbe" 358 + dependencies = [ 359 + - "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", 360 + - "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)", 361 + - "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 362 + + "proc-macro2", 363 + + "quote", 364 + + "unicode-xid", 365 + ] 366 + 367 + [[package]] 368 + name = "termcolor" 369 + version = "0.3.6" 370 + source = "registry+https://github.com/rust-lang/crates.io-index" 371 + +checksum = "adc4587ead41bf016f11af03e55a624c06568b5a19db4e90fde573d805074f83" 372 + dependencies = [ 373 + - "wincolor 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 374 + + "wincolor", 375 + ] 376 + 377 + [[package]] 378 + name = "termion" 379 + version = "1.5.2" 380 + source = "registry+https://github.com/rust-lang/crates.io-index" 381 + +checksum = "dde0593aeb8d47accea5392b39350015b5eccb12c0d98044d856983d89548dea" 382 + dependencies = [ 383 + - "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", 384 + - "numtoa 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 385 + - "redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)", 386 + - "redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 387 + + "libc", 388 + + "numtoa", 389 + + "redox_syscall", 390 + + "redox_termios", 391 + ] 392 + 393 + [[package]] 394 + name = "textwrap" 395 + version = "0.11.0" 396 + source = "registry+https://github.com/rust-lang/crates.io-index" 397 + +checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" 398 + dependencies = [ 399 + - "unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 400 + + "unicode-width", 401 + ] 402 + 403 + [[package]] 404 + name = "thread_local" 405 + version = "0.3.6" 406 + source = "registry+https://github.com/rust-lang/crates.io-index" 407 + +checksum = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b" 408 + dependencies = [ 409 + - "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 410 + + "lazy_static", 411 + ] 412 + 413 + [[package]] 414 + name = "time" 415 + version = "0.1.42" 416 + source = "registry+https://github.com/rust-lang/crates.io-index" 417 + +checksum = "db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f" 418 + dependencies = [ 419 + - "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)", 420 + - "redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)", 421 + - "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", 422 + + "libc", 423 + + "redox_syscall", 424 + + "winapi", 425 + ] 426 + 427 + [[package]] 428 + name = "tui" 429 + version = "0.6.0" 430 + source = "registry+https://github.com/rust-lang/crates.io-index" 431 + +checksum = "8896d3a5cb81557cddef234cdeaa2a219d2af5fa9ccbb3cbdfbb52a576feb86f" 432 + dependencies = [ 433 + - "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", 434 + - "cassowary 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 435 + - "either 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)", 436 + - "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", 437 + - "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 438 + - "termion 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)", 439 + - "unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 440 + - "unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 441 + + "bitflags", 442 + + "cassowary", 443 + + "either", 444 + + "itertools", 445 + + "log", 446 + + "termion", 447 + + "unicode-segmentation", 448 + + "unicode-width", 449 + ] 450 + 451 + [[package]] 452 + name = "typenum" 453 + version = "1.10.0" 454 + source = "registry+https://github.com/rust-lang/crates.io-index" 455 + +checksum = "612d636f949607bdf9b123b4a6f6d966dedf3ff669f7f045890d3a4a73948169" 456 + 457 + [[package]] 458 + name = "unicode-segmentation" 459 + version = "1.3.0" 460 + source = "registry+https://github.com/rust-lang/crates.io-index" 461 + +checksum = "1967f4cdfc355b37fd76d2a954fb2ed3871034eb4f26d60537d88795cfc332a9" 462 + 463 + [[package]] 464 + name = "unicode-width" 465 + version = "0.1.5" 466 + source = "registry+https://github.com/rust-lang/crates.io-index" 467 + +checksum = "882386231c45df4700b275c7ff55b6f3698780a650026380e72dabe76fa46526" 468 + 469 + [[package]] 470 + name = "unicode-xid" 471 + version = "0.1.0" 472 + source = "registry+https://github.com/rust-lang/crates.io-index" 473 + +checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" 474 + 475 + [[package]] 476 + name = "uom" 477 + -version = "0.23.1" 478 + +version = "0.30.0" 479 + source = "registry+https://github.com/rust-lang/crates.io-index" 480 + +checksum = "e76503e636584f1e10b9b3b9498538279561adcef5412927ba00c2b32c4ce5ed" 481 + dependencies = [ 482 + - "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 483 + - "typenum 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)", 484 + + "num-traits", 485 + + "typenum", 486 + ] 487 + 488 + -[[package]] 489 + -name = "void" 490 + -version = "1.0.2" 491 + -source = "registry+https://github.com/rust-lang/crates.io-index" 492 + - 493 + [[package]] 494 + name = "winapi" 495 + version = "0.3.7" 496 + source = "registry+https://github.com/rust-lang/crates.io-index" 497 + +checksum = "f10e386af2b13e47c89e7236a7a14a086791a2b88ebad6df9bf42040195cf770" 498 + dependencies = [ 499 + - "winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", 500 + - "winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", 501 + + "winapi-i686-pc-windows-gnu", 502 + + "winapi-x86_64-pc-windows-gnu", 503 + ] 504 + 505 + [[package]] 506 + name = "winapi-i686-pc-windows-gnu" 507 + version = "0.4.0" 508 + source = "registry+https://github.com/rust-lang/crates.io-index" 509 + +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 510 + 511 + [[package]] 512 + name = "winapi-x86_64-pc-windows-gnu" 513 + version = "0.4.0" 514 + source = "registry+https://github.com/rust-lang/crates.io-index" 515 + +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 516 + 517 + [[package]] 518 + name = "wincolor" 519 + version = "0.1.6" 520 + source = "registry+https://github.com/rust-lang/crates.io-index" 521 + +checksum = "eeb06499a3a4d44302791052df005d5232b927ed1a9658146d842165c4de7767" 522 + dependencies = [ 523 + - "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", 524 + + "winapi", 525 + ] 526 + - 527 + -[metadata] 528 + -"checksum autocfg 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "0e49efa51329a5fd37e7c79db4621af617cd4e3e5bc224939808d076077077bf" 529 + -"checksum battery 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6d6fe5630049e900227cd89afce4c1204b88ec8e61a2581bb96fcce26f047b" 530 + -"checksum bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12" 531 + -"checksum cassowary 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" 532 + -"checksum cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)" = "39f75544d7bbaf57560d2168f28fd649ff9c76153874db88bdbdfd839b1a7e7d" 533 + -"checksum cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "b486ce3ccf7ffd79fdeb678eac06a9e6c09fc88d33836340becb8fffe87c5e33" 534 + -"checksum chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "45912881121cb26fad7c38c17ba7daa18764771836b34fab7d3fbd93ed633878" 535 + -"checksum clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9" 536 + -"checksum core-foundation 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)" = "25b9e03f145fd4f2bf705e07b900cd41fc636598fe5dc452fd0db1441c3f496d" 537 + -"checksum core-foundation-sys 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e7ca8a5221364ef15ce201e8ed2f609fc312682a8f4e0e3d4aa5879764e0fa3b" 538 + -"checksum either 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "5527cfe0d098f36e3f8839852688e63c8fff1c90b2b405aef730615f9a7bcf7b" 539 + -"checksum heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205" 540 + -"checksum humantime 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3ca7e5f2e110db35f93b837c81797f3714500b81d517bf20c431b16d3ca4f114" 541 + -"checksum itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5b8467d9c1cebe26feb08c640139247fac215782d35371ade9a2136ed6085358" 542 + -"checksum lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604a14" 543 + -"checksum lazycell 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f" 544 + -"checksum libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)" = "6281b86796ba5e4366000be6e9e18bf35580adf9e63fbe2294aadb587613a319" 545 + -"checksum log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6" 546 + -"checksum mach 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "86dd2487cdfea56def77b88438a2c915fb45113c5319bfe7e14306ca4cd0b0e1" 547 + -"checksum nix 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0d10caafde29a846a82ae0af70414e4643e072993441033b2c93217957e2f867" 548 + -"checksum num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)" = "b85e541ef8255f6cf42bbfe4ef361305c6c135d10919ecc26126c4e5ae94bc09" 549 + -"checksum num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "6ba9a427cfca2be13aa6f6403b0b7e7368fe982bfa16fccc450ce74c46cd9b32" 550 + -"checksum numtoa 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef" 551 + -"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" 552 + -"checksum quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0" 553 + -"checksum quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)" = "faf4799c5d274f3868a4aae320a0a182cbd2baee377b378f080e16a23e9d80db" 554 + -"checksum redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)" = "12229c14a0f65c4f1cb046a3b52047cdd9da1f4b30f8a39c5063c8bae515e252" 555 + -"checksum redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76" 556 + -"checksum stderrlog 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "61dc66b7ae72b65636dbf36326f9638fb3ba27871bb737a62e2c309b87d91b70" 557 + -"checksum structopt 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)" = "c767a8971f53d7324583085deee2e230903be09e52fb27df9af94c5cb2b43c31" 558 + -"checksum structopt-derive 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)" = "c57a30c87454ced2186f62f940e981746e8cbbe026d52090c8c4352b636f8235" 559 + -"checksum syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)" = "a1393e4a97a19c01e900df2aec855a29f71cf02c402e2f443b8d2747c25c5dbe" 560 + -"checksum termcolor 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "adc4587ead41bf016f11af03e55a624c06568b5a19db4e90fde573d805074f83" 561 + -"checksum termion 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dde0593aeb8d47accea5392b39350015b5eccb12c0d98044d856983d89548dea" 562 + -"checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060" 563 + -"checksum thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b" 564 + -"checksum time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f" 565 + -"checksum tui 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8896d3a5cb81557cddef234cdeaa2a219d2af5fa9ccbb3cbdfbb52a576feb86f" 566 + -"checksum typenum 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "612d636f949607bdf9b123b4a6f6d966dedf3ff669f7f045890d3a4a73948169" 567 + -"checksum unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1967f4cdfc355b37fd76d2a954fb2ed3871034eb4f26d60537d88795cfc332a9" 568 + -"checksum unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "882386231c45df4700b275c7ff55b6f3698780a650026380e72dabe76fa46526" 569 + -"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" 570 + -"checksum uom 0.23.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3ef5bbe8385736e498dbb0033361f764ab43a435192513861447b9f7714b3fec" 571 + -"checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" 572 + -"checksum winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "f10e386af2b13e47c89e7236a7a14a086791a2b88ebad6df9bf42040195cf770" 573 + -"checksum winapi-i686-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" 574 + -"checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" 575 + -"checksum wincolor 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "eeb06499a3a4d44302791052df005d5232b927ed1a9658146d842165c4de7767" 576 + diff --git a/Cargo.toml b/Cargo.toml 577 + index 3d3df77..34b9bc5 100644 578 + --- a/Cargo.toml 579 + +++ b/Cargo.toml 580 + @@ -17,7 +17,7 @@ travis-ci = { repository = "svartalf/rust-battop", branch = "master" } 581 + maintenance = { status = "actively-developed" } 582 + 583 + [dependencies] 584 + -battery = "^0.7" 585 + +battery = "^0.7.7" 586 + structopt = { version = "0.2", default-features = false } 587 + log = "0.4.6" 588 + stderrlog = "0.4.1"
+25
pkgs/tools/system/battop/default.nix
··· 1 + { lib, fetchFromGitHub, rustPlatform }: 2 + 3 + rustPlatform.buildRustPackage rec { 4 + pname = "battop"; 5 + version = "0.2.4"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "svartalf"; 9 + repo = "rust-battop"; 10 + rev = "v${version}"; 11 + sha256 = "0p53jl3r2p1w9m2fvhzzrj8d9gwpzs22df5sbm7wwja4pxn7ay1w"; 12 + }; 13 + 14 + # https://github.com/svartalf/rust-battop/issues/11 15 + cargoPatches = [ ./battery.patch ]; 16 + 17 + cargoSha256 = "0ipmnrn6lmf6rqzsqmaxzy9lblrxyrxzkji968356nxxmwzfbfvh"; 18 + 19 + meta = with lib; { 20 + description = "is an interactive battery viewer"; 21 + homepage = "https://github.com/svartalf/rust-battop"; 22 + license = licenses.asl20; 23 + maintainers = with maintainers; [ hdhog ]; 24 + }; 25 + }
+2 -2
pkgs/tools/system/throttled/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "throttled"; 5 - version = "0.8"; 5 + version = "0.9.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "erpalma"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "0qw124gdgjqij3xhgg8j1mdsg6j0xg340as5qf8hd3gwc38sqi9x"; 11 + sha256 = "sha256-4aDa6REDHO7gr1czIv6NlepeMVJI93agxJjE2vHiEmk="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ python3Packages.wrapPython ];
+10
pkgs/top-level/all-packages.nix
··· 2180 2180 2181 2181 traefik = callPackage ../servers/traefik { }; 2182 2182 2183 + traefik-certs-dumper = callPackage ../tools/misc/traefik-certs-dumper { }; 2184 + 2183 2185 calamares = libsForQt514.callPackage ../tools/misc/calamares { 2184 2186 python = python3; 2185 2187 boost = pkgs.boost.override { python = python3; }; ··· 3703 3701 3704 3702 cicero-tui = callPackage ../tools/misc/cicero-tui { }; 3705 3703 3704 + cilium-cli = callPackage ../applications/networking/cluster/cilium { }; 3705 + 3706 3706 cipherscan = callPackage ../tools/security/cipherscan { 3707 3707 openssl = if stdenv.hostPlatform.system == "x86_64-linux" 3708 3708 then openssl-chacha ··· 4451 4447 eid-mw = callPackage ../tools/security/eid-mw { 4452 4448 autoreconfHook = buildPackages.autoreconfHook269; 4453 4449 }; 4450 + 4451 + emote = callPackage ../tools/inputmethods/emote { }; 4454 4452 4455 4453 engauge-digitizer = libsForQt5.callPackage ../applications/science/math/engauge-digitizer { }; 4456 4454 ··· 7692 7686 }; 7693 7687 7694 7688 onioncircuits = callPackage ../tools/security/onioncircuits { }; 7689 + 7690 + onlykey-agent = callPackage ../tools/security/onlykey-agent { }; 7695 7691 7696 7692 onlykey-cli = callPackage ../tools/security/onlykey-cli { }; 7697 7693 ··· 20477 20469 }; 20478 20470 20479 20471 roon-bridge = callPackage ../servers/roon-bridge { }; 20472 + 20473 + rpiplay = callPackage ../servers/rpiplay { }; 20480 20474 20481 20475 roon-server = callPackage ../servers/roon-server { }; 20482 20476
+4
pkgs/top-level/perl-packages.nix
··· 16905 16905 sha256 = "2ad194f91ef24df4698369c2562d4164e9bf74f2d5565c681841abf79789ed82"; 16906 16906 }; 16907 16907 buildInputs = [ TestDeep ]; 16908 + nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang; 16908 16909 propagatedBuildInputs = [ BKeywords ConfigTiny FileWhich ListMoreUtils ModulePluggable PPIxQuoteLike PPIxRegexp PPIxUtilities PerlTidy PodSpell StringFormat ]; 16909 16910 meta = { 16910 16911 homepage = "http://perlcritic.com"; 16911 16912 description = "Critique Perl source code for best-practices"; 16912 16913 license = with lib.licenses; [ artistic1 gpl1Plus ]; 16913 16914 }; 16915 + postInstall = lib.optionalString stdenv.isDarwin '' 16916 + shortenPerlShebang $out/bin/perlcritic 16917 + ''; 16914 16918 }; 16915 16919 16916 16920 PerlCriticCommunity = buildPerlModule {
+3 -1
pkgs/top-level/python-packages.nix
··· 6079 6079 6080 6080 pygal = callPackage ../development/python-modules/pygal { }; 6081 6081 6082 - pygame = callPackage ../development/python-modules/pygame { }; 6082 + pygame = callPackage ../development/python-modules/pygame { 6083 + inherit (pkgs.darwin.apple_sdk.frameworks) AppKit CoreMIDI; 6084 + }; 6083 6085 6084 6086 pygame_sdl2 = callPackage ../development/python-modules/pygame_sdl2 { }; 6085 6087