lol
0
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
704a7a86 0630061e

+274 -41
+2
nixos/modules/misc/ids.nix
··· 350 350 # shadow = 318; # unused 351 351 hqplayer = 319; 352 352 moonraker = 320; 353 + distcc = 321; 353 354 354 355 # When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399! 355 356 ··· 654 655 shadow = 318; 655 656 hqplayer = 319; 656 657 moonraker = 320; 658 + distcc = 321; 657 659 658 660 # When adding a gid, make sure it doesn't match an existing 659 661 # uid. Users and groups with the same name should have equal
+1
nixos/modules/module-list.nix
··· 374 374 ./services/desktops/zeitgeist.nix 375 375 ./services/development/bloop.nix 376 376 ./services/development/blackfire.nix 377 + ./services/development/distccd.nix 377 378 ./services/development/hoogle.nix 378 379 ./services/development/jupyter/default.nix 379 380 ./services/development/jupyterhub/default.nix
+155
nixos/modules/services/development/distccd.nix
··· 1 + { config, lib, pkgs, ... }: 2 + 3 + with lib; 4 + 5 + let 6 + cfg = config.services.distccd; 7 + in 8 + { 9 + options = { 10 + services.distccd = { 11 + enable = mkEnableOption "distccd"; 12 + 13 + allowedClients = mkOption { 14 + type = types.listOf types.str; 15 + default = [ "127.0.0.1" ]; 16 + example = [ "127.0.0.1" "192.168.0.0/24" "10.0.0.0/24" ]; 17 + description = '' 18 + Client IPs which are allowed to connect to distccd in CIDR notation. 19 + 20 + Anyone who can connect to the distccd server can run arbitrary 21 + commands on that system as the distcc user, therefore you should use 22 + this judiciously. 23 + ''; 24 + }; 25 + 26 + jobTimeout = mkOption { 27 + type = types.nullOr types.int; 28 + default = null; 29 + description = '' 30 + Maximum duration, in seconds, of a single compilation request. 31 + ''; 32 + }; 33 + 34 + logLevel = mkOption { 35 + type = types.nullOr (types.enum [ "critical" "error" "warning" "notice" "info" "debug" ]); 36 + default = "warning"; 37 + description = '' 38 + Set the minimum severity of error that will be included in the log 39 + file. Useful if you only want to see error messages rather than an 40 + entry for each connection. 41 + ''; 42 + }; 43 + 44 + maxJobs = mkOption { 45 + type = types.nullOr types.int; 46 + default = null; 47 + description = '' 48 + Maximum number of tasks distccd should execute at any time. 49 + ''; 50 + }; 51 + 52 + 53 + nice = mkOption { 54 + type = types.nullOr types.int; 55 + default = null; 56 + description = '' 57 + Niceness of the compilation tasks. 58 + ''; 59 + }; 60 + 61 + openFirewall = mkOption { 62 + type = types.bool; 63 + default = false; 64 + description = '' 65 + Opens the specified TCP port for distcc. 66 + ''; 67 + }; 68 + 69 + package = mkOption { 70 + type = types.package; 71 + default = pkgs.distcc; 72 + example = "pkgs.distcc"; 73 + description = '' 74 + The distcc package to use. 75 + ''; 76 + }; 77 + 78 + port = mkOption { 79 + type = types.port; 80 + default = 3632; 81 + description = '' 82 + The TCP port which distccd will listen on. 83 + ''; 84 + }; 85 + 86 + stats = { 87 + enable = mkEnableOption "statistics reporting via HTTP server"; 88 + port = mkOption { 89 + type = types.port; 90 + default = 3633; 91 + description = '' 92 + The TCP port which the distccd statistics HTTP server will listen 93 + on. 94 + ''; 95 + }; 96 + }; 97 + 98 + zeroconf = mkOption { 99 + type = types.bool; 100 + default = false; 101 + description = '' 102 + Whether to register via mDNS/DNS-SD 103 + ''; 104 + }; 105 + }; 106 + }; 107 + 108 + config = mkIf cfg.enable { 109 + networking.firewall = mkIf cfg.openFirewall { 110 + allowedTCPPorts = [ cfg.port ] 111 + ++ optionals cfg.stats.enable [ cfg.stats.port ]; 112 + }; 113 + 114 + systemd.services.distccd = { 115 + after = [ "network.target" ]; 116 + wantedBy = [ "multi-user.target" ]; 117 + 118 + description = "Distributed C, C++ and Objective-C compiler"; 119 + documentation = [ "man:distccd(1)" ]; 120 + 121 + serviceConfig = { 122 + User = "distcc"; 123 + Group = "distcc"; 124 + # FIXME: I'd love to get rid of `--enable-tcp-insecure` here, but I'm 125 + # not sure how I'm supposed to get distccd to "accept" running a binary 126 + # (the compiler) that's outside of /usr/lib. 127 + ExecStart = pkgs.writeShellScript "start-distccd" '' 128 + export PATH="${pkgs.distccMasquerade}/bin" 129 + ${cfg.package}/bin/distccd \ 130 + --no-detach \ 131 + --daemon \ 132 + --enable-tcp-insecure \ 133 + --port ${toString cfg.port} \ 134 + ${optionalString (cfg.jobTimeout != null) "--job-lifetime ${toString cfg.jobTimeout}"} \ 135 + ${optionalString (cfg.logLevel != null) "--log-level ${cfg.logLevel}"} \ 136 + ${optionalString (cfg.maxJobs != null) "--jobs ${toString cfg.maxJobs}"} \ 137 + ${optionalString (cfg.nice != null) "--nice ${toString cfg.nice}"} \ 138 + ${optionalString cfg.stats.enable "--stats"} \ 139 + ${optionalString cfg.stats.enable "--stats-port ${toString cfg.stats.port}"} \ 140 + ${optionalString cfg.zeroconf "--zeroconf"} \ 141 + ${concatMapStrings (c: "--allow ${c} ") cfg.allowedClients} 142 + ''; 143 + }; 144 + }; 145 + 146 + users = { 147 + groups.distcc.gid = config.ids.gids.distcc; 148 + users.distcc = { 149 + description = "distccd user"; 150 + group = "distcc"; 151 + uid = config.ids.uids.distcc; 152 + }; 153 + }; 154 + }; 155 + }
+3 -3
pkgs/applications/networking/ipfs-cluster/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "ipfs-cluster"; 5 - version = "0.14.0"; 5 + version = "0.14.1"; 6 6 7 - vendorSha256 = "sha256-I8UJxqzbcOE6pHsKkktrEXVHurxwe0D20GZZmASdWH4="; 7 + vendorSha256 = "sha256-vDNWYgWlM3kJqlHW/6Bj6P+t6M61TvOVRJwDN2p0mi4="; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "ipfs"; 11 11 repo = "ipfs-cluster"; 12 12 rev = "v${version}"; 13 - sha256 = "sha256-lB0sYsbZfUJgQVNEFLoXNFszWYxlXNEQbRQWA7fRT2A="; 13 + sha256 = "sha256-GELCd12LhA4CBe9DRRBu4r+AwCksaRVIWcSAJScvnbk="; 14 14 }; 15 15 16 16 meta = with lib; {
+2 -2
pkgs/applications/networking/mailreaders/notmuch/default.nix
··· 11 11 12 12 stdenv.mkDerivation rec { 13 13 pname = "notmuch"; 14 - version = "0.32.2"; 14 + version = "0.32.3"; 15 15 16 16 src = fetchurl { 17 17 url = "https://notmuchmail.org/releases/notmuch-${version}.tar.xz"; 18 - sha256 = "1myylb19hj5nb1vriqng252vfjwwkgbi3gxj93pi2q1fzyw7w2lf"; 18 + sha256 = "114bbyjl2ppmy4pw0b5zwmi7lxiz6xd1k6zq0qcgdv7ahkwgybxy"; 19 19 }; 20 20 21 21 nativeBuildInputs = [
+8 -6
pkgs/development/libraries/intel-media-driver/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub 2 2 , cmake, pkg-config 3 3 , libva, libpciaccess, intel-gmmlib 4 - , enableX11 ? true, libX11 4 + , enableX11 ? stdenv.isLinux, libX11 5 5 }: 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "intel-media-driver"; 9 9 version = "21.3.2"; 10 + 11 + outputs = [ "out" "dev" ]; 10 12 11 13 src = fetchFromGitHub { 12 14 owner = "intel"; ··· 27 29 buildInputs = [ libva libpciaccess intel-gmmlib ] 28 30 ++ lib.optional enableX11 libX11; 29 31 32 + postFixup = lib.optionalString enableX11 '' 33 + patchelf --set-rpath "$(patchelf --print-rpath $out/lib/dri/iHD_drv_video.so):${lib.makeLibraryPath [ libX11 ]}" \ 34 + $out/lib/dri/iHD_drv_video.so 35 + ''; 36 + 30 37 meta = with lib; { 31 38 description = "Intel Media Driver for VAAPI — Broadwell+ iGPUs"; 32 39 longDescription = '' ··· 40 47 platforms = platforms.linux; 41 48 maintainers = with maintainers; [ primeos jfrankenau ]; 42 49 }; 43 - 44 - postFixup = lib.optionalString enableX11 '' 45 - patchelf --set-rpath "$(patchelf --print-rpath $out/lib/dri/iHD_drv_video.so):${lib.makeLibraryPath [ libX11 ]}" \ 46 - $out/lib/dri/iHD_drv_video.so 47 - ''; 48 50 }
+2 -2
pkgs/development/python-modules/flexmock/default.nix
··· 6 6 7 7 buildPythonPackage rec { 8 8 pname = "flexmock"; 9 - version = "0.10.5"; 9 + version = "0.10.8"; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "003422fdbcf5d6570e60a0eafeb54c0af624c6cddab5fc3bfe026e52dd0f9c5a"; 13 + sha256 = "6820031c39b298646194a3f0b2b693322bb7f44b39dbaf1c54b0ae68b3d768fa"; 14 14 }; 15 15 16 16 checkInputs = [ pytest ];
+5 -9
pkgs/development/python-modules/pglast/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchFromGitHub 3 + , fetchPypi 4 4 , isPy3k 5 5 , setuptools 6 6 , pytest-cov ··· 9 9 10 10 buildPythonPackage rec { 11 11 pname = "pglast"; 12 - version = "3.3"; 12 + version = "3.4"; 13 13 14 - # PyPI tarball does not include all the required files 15 - src = fetchFromGitHub { 16 - owner = "lelit"; 17 - repo = pname; 18 - rev = "v${version}"; 19 - fetchSubmodules = true; 20 - sha256 = "0l7nvbs1x1qil6mc0rxk7925i5xr3nbqnv0vakx3yv911kj3yhgv"; 14 + src = fetchPypi { 15 + inherit pname version; 16 + sha256 = "d2288d9607097a08529d9165970261c1be956934e8a8f6d9ed2a96d9b8f03fc6"; 21 17 }; 22 18 23 19 disabled = !isPy3k;
+2 -2
pkgs/development/python-modules/qcelemental/default.nix
··· 4 4 5 5 buildPythonPackage rec { 6 6 pname = "qcelemental"; 7 - version = "0.21.0"; 7 + version = "0.22.0"; 8 8 9 9 checkInputs = [ pytest-runner pytest-cov pytest ]; 10 10 propagatedBuildInputs = [ numpy pydantic pint networkx ]; 11 11 12 12 src = fetchPypi { 13 13 inherit pname version; 14 - sha256 = "1b3c78fxbpnddrm1fnbvv4x2840jcfjg2l5cb5w4p38vzksiv238"; 14 + sha256 = "1d7fc613fbe30189cfa970a863a5955865b1116ff651d20325c721b6f0ef1f52"; 15 15 }; 16 16 17 17 doCheck = true;
+2 -2
pkgs/development/python-modules/sparse/default.nix
··· 12 12 13 13 buildPythonPackage rec { 14 14 pname = "sparse"; 15 - version = "0.12.0"; 15 + version = "0.13.0"; 16 16 17 17 disabled = !isPy3k; 18 18 19 19 src = fetchPypi { 20 20 inherit pname version; 21 - sha256 = "2c95c3b8ee00211a5aa4ef5e46006d25bf35009a66e406b7ea9b25b327fb9516"; 21 + sha256 = "685dc994aa770ee1b23f2d5392819c8429f27958771f8dceb2c4fb80210d5915"; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+9 -6
pkgs/os-specific/linux/zfs/default.nix
··· 26 26 buildKernel = any (n: n == configFile) [ "kernel" "all" ]; 27 27 buildUser = any (n: n == configFile) [ "user" "all" ]; 28 28 29 + # XXX: You always want to build kernel modules with the same stdenv as the 30 + # kernel was built with. However, since zfs can also be built for userspace we 31 + # need to correctly pick between the provided/default stdenv, and the one used 32 + # by the kernel. 33 + # If you don't do this your ZFS builds will fail on any non-standard (e.g. 34 + # clang-built) kernels. 35 + stdenv' = if kernel == null then stdenv else kernel.stdenv; 36 + 29 37 common = { version 30 38 , sha256 31 39 , extraPatches ? [] ··· 34 42 , latestCompatibleLinuxPackages 35 43 , kernelCompatible ? null }: 36 44 37 - stdenv.mkDerivation { 45 + stdenv'.mkDerivation { 38 46 name = "zfs-${configFile}-${version}${optionalString buildKernel "-${kernel.version}"}"; 39 47 40 48 src = fetchFromGitHub { ··· 47 55 48 56 postPatch = optionalString buildKernel '' 49 57 patchShebangs scripts 50 - 51 - # https://github.com/openzfs/zfs/issues/10107 52 - substituteInPlace ./config/kernel.m4 \ 53 - --replace "make modules" "make CC=$CC modules" 54 - 55 58 # The arrays must remain the same length, so we repeat a flag that is 56 59 # already part of the command and therefore has no effect. 57 60 substituteInPlace ./module/os/linux/zfs/zfs_ctldir.c \
+2 -2
pkgs/servers/nats-server/default.nix
··· 4 4 5 5 buildGoPackage rec { 6 6 pname = "nats-server"; 7 - version = "2.3.4"; 7 + version = "2.4.0"; 8 8 9 9 goPackagePath = "github.com/nats-io/${pname}"; 10 10 ··· 12 12 rev = "v${version}"; 13 13 owner = "nats-io"; 14 14 repo = pname; 15 - sha256 = "sha256-VNnL1v7R8cko9C/494XJh4aMRZv459tAHys9nmrA9QE="; 15 + sha256 = "sha256-v758qj1dy8zh3zfZxKkKALxZqNAxc1XdtTW4dxU4l5A="; 16 16 }; 17 17 18 18 meta = {
+28
pkgs/tools/misc/cope/default.nix
··· 1 + { lib, fetchFromGitHub, perl, perlPackages, makeWrapper, }: 2 + 3 + perlPackages.buildPerlPackage rec { 4 + pname = "cope"; 5 + version = "unstable-2015-01-29"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "lotrfan"; 9 + repo = pname; 10 + rev = "0dc82a939a9498ff80caf472841c279dfe03efae"; 11 + sha256 = "sha256-Tkv26M6YnaUB0nudjKGG482fvUkCobPk0VF1manBCoY="; 12 + }; 13 + 14 + buildInputs = with perlPackages; [ EnvPath FileShareDir IOPty IOStty ListMoreUtils RegexpCommon RegexpIPv6 ]; 15 + 16 + postInstall = '' 17 + mkdir -p $out/bin 18 + mv $out/lib/perl5/site_perl/${perl.version}/auto/share/dist/Cope/* $out/bin/ 19 + rm -r $out/lib/perl5/site_perl/${perl.version}/auto 20 + ''; 21 + 22 + meta = with lib; { 23 + description = "A colourful wrapper for terminal programs"; 24 + homepage = "https://github.com/lotrfan/cope"; 25 + license = with licenses; [ artistic1 gpl1Plus ]; 26 + maintainers = with maintainers; [ SuperSandro2000 ]; 27 + }; 28 + }
+1
pkgs/tools/misc/tealdeer/default.nix
··· 40 40 homepage = "https://github.com/dbrgn/tealdeer"; 41 41 maintainers = with maintainers; [ davidak ]; 42 42 license = with licenses; [ asl20 mit ]; 43 + mainProgram = "tldr"; 43 44 }; 44 45 }
+16 -7
pkgs/tools/misc/yt-dlp/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi 2 - , ffmpeg, rtmpdump, phantomjs2, atomicparsley, pycryptodome 3 - , websockets, mutagen 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + , ffmpeg 5 + , rtmpdump 6 + , phantomjs2 7 + , atomicparsley 8 + , pycryptodome 9 + , websockets 10 + , mutagen 4 11 , ffmpegSupport ? true 5 12 , rtmpSupport ? true 6 13 , phantomjsSupport ? false ··· 12 19 # The websites yt-dlp deals with are a very moving target. That means that 13 20 # downloads break constantly. Because of that, updates should always be backported 14 21 # to the latest stable release. 15 - version = "2021.08.10"; 22 + version = "2021.9.2"; 16 23 17 24 src = fetchPypi { 18 25 inherit pname; 19 26 version = builtins.replaceStrings [ ".0" ] [ "." ] version; 20 - sha256 = "8da1bf4dc4641d37d137443c4783109ee8393caad5e0d270d9d1d534e8f25240"; 27 + sha256 = "sha256-yn53zbBVuiaD31sIB6qxweEgy+AsjzXZ0yk9lNva6mM="; 21 28 }; 22 29 23 30 # build_lazy_extractors assumes this directory exists but it is not present in ··· 33 40 # - ffmpeg: post-processing & transcoding support 34 41 # - rtmpdump: download files over RTMP 35 42 # - atomicparsley: embedding thumbnails 36 - makeWrapperArgs = let 43 + makeWrapperArgs = 44 + let 37 45 packagesToBinPath = [ atomicparsley ] 38 46 ++ lib.optional ffmpegSupport ffmpeg 39 47 ++ lib.optional rtmpSupport rtmpdump 40 48 ++ lib.optional phantomjsSupport phantomjs2; 41 - in [ ''--prefix PATH : "${lib.makeBinPath packagesToBinPath}"'' ]; 49 + in 50 + [ ''--prefix PATH : "${lib.makeBinPath packagesToBinPath}"'' ]; 42 51 43 52 setupPyBuildFlags = [ 44 53 "build_lazy_extractors"
+2
pkgs/top-level/all-packages.nix
··· 877 877 878 878 amidst = callPackage ../tools/games/minecraft/amidst { }; 879 879 880 + cope = callPackage ../tools/misc/cope { }; 881 + 880 882 gamemode = callPackage ../tools/games/gamemode { 881 883 libgamemode32 = pkgsi686Linux.gamemode.lib; 882 884 };
+34
pkgs/top-level/perl-packages.nix
··· 10643 10643 propagatedBuildInputs = [ pkgs.more FileWhich TermReadKey ]; # `more` used in tests 10644 10644 }; 10645 10645 10646 + IOPty = buildPerlModule { 10647 + pname = "IO-Pty"; 10648 + version = "1.16"; 10649 + src = fetchurl { 10650 + url = "mirror://cpan/authors/id/T/TO/TODDR/IO-Tty-1.16.tar.gz"; 10651 + sha256 = "sha256-jxoJwHBzitxpXfkD8uf3QwjdjZkbkUwLw5Cg5gISlN0="; 10652 + }; 10653 + buildPhase = "make"; 10654 + checkPhase = "make test"; 10655 + installPhase = "make install"; 10656 + meta = { 10657 + homepage = "https://github.com/toddr/IO-Tty"; 10658 + description = "Pseudo TTY object class"; 10659 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 10660 + }; 10661 + }; 10662 + 10646 10663 IOPrompt = buildPerlModule { 10647 10664 pname = "IO-Prompt"; 10648 10665 version = "0.997004"; ··· 10732 10749 src = fetchurl { 10733 10750 url = "mirror://cpan/authors/id/C/CA/CAPOEIRAB/IO-Stringy-2.113.tar.gz"; 10734 10751 sha256 = "0kpycb56l6ilvmdx9swx9wpj1x3vfnqdflfjd6dn6spnz750y8ji"; 10752 + }; 10753 + }; 10754 + 10755 + IOStty = buildPerlModule { 10756 + pname = "IO-Stty"; 10757 + version = "0.04"; 10758 + src = fetchurl { 10759 + url = "mirror://cpan/authors/id/T/TO/TODDR/IO-Stty-0.04.tar.gz"; 10760 + sha256 = "sha256-XJUJ8ahpPYKH+gE97wv4eqZM2ScThGHvjetVUDxmUcI="; 10761 + }; 10762 + buildPhase = "make"; 10763 + checkPhase = "make test"; 10764 + installPhase = "make install"; 10765 + meta = { 10766 + homepage = "http://wiki.github.com/toddr/IO-Stty"; 10767 + description = "Change and print terminal line settings"; 10768 + license = with lib.licenses; [ artistic1 gpl1Plus ]; 10735 10769 }; 10736 10770 }; 10737 10771