lol

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
56fa4571 b72f4a4a

+553 -170
+6
maintainers/maintainer-list.nix
··· 1070 1070 githubId = 55833; 1071 1071 name = "Troels Henriksen"; 1072 1072 }; 1073 + atila = { 1074 + name = "Átila Saraiva"; 1075 + email = "atilasaraiva@gmail.com"; 1076 + github = "AtilaSaraiva"; 1077 + githubId = 29521461; 1078 + }; 1073 1079 atkinschang = { 1074 1080 email = "atkinschang+nixpkgs@gmail.com"; 1075 1081 github = "AtkinsChang";
-4
nixos/modules/services/networking/firewall.nix
··· 179 179 ) cfg.allowedUDPPortRanges 180 180 ) allInterfaces)} 181 181 182 - # Accept IPv4 multicast. Not a big security risk since 183 - # probably nobody is listening anyway. 184 - #iptables -A nixos-fw -d 224.0.0.0/4 -j nixos-fw-accept 185 - 186 182 # Optionally respond to ICMPv4 pings. 187 183 ${optionalString cfg.allowPing '' 188 184 iptables -w -A nixos-fw -p icmp --icmp-type echo-request ${optionalString (cfg.pingLimit != null)
+1 -3
nixos/modules/services/security/step-ca.nix
··· 1 - { config, lib, pkgs, nixosTests, ... }: 1 + { config, lib, pkgs, ... }: 2 2 let 3 3 cfg = config.services.step-ca; 4 4 settingsFormat = (pkgs.formats.json { }); ··· 82 82 }); 83 83 in 84 84 { 85 - passthru.tests.step-ca = nixosTests.step-ca; 86 - 87 85 assertions = 88 86 [ 89 87 {
+1 -1
nixos/tests/prometheus-exporters.nix
··· 672 672 basicAuth.nextcloud-exporter = "snakeoilpw"; 673 673 locations."/" = { 674 674 root = "${pkgs.prometheus-nextcloud-exporter.src}/serverinfo/testdata"; 675 - tryFiles = "/negative-space.xml =404"; 675 + tryFiles = "/negative-space.json =404"; 676 676 }; 677 677 }; 678 678 };
+3 -3
pkgs/applications/audio/reaper/default.nix
··· 17 17 18 18 stdenv.mkDerivation rec { 19 19 pname = "reaper"; 20 - version = "6.46"; 20 + version = "6.47"; 21 21 22 22 src = fetchurl { 23 23 url = "https://www.reaper.fm/files/${lib.versions.major version}.x/reaper${builtins.replaceStrings ["."] [""] version}_linux_${stdenv.hostPlatform.qemuArch}.tar.xz"; 24 24 hash = { 25 - x86_64-linux = "sha256-cHjiO2hRK8gUaq2VfuE9GOtRJ0JyfH2rhdIbK+RxoEM="; 26 - aarch64-linux = "sha256-j+05SdyDWzI1fekwwQ2RAGontEvppkUWPYfZEtOVXYg="; 25 + x86_64-linux = "sha256-31HmIx/ohbrzu5uj8KOOZiHNCmXwng9h+fIGaJfYyqA="; 26 + aarch64-linux = "sha256-CMmcBpaZ6BEZJ1144aQhOJ/o2NrGD7/8aq+ObLVMXYE="; 27 27 }.${stdenv.hostPlatform.system}; 28 28 }; 29 29
+3 -3
pkgs/applications/misc/lscolors/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "lscolors"; 5 - version = "0.8.1"; 5 + version = "0.9.0"; 6 6 7 7 src = fetchCrate { 8 8 inherit version pname; 9 - sha256 = "sha256-74KNnERhyiZamVyS9yzDNVf33KMqDiSfPb5BCTKFuHA="; 9 + sha256 = "sha256-8r1MTc6sSgHXuioagj7K4f6Kf4WYnnpie17tvzhz7+M="; 10 10 }; 11 11 12 - cargoSha256 = "sha256-mjGZ/q9BByndwfnFGk6k5KD9ctY0X0/oaEugiOJY8Ms="; 12 + cargoSha256 = "sha256-GsrQKv34EWepq0ihRmINMkShl8nyGQ1Q2De+1Y53TUo="; 13 13 14 14 # setid is not allowed in the sandbox 15 15 checkFlags = [ "--skip=tests::style_for_setid" ];
+2 -2
pkgs/applications/science/math/polymake/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "polymake"; 15 - version = "4.5"; 15 + version = "4.6"; 16 16 17 17 src = fetchurl { 18 18 # "The minimal version is a packager friendly version which omits 19 19 # the bundled sources of cdd, lrs, libnormaliz, nauty and jReality." 20 20 url = "https://polymake.org/lib/exe/fetch.php/download/polymake-${version}-minimal.tar.bz2"; 21 - sha256 = "sha256-6UPUuzHBEvrYUjQONZW8WRwgcGkqFtUBg6OxBFZteZY="; 21 + sha256 = "sha256-QjpE3e8R6uqEV6sV3V2G3beovMbJuxF3b54pWNfc+dA="; 22 22 }; 23 23 24 24 buildInputs = [
+2 -2
pkgs/applications/video/droidcam/default.nix
··· 5 5 6 6 stdenv.mkDerivation rec { 7 7 pname = "droidcam"; 8 - version = "1.8.1"; 8 + version = "1.8.2"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "aramg"; 12 12 repo = "droidcam"; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-3iA7GDTiCx5vHawj8ZBFAK0BIfmxEFuQrVfL7Gi6FhM="; 14 + sha256 = "sha256-AxJBpoiBnb+5Pq/h4giOYAeLlvOtAJT5sCwzPEKo7w4="; 15 15 }; 16 16 17 17 nativeBuildInputs = [
+2 -2
pkgs/data/icons/numix-icon-theme-circle/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "numix-icon-theme-circle"; 5 - version = "22.01.15"; 5 + version = "22.02.06"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "numixproject"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-mOjNztzvSdKN4fgbcwYWA+iaYiRIa8v6EeK7eyX0lTs="; 11 + sha256 = "sha256-a+h5DMxVM1TPVx8yuKwRzjjnBLnIWMCCKG+BPg1Hq5Y="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ gtk3 ];
+2 -2
pkgs/data/icons/numix-icon-theme-square/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "numix-icon-theme-square"; 5 - version = "22.01.15"; 5 + version = "22.02.06"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "numixproject"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-z1eLDJWvpUh4qSGz9xu/NcZjpC0Asj8v4HuUxiQO0cQ="; 11 + sha256 = "sha256-dKBNB1udRysDe3HbUh2qudQDeLgS/wmSnY3nAWnmjQo="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ gtk3 ];
+2 -2
pkgs/data/icons/tela-icon-theme/default.nix
··· 2 2 3 3 stdenvNoCC.mkDerivation rec { 4 4 pname = "tela-icon-theme"; 5 - version = "2021-12-25"; 5 + version = "2022-01-25"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "vinceliuice"; 9 9 repo = pname; 10 10 rev = version; 11 - sha256 = "sha256-qlt9jv3lCPVFBeN4aQd4r9NE0YAxWQavMoo13cvhv6E="; 11 + sha256 = "sha256-XKNSCWwanm2dP002TY/mE4SDX13TllHrbrb55V4wLSQ="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ gtk3 jdupes ];
+2 -2
pkgs/development/interpreters/rakudo/zef.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "zef"; 5 - version = "0.13.6"; 5 + version = "0.13.7"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "ugexe"; 9 9 repo = "zef"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-Bios3h2bcR6PntFt6JWF7l5u6gjKaljS8HsKfTf+0X8="; 11 + sha256 = "sha256-FEQwe9MkP+tFZgXiR3hrNS+Jyavj85oYql3uOLP3nwc="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ makeWrapper ];
+35 -3
pkgs/development/libraries/duckdb/default.nix
··· 1 - { lib, stdenv 1 + { lib 2 + , stdenv 2 3 , fetchFromGitHub 3 4 , cmake 5 + , ninja 6 + , openssl 7 + , openjdk11 8 + , unixODBC 9 + , withHttpFs ? true 10 + , withJdbc ? false 11 + , withOdbc ? false 4 12 }: 5 13 14 + let 15 + enableFeature = yes: if yes then "ON" else "OFF"; 16 + in 6 17 stdenv.mkDerivation rec { 7 18 pname = "duckdb"; 8 19 version = "0.3.2"; ··· 14 25 sha256 = "sha256-F5YOqDeY3rgcnuu5SNqOfUxhsaXgqvdJZTnD1unI0tc="; 15 26 }; 16 27 17 - nativeBuildInputs = [ cmake ]; 28 + patches = [ ./version.patch ]; 29 + postPatch = '' 30 + substituteInPlace CMakeLists.txt --subst-var-by DUCKDB_VERSION "v${version}" 31 + ''; 32 + 33 + cmakeFlags = [ 34 + "-DBUILD_FTS_EXTENSION=ON" 35 + "-DBUILD_HTTPFS_EXTENSION=${enableFeature withHttpFs}" 36 + "-DBUILD_ICU_EXTENSION=ON" 37 + "-DBUILD_ODBC_DRIVER=${enableFeature withOdbc}" 38 + "-DBUILD_PARQUET_EXTENSION=ON" 39 + "-DBUILD_REST_EXTENSION=ON" 40 + "-DBUILD_TPCDS_EXTENSION=ON" 41 + "-DBUILD_TPCH_EXTENSION=ON" 42 + "-DBUILD_VISUALIZER_EXTENSION=ON" 43 + "-DJDBC_DRIVER=${enableFeature withJdbc}" 44 + ]; 45 + 46 + nativeBuildInputs = [ cmake ninja ]; 47 + buildInputs = lib.optionals withHttpFs [ openssl ] 48 + ++ lib.optionals withJdbc [ openjdk11 ] 49 + ++ lib.optionals withOdbc [ unixODBC ]; 18 50 19 51 meta = with lib; { 20 52 homepage = "https://github.com/duckdb/duckdb"; 21 53 description = "Embeddable SQL OLAP Database Management System"; 22 54 license = licenses.mit; 23 55 platforms = platforms.all; 24 - maintainers = with maintainers; [ costrouc ]; 56 + maintainers = with maintainers; [ costrouc cpcloud ]; 25 57 }; 26 58 }
+51
pkgs/development/libraries/duckdb/version.patch
··· 1 + diff --git a/CMakeLists.txt b/CMakeLists.txt 2 + index 92c097228..5f51929f6 100644 3 + --- a/CMakeLists.txt 4 + +++ b/CMakeLists.txt 5 + @@ -157,45 +157,7 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "SunOS") 6 + set(SUN TRUE) 7 + endif() 8 + 9 + -execute_process( 10 + - COMMAND git log -1 --format=%h 11 + - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} 12 + - RESULT_VARIABLE GIT_RESULT 13 + - OUTPUT_VARIABLE GIT_COMMIT_HASH 14 + - OUTPUT_STRIP_TRAILING_WHITESPACE) 15 + -execute_process( 16 + - COMMAND git describe --tags --abbrev=0 17 + - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} 18 + - OUTPUT_VARIABLE GIT_LAST_TAG 19 + - OUTPUT_STRIP_TRAILING_WHITESPACE) 20 + -execute_process( 21 + - COMMAND git describe --tags --long 22 + - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} 23 + - OUTPUT_VARIABLE GIT_ITERATION 24 + - OUTPUT_STRIP_TRAILING_WHITESPACE) 25 + - 26 + -if(GIT_RESULT EQUAL "0") 27 + - string(REGEX REPLACE "v([0-9]+).[0-9]+.[0-9]+" "\\1" DUCKDB_MAJOR_VERSION "${GIT_LAST_TAG}") 28 + - string(REGEX REPLACE "v[0-9]+.([0-9]+).[0-9]+" "\\1" DUCKDB_MINOR_VERSION "${GIT_LAST_TAG}") 29 + - string(REGEX REPLACE "v[0-9]+.[0-9]+.([0-9]+)" "\\1" DUCKDB_PATCH_VERSION "${GIT_LAST_TAG}") 30 + - string(REGEX REPLACE ".*-([0-9]+)-.*" "\\1" DUCKDB_DEV_ITERATION "${GIT_ITERATION}") 31 + - 32 + - if(DUCKDB_DEV_ITERATION EQUAL 0) 33 + - # on a tag; directly use the version 34 + - set(DUCKDB_VERSION "${GIT_LAST_TAG}") 35 + - else() 36 + - # not on a tag, increment the patch version by one and add a -devX suffix 37 + - math(EXPR DUCKDB_PATCH_VERSION "${DUCKDB_PATCH_VERSION}+1") 38 + - set(DUCKDB_VERSION "v${DUCKDB_MAJOR_VERSION}.${DUCKDB_MINOR_VERSION}.${DUCKDB_PATCH_VERSION}-dev${DUCKDB_DEV_ITERATION}") 39 + - endif() 40 + -else() 41 + - # fallback for when building from tarball 42 + - set(DUCKDB_MAJOR_VERSION 0) 43 + - set(DUCKDB_MINOR_VERSION 0) 44 + - set(DUCKDB_PATCH_VERSION 1) 45 + - set(DUCKDB_DEV_ITERATION 0) 46 + - set(DUCKDB_VERSION "v${DUCKDB_MAJOR_VERSION}.${DUCKDB_MINOR_VERSION}.${DUCKDB_PATCH_VERSION}-dev${DUCKDB_DEV_ITERATION}") 47 + -endif() 48 + +set(DUCKDB_VERSION "@DUCKDB_VERSION@") 49 + 50 + option(AMALGAMATION_BUILD 51 + "Build from the amalgamation files, rather than from the normal sources."
+2 -2
pkgs/development/libraries/libadwaita/default.nix
··· 21 21 22 22 stdenv.mkDerivation rec { 23 23 pname = "libadwaita"; 24 - version = "1.0.1"; 24 + version = "1.0.2"; 25 25 26 26 outputs = [ "out" "dev" "devdoc" ]; 27 27 outputBin = "devdoc"; # demo app ··· 31 31 owner = "GNOME"; 32 32 repo = "libadwaita"; 33 33 rev = version; 34 - sha256 = "sha256-2+elMEZwDPWkPDrmvLH5rxulh1tq6fgsMhbTdbrWe54="; 34 + hash = "sha256-D7Qq8yAWkr/G5I4k8G1+viJkEJSrCBAg31Q+g3U9FcQ="; 35 35 }; 36 36 37 37 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/science/math/petsc/default.nix
··· 18 18 19 19 stdenv.mkDerivation rec { 20 20 pname = "petsc"; 21 - version = "3.16.2"; 21 + version = "3.16.4"; 22 22 23 23 src = fetchurl { 24 24 url = "http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-${version}.tar.gz"; 25 - sha256 = "sha256-erJXrhUNSDesjThyodIGmXliV4eF7CQnY5zqxG0TG7w="; 25 + sha256 = "sha256-IpzOIr3P7bH+gn0wbtGvypc3eGzcPwVit0oZZsEkPK8="; 26 26 }; 27 27 28 28 mpiSupport = !withp4est || p4est.mpiSupport;
+2 -2
pkgs/development/libraries/science/math/suitesparse-graphblas/default.nix
··· 6 6 7 7 stdenv.mkDerivation rec { 8 8 pname = "suitesparse-graphblas"; 9 - version = "4.0.3"; 9 + version = "6.1.4"; 10 10 11 11 outputs = [ "out" "dev" ]; 12 12 ··· 14 14 owner = "DrTimothyAldenDavis"; 15 15 repo = "GraphBLAS"; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-Bf3+w/kQtFpeUGp2zWVqja535EbaUw7DbhCw54B6A8k="; 17 + sha256 = "sha256-pjb4Q9b+5hcI0ZYoez46V/ve4+1GJORu2ZGweceaWDY="; 18 18 }; 19 19 20 20 nativeBuildInputs = [
+2 -2
pkgs/development/php-packages/igbinary/default.nix
··· 3 3 buildPecl { 4 4 pname = "igbinary"; 5 5 6 - version = "3.2.6"; 7 - sha256 = "sha256-yjLjlezbREemnV6lGzX+sZw7xXWbRolv729+LKQajkM="; 6 + version = "3.2.7"; 7 + sha256 = "sha256-0NwNC1aphfT1LOogcXEz09oFNoh2vA+UMXweYOAxnn0="; 8 8 9 9 configureFlags = [ "--enable-igbinary" ]; 10 10 makeFlags = [ "phpincludedir=$(dev)/include" ];
+2 -2
pkgs/development/php-packages/imagick/default.nix
··· 3 3 buildPecl { 4 4 pname = "imagick"; 5 5 6 - version = "3.6.0"; 7 - sha256 = "sha256-Till8tcN1ZpA55V9VuWQ5zHK0maen4ng/KFZ10jSlH4="; 6 + version = "3.7.0"; 7 + sha256 = "sha256-WjZDVBCQKdIkvLsuguFbJIvptkEif0XmNCXAZTF5LT4="; 8 8 9 9 configureFlags = [ "--with-imagick=${imagemagick.dev}" ]; 10 10 nativeBuildInputs = [ pkg-config ];
+2 -2
pkgs/development/php-packages/phpstan/default.nix
··· 1 1 { mkDerivation, fetchurl, makeWrapper, lib, php }: 2 2 let 3 3 pname = "phpstan"; 4 - version = "1.3.0"; 4 + version = "1.4.6"; 5 5 in 6 6 mkDerivation { 7 7 inherit pname version; 8 8 9 9 src = fetchurl { 10 10 url = "https://github.com/phpstan/phpstan/releases/download/${version}/phpstan.phar"; 11 - sha256 = "sha256-3B7mYuK4k8l6YPMMHRd2yRdCr69VsYXnAZZYIDDDIMM="; 11 + sha256 = "sha256-h19rFEs7VrdlxGS1qeYJnO5aQaKzpFZTdsN2h3Hmm0w="; 12 12 }; 13 13 14 14 dontUnpack = true;
+2 -2
pkgs/development/php-packages/protobuf/default.nix
··· 3 3 buildPecl { 4 4 pname = "protobuf"; 5 5 6 - version = "3.19.1"; 7 - sha256 = "sha256-kAPNPnvbCrmGITM3Hjpsn62TASV8eNCizFN8+1+I6bY="; 6 + version = "3.19.4"; 7 + sha256 = "sha256-ijo+UZz+Hh3F8FUJmcUIbKBLkv4t4CWIrbRUfUp7Zbo="; 8 8 9 9 buildInputs = [ pcre2 ]; 10 10
+2 -2
pkgs/development/php-packages/rdkafka/default.nix
··· 3 3 buildPecl { 4 4 pname = "rdkafka"; 5 5 6 - version = "5.0.2"; 7 - sha256 = "sha256-slCwtt8ySE5Zk2tnaYO6E0N20VZS8CVSsr8EgqssvOk="; 6 + version = "6.0.0"; 7 + sha256 = "sha256-24kHOvonhXvMnnMfe3/fDYHGkyD8vnuC4NaVBwP9TY4="; 8 8 9 9 buildInputs = [ rdkafka pcre2 ]; 10 10
+2 -2
pkgs/development/php-packages/redis/default.nix
··· 3 3 buildPecl { 4 4 pname = "redis"; 5 5 6 - version = "5.3.5"; 7 - sha256 = "sha256-1V+lzGmRmJF7or3IJ9pjKtd/AJuiZC0nUEVql22+WYk="; 6 + version = "5.3.6"; 7 + sha256 = "sha256-/ilewmolIE5sB+jXFEIQ92e9cAiFhxnaIwQJ6z9vLgk="; 8 8 9 9 internalDeps = with php.extensions; [ 10 10 session
+2 -2
pkgs/development/php-packages/swoole/default.nix
··· 3 3 buildPecl { 4 4 pname = "swoole"; 5 5 6 - version = "4.8.5"; 7 - sha256 = "sha256-FCda91vO79Y1O1Pojv710VLzwwVUPHwn0O1kliOyKPg="; 6 + version = "4.8.6"; 7 + sha256 = "sha256-4ot8LXpWcjMmD3e/EzrYNMxqUPPupQQkv2ibLkZoWxs="; 8 8 9 9 buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ]; 10 10 internalDeps = lib.optionals (lib.versionOlder php.version "7.4") [ php.extensions.hash ];
+1 -1
pkgs/development/python-modules/concurrent-log-handler/default.nix
··· 25 25 26 26 meta = with lib; { 27 27 description = "Python logging handler that allows multiple processes to safely write to the same log file concurrently"; 28 - homepage = "https://www.chia.net/"; 28 + homepage = "https://pypi.org/project/concurrent-log-handler"; 29 29 license = licenses.asl20; 30 30 maintainers = teams.chia.members; 31 31 };
+27 -7
pkgs/development/python-modules/django-auth-ldap/default.nix
··· 2 2 , buildPythonPackage 3 3 , fetchPypi 4 4 , isPy27 5 + 6 + # buildtime 7 + , setuptools-scm 8 + 9 + # runtime 5 10 , ldap 6 11 , django 7 - , mock 8 - , setuptools-scm 12 + 13 + # tests 14 + , python 15 + , pkgs 9 16 }: 10 17 11 18 buildPythonPackage rec { 12 19 pname = "django-auth-ldap"; 13 20 version = "4.0.0"; 21 + format = "pyproject"; 22 + 14 23 disabled = isPy27; 24 + 15 25 src = fetchPypi { 16 26 inherit pname version; 17 27 sha256 = "276f79e624ce083ce13f161387f65ff1c0efe83ef8a42f2b9830d43317b15239"; 18 28 }; 19 29 20 - nativeBuildInputs = [ setuptools-scm ]; 21 - 22 - propagatedBuildInputs = [ ldap django ]; 30 + nativeBuildInputs = [ 31 + setuptools-scm 32 + ]; 23 33 24 - checkInputs = [ mock ]; 34 + propagatedBuildInputs = [ 35 + django 36 + ldap 37 + ]; 25 38 26 - # django.core.exceptions.ImproperlyConfigured: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings 39 + # ValueError: SCHEMADIR is None, ldap schemas are missing. 27 40 doCheck = false; 41 + 42 + checkPhase = '' 43 + runHook preCheck 44 + export PATH=${pkgs.openldap}/bin:${pkgs.openldap}/libexec:$PATH 45 + ${python.interpreter} -m django test --settings tests.settings 46 + runHook postCheck 47 + ''; 28 48 29 49 pythonImportsCheck = [ "django_auth_ldap" ]; 30 50
+2 -2
pkgs/development/python-modules/flux-led/default.nix
··· 8 8 9 9 buildPythonPackage rec { 10 10 pname = "flux-led"; 11 - version = "0.28.24"; 11 + version = "0.28.25"; 12 12 format = "setuptools"; 13 13 14 14 disabled = pythonOlder "3.7"; ··· 17 17 owner = "Danielhiversen"; 18 18 repo = "flux_led"; 19 19 rev = version; 20 - sha256 = "sha256-4VajN6w+W7WZzwnsqLAnR4IO2ODuolCEotbgxV9luYA="; 20 + sha256 = "sha256-aM4GdDzg561woFio5pHQIdwDiGkWCEVUz0BP6DLBY4E="; 21 21 }; 22 22 23 23 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/hahomematic/default.nix
··· 14 14 15 15 buildPythonPackage rec { 16 16 pname = "hahomematic"; 17 - version = "0.32.4"; 17 + version = "0.33.0"; 18 18 format = "setuptools"; 19 19 20 20 disabled = pythonOlder "3.9"; ··· 23 23 owner = "danielperna84"; 24 24 repo = pname; 25 25 rev = version; 26 - sha256 = "sha256-M6EHuytTerubESvtMMokPVW9oByWZzk/uKIv4CUZs0E="; 26 + sha256 = "sha256-6EgdTVEvDeCwTEOL5JGXzRFh0U2GjC4KIiDGrHXOD5Y="; 27 27 }; 28 28 29 29 propagatedBuildInputs = [
+5 -2
pkgs/development/python-modules/jax/default.nix
··· 6 6 , numpy 7 7 , opt-einsum 8 8 , pytestCheckHook 9 + , pytest-xdist 9 10 , pythonOlder 10 11 , scipy 11 12 , typing-extensions ··· 13 14 14 15 buildPythonPackage rec { 15 16 pname = "jax"; 16 - version = "0.2.28"; 17 + version = "0.3.0"; 17 18 format = "setuptools"; 18 19 19 20 disabled = pythonOlder "3.7"; ··· 22 23 owner = "google"; 23 24 repo = pname; 24 25 rev = "${pname}-v${version}"; 25 - sha256 = "1ky442zi5i8b5mk284s0i7dk8rh6vi9dvyqfscpij88g37clgpp0"; 26 + sha256 = "0ndpngx5k6lf6jqjck82bbp0gs943z0wh7vs9gwbyk2bw0da7w72"; 26 27 }; 27 28 28 29 patches = [ ··· 45 46 checkInputs = [ 46 47 jaxlib 47 48 pytestCheckHook 49 + pytest-xdist 48 50 ]; 49 51 50 52 # NOTE: Don't run the tests in the expiremental directory as they require flax ··· 52 54 # Not a big deal, this is how the JAX docs suggest running the test suite 53 55 # anyhow. 54 56 pytestFlagsArray = [ 57 + "-n auto" 55 58 "-W ignore::DeprecationWarning" 56 59 "tests/" 57 60 ];
+19 -10
pkgs/development/python-modules/jaxlib/bin.nix
··· 13 13 # * https://github.com/google/jax/issues/971#issuecomment-508216439 14 14 # * https://github.com/google/jax/issues/5723#issuecomment-913038780 15 15 16 - { addOpenGLRunpath, autoPatchelfHook, buildPythonPackage, config 17 - , fetchurl, isPy39, lib, stdenv 18 - # propagatedBuildInputs 19 - , absl-py, flatbuffers, scipy, cudatoolkit_11, cudnn 20 - # Options: 16 + { absl-py 17 + , addOpenGLRunpath 18 + , autoPatchelfHook 19 + , buildPythonPackage 20 + , config 21 + , cudatoolkit_11 22 + , cudnn 23 + , fetchurl 24 + , flatbuffers 25 + , isPy39 26 + , lib 27 + , scipy 28 + , stdenv 29 + # Options: 21 30 , cudaSupport ? config.cudaSupport or false 22 31 }: 23 32 ··· 32 41 in 33 42 buildPythonPackage rec { 34 43 pname = "jaxlib"; 35 - version = "0.1.75"; 44 + version = "0.3.0"; 36 45 format = "wheel"; 37 46 38 47 # At the time of writing (8/19/21), there are releases for 3.7-3.9. Supporting ··· 44 53 src = { 45 54 cpu = fetchurl { 46 55 url = "https://storage.googleapis.com/jax-releases/nocuda/jaxlib-${version}-cp39-none-manylinux2010_x86_64.whl"; 47 - sha256 = "1davmx9dvai8dq3h5ac82634gjhv6l46kq6baajrxjqczbp0w7m6"; 56 + sha256 = "151p4vqli8x0iqgrzrr8piqk7d76a2xq2krf23jlb142iam5bw01"; 48 57 }; 49 58 gpu = fetchurl { 50 59 # Note that there's also a release targeting cuDNN 8.2, but unfortunately ··· 52 61 # Check pkgs/development/libraries/science/math/cudnn/default.nix for more 53 62 # details. 54 63 url = "https://storage.googleapis.com/jax-releases/cuda11/jaxlib-${version}+cuda11.cudnn805-cp39-none-manylinux2010_x86_64.whl"; 55 - sha256 = "1mk618lq1q5x0dc3xbid8bim59l9j6l47xq232gdbn401ykrid7r"; 64 + sha256 = "0z15rdw3a8sq51rpjmfc41ix1q095aasl79rvlib85ir6f3wh2h8"; 56 65 57 66 # This is what the cuDNN 8.2 download looks like for future reference: 58 67 # url = "https://storage.googleapis.com/jax-releases/cuda11/jaxlib-${version}+cuda11.cudnn82-cp39-none-manylinux2010_x86_64.whl"; ··· 95 104 96 105 meta = with lib; { 97 106 description = "XLA library for JAX"; 98 - homepage = "https://github.com/google/jax"; 99 - license = licenses.asl20; 107 + homepage = "https://github.com/google/jax"; 108 + license = licenses.asl20; 100 109 maintainers = with maintainers; [ samuela ]; 101 110 platforms = [ "x86_64-linux" ]; 102 111 };
+11 -6
pkgs/development/python-modules/jaxlib/default.nix
··· 4 4 5 5 # Build-time dependencies: 6 6 , addOpenGLRunpath 7 - , bazel_4 7 + , bazel_5 8 8 , binutils 9 9 , buildBazelPackage 10 10 , buildPythonPackage ··· 50 50 let 51 51 52 52 pname = "jaxlib"; 53 - version = "0.1.75"; 53 + version = "0.3.0"; 54 54 55 55 meta = with lib; { 56 56 description = "JAX is Autograd and XLA, brought together for high-performance machine learning research."; ··· 82 82 bazel-build = buildBazelPackage { 83 83 name = "bazel-build-${pname}-${version}"; 84 84 85 - bazel = bazel_4; 85 + bazel = bazel_5; 86 86 87 87 src = fetchFromGitHub { 88 88 owner = "google"; 89 89 repo = "jax"; 90 90 rev = "${pname}-v${version}"; 91 - sha256 = "01ks4djbpjsxjy2zwdwv3h00sgwi4ps3jz75swddrw2f56zjdmw4"; 91 + sha256 = "0ndpngx5k6lf6jqjck82bbp0gs943z0wh7vs9gwbyk2bw0da7w72"; 92 92 }; 93 93 94 94 nativeBuildInputs = [ ··· 216 216 fetchAttrs = { 217 217 sha256 = 218 218 if cudaSupport then 219 - "1lyipbflqd1y5cdj4hdml5h1inbr0wwfgp6xw5p5623qv3im16lh" 219 + "1k0rjxqjm703gd9navwzx5x3874b4dxamr62m1fxhm79d271zxis" 220 220 else 221 - "09kapzpfwnlr6ghmgwac232bqf2a57mm1brz4cvfx8mlg8bbaw63"; 221 + "0ivah1w41jcj13jm740qzwx5h0ia8vbj71pjgd0zrfk3c92kll41"; 222 222 }; 223 223 224 224 buildAttrs = { ··· 229 229 # 2) Force static protobuf linkage to prevent crashes on loading multiple extensions 230 230 # in the same python program due to duplicate protobuf DBs. 231 231 # 3) Patch python path in the compiler driver. 232 + # 4) Patch tensorflow sources to work with later versions of protobuf. See 233 + # https://github.com/google/jax/issues/9534. Note that this should be 234 + # removed on the next release after 0.3.0. 232 235 preBuild = '' 233 236 for src in ./jaxlib/*.{cc,h}; do 234 237 sed -i 's@include/pybind11@pybind11@g' $src 235 238 done 236 239 sed -i 's@-lprotobuf@-l:libprotobuf.a@' ../output/external/org_tensorflow/third_party/systemlibs/protobuf.BUILD 237 240 sed -i 's@-lprotoc@-l:libprotoc.a@' ../output/external/org_tensorflow/third_party/systemlibs/protobuf.BUILD 241 + substituteInPlace ../output/external/org_tensorflow/tensorflow/compiler/xla/python/pprof_profile_builder.cc \ 242 + --replace "status.message()" "std::string{status.message()}" 238 243 '' + lib.optionalString cudaSupport '' 239 244 patchShebangs ../output/external/org_tensorflow/third_party/gpus/crosstool/clang/bin/crosstool_wrapper_driver_is_not_gcc.tpl 240 245 '';
+24
pkgs/development/python-modules/types-dateutil/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchPypi 4 + }: 5 + 6 + buildPythonPackage rec { 7 + pname = "types-python-dateutil"; 8 + version = "2.8.9"; 9 + format = "setuptools"; 10 + 11 + src = fetchPypi { 12 + inherit pname version; 13 + sha256 = "sha256-kPlaa21Pq6NZKH8XosrlEczJ1KvImwGWm9rBGFgVwF0="; 14 + }; 15 + 16 + pythonImportsCheck = [ "dateutil-stubs" ]; 17 + 18 + meta = with lib; { 19 + description = "Typing stubs for python-dateutil"; 20 + homepage = "https://github.com/python/typeshed"; 21 + license = licenses.asl20; 22 + maintainers = with maintainers; [ milibopp ]; 23 + }; 24 + }
+2 -2
pkgs/development/python-modules/virtual-display/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "PyVirtualDisplay"; 5 - version = "2.2"; 5 + version = "3.0"; 6 6 7 7 propagatedBuildInputs = [ EasyProcess ]; 8 8 9 9 src = fetchPypi { 10 10 inherit pname version; 11 - sha256 = "3ecda6b183b03ba65dcfdf0019809722480d7b7e10eea6e3a40bf1ba3146bab7"; 11 + sha256 = "sha256-CXVbw86263JfsH7KVCX0PyNY078I4A0qm3kqGu3RYVk="; 12 12 }; 13 13 14 14 # requires X server
+2 -2
pkgs/development/tools/zprint/default.nix
··· 2 2 3 3 buildGraalvmNativeImage rec { 4 4 pname = "zprint"; 5 - version = "1.2.1"; 5 + version = "1.2.2"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/kkinnear/${pname}/releases/download/${version}/${pname}-filter-${version}"; 9 - sha256 = "sha256-yC3ByAmR0btaWZQj8n9ITyOAw+wgsmSfNE0Q3QSdzqo="; 9 + sha256 = "sha256-CaugPTfEGC0IFgYUSHcE3nsnrP5DSXS1becXChbPggQ="; 10 10 }; 11 11 12 12 extraNativeImageBuildArgs = [
+2 -2
pkgs/servers/http/nginx/modules.nix
··· 252 252 name = "modsecurity-nginx"; 253 253 owner = "SpiderLabs"; 254 254 repo = "ModSecurity-nginx"; 255 - rev = "v1.0.1"; 256 - sha256 = "0cbb3g3g4v6q5zc6an212ia5kjjad62bidnkm8b70i4qv1615pzf"; 255 + rev = "v1.0.2"; 256 + sha256 = "sha256-UXiitc3jZlgXlCsDPS+xEFLNRVgRbn8BCCXUEqAWlII="; 257 257 }; 258 258 inputs = [ pkgs.curl pkgs.geoip pkgs.libmodsecurity pkgs.libxml2 pkgs.lmdb pkgs.yajl ]; 259 259 };
+2 -2
pkgs/servers/jackett/default.nix
··· 9 9 10 10 buildDotnetModule rec { 11 11 pname = "jackett"; 12 - version = "0.20.562"; 12 + version = "0.20.567"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = pname; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - sha256 = "8y7Mt8jSDIIGjMokZtdKH03/MRsK0+soFzxKwmy8WAk="; 18 + sha256 = "VkRLbSs7n5I4DedZL49sykrpPbFQWlUouehPRg+MNio="; 19 19 }; 20 20 21 21 projectFile = "src/Jackett.Server/Jackett.Server.csproj";
+3 -3
pkgs/servers/minio/default.nix
··· 15 15 in 16 16 buildGoModule rec { 17 17 pname = "minio"; 18 - version = "2022-02-07T08-17-33Z"; 18 + version = "2022-02-12T00-51-25Z"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "minio"; 22 22 repo = "minio"; 23 23 rev = "RELEASE.${version}"; 24 - sha256 = "sha256-NF6i63wLlUh/kjuCL8ScqqtZFsiJkS5P9AQM5c+j7lE="; 24 + sha256 = "sha256-xAzfMyUa81gZgZhfe1XNAFJ6LFXdR2cFCba8aBDg6Rc="; 25 25 }; 26 26 27 - vendorSha256 = "sha256-s6lhz37S3cTnXB3+ach91UqC5eeyA3eW0zUipu5i36E="; 27 + vendorSha256 = "sha256-tw7SUCqQrDrET+GQbSkHaHC4usCapnH+NpILLwm6l9U="; 28 28 29 29 doCheck = false; 30 30
+3 -3
pkgs/servers/monitoring/prometheus/nextcloud-exporter.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "prometheus-nextcloud-exporter"; 5 - version = "0.4.0"; 5 + version = "0.5.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "xperimental"; 9 9 repo = "nextcloud-exporter"; 10 10 rev = "v${version}"; 11 - sha256 = "0kq0ka2gjlibl7vhk3s4z15ja5ai7cmwl144gj4dyhylp2xzr72a"; 11 + sha256 = "sha256-73IxGxnKgbG50nr57Wft+hh0KT7redrwXc4EZFn25qs="; 12 12 }; 13 13 14 - vendorSha256 = "0qs3p4jl8p0323bklrrhxzql7652pm6a1hj9ch9xyfhkwsx87l4d"; 14 + vendorSha256 = "sha256-vIhHUFg8m6raKF82DcXRGKCgSM2FJ2VTM+MdMjP7KUY="; 15 15 16 16 passthru.tests = { inherit (nixosTests.prometheus-exporters) nextcloud; }; 17 17
+2 -2
pkgs/servers/web-apps/discourse/default.nix
··· 10 10 }@args: 11 11 12 12 let 13 - version = "2.8.0.beta11"; 13 + version = "2.9.0.beta1"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "discourse"; 17 17 repo = "discourse"; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-dTem4or0SunXCJFpNkeM0CSXY+58AeQAuMaLzhfGMY0="; 19 + sha256 = "sha256-mf2Niyv1H+Zq7RfnV93O1Ul9RdRrtmtAJMBJrb8hp3U="; 20 20 }; 21 21 22 22 runtimeDeps = [
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-assign/default.nix
··· 5 5 src = fetchFromGitHub { 6 6 owner = "discourse"; 7 7 repo = "discourse-assign"; 8 - rev = "a52da2396c5787a07c2746890bb44a0921a149e9"; 9 - sha256 = "sha256-UzpDesqxC20teyKYwqizYvjvR47zApyLporCU71RNvk="; 8 + rev = "ffe95da7ed0cf0893a76af37498784ad92041131"; 9 + sha256 = "sha256-FdZATO1Z6XmhForETZ2FC+6wfR437cpRg8QSFzmbsxQ="; 10 10 }; 11 11 meta = with lib; { 12 12 homepage = "https://github.com/discourse/discourse-docs";
+1 -1
pkgs/servers/web-apps/discourse/plugins/discourse-calendar/Gemfile.lock
··· 7 7 minitest (>= 5.1) 8 8 tzinfo (~> 2.0) 9 9 concurrent-ruby (1.1.9) 10 - i18n (1.8.11) 10 + i18n (1.9.1) 11 11 concurrent-ruby (~> 1.0) 12 12 minitest (5.15.0) 13 13 rrule (0.4.2)
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-calendar/default.nix
··· 6 6 src = fetchFromGitHub { 7 7 owner = "discourse"; 8 8 repo = "discourse-calendar"; 9 - rev = "f3b64f7b8c009f18bdc16def7c7299f747ea08ab"; 10 - sha256 = "sha256-ACbPMfqyFj9877r56qr+wxHEln+L1sAuQg/YUDGpuds="; 9 + rev = "765d16242ffeb4324c3269393d3fa81e9b751d4f"; 10 + sha256 = "sha256-YYxspW0DX0DUBwPOcvX2pLJYmyK4b56LdjL6avLKzRs="; 11 11 }; 12 12 meta = with lib; { 13 13 homepage = "https://github.com/discourse/discourse-calendar";
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-calendar/gemset.nix
··· 26 26 platforms = []; 27 27 source = { 28 28 remotes = ["https://rubygems.org"]; 29 - sha256 = "0vdd1kii40qhbr9n8qx71k2gskq6rkl8ygy8hw5hfj8bb5a364xf"; 29 + sha256 = "1nancdgq51wk3c1pkxps0rkjsfdwnkx60hzkm947m5rzsz8b2sw8"; 30 30 type = "gem"; 31 31 }; 32 - version = "1.8.11"; 32 + version = "1.9.1"; 33 33 }; 34 34 minitest = { 35 35 groups = ["default"];
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-canned-replies/default.nix
··· 5 5 src = fetchFromGitHub { 6 6 owner = "discourse"; 7 7 repo = "discourse-canned-replies"; 8 - rev = "598946bc92171426792f120f0a68ad4ecaae1c91"; 9 - sha256 = "sha256-HLrmj/dHj6wWUEqsFAh8gIPaZCIaXN1kZo17UHJwP70="; 8 + rev = "8762b8d0fe28ffcacc427e7a683b971bf125a881"; 9 + sha256 = "sha256-ZAm/A45vAofiOiqXS/STt4XO3FJ6XUFyVydsFaI40+k="; 10 10 }; 11 11 meta = with lib; { 12 12 homepage = "https://github.com/discourse/discourse-canned-replies";
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-chat-integration/default.nix
··· 5 5 src = fetchFromGitHub { 6 6 owner = "discourse"; 7 7 repo = "discourse-chat-integration"; 8 - rev = "45a16e2c40f9b79a351e52b905c7816ddbd29bb3"; 9 - sha256 = "sha256-cu9JhBB4ggsVzKlxe9x2WQVgwzwAA5U6OEKhbiRQACU="; 8 + rev = "ddee0c44179c547b2581474c3c4d0da7d8d23fe8"; 9 + sha256 = "sha256-8AUzIu+HRHrcAqpyI/eVrgZLTKXTLgDjXFTGQbMRzxs="; 10 10 }; 11 11 meta = with lib; { 12 12 homepage = "https://github.com/discourse/discourse-chat-integration";
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-checklist/default.nix
··· 5 5 src = fetchFromGitHub { 6 6 owner = "discourse"; 7 7 repo = "discourse-checklist"; 8 - rev = "80d448b92173398530643ee07a40d6c60e4a3a5e"; 9 - sha256 = "sha256-FJtb7s4UQ6A4SEezB/58pmvpN+f1gVBY/G4GUzE20ME="; 8 + rev = "c2bb6b0156e411ef3c1de52aa36b38abeba801cd"; 9 + sha256 = "sha256-p0nOdh0zg891Pe8wYhMzcbunGYJY41iVET4fFRDJt+k="; 10 10 }; 11 11 meta = with lib; { 12 12 homepage = "https://github.com/discourse/discourse-checklist";
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-data-explorer/default.nix
··· 5 5 src = fetchFromGitHub { 6 6 owner = "discourse"; 7 7 repo = "discourse-data-explorer"; 8 - rev = "58cfe737f7eb3d401a059edc8d24ed0ec22fa2f7"; 9 - sha256 = "sha256-pwzW+HCby2HD5SsnFCi8kUqN/dQuZiVkdmqQ2P2XQ2c="; 8 + rev = "2a17f49f66feb7a3068cf6f1e4ad08550f875057"; 9 + sha256 = "sha256-LOcJle0S7Z8oGz1XgTEHiz1JNKufxege+joeinwX7xU="; 10 10 }; 11 11 meta = with lib; { 12 12 homepage = "https://github.com/discourse/discourse-data-explorer";
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-docs/default.nix
··· 5 5 src = fetchFromGitHub { 6 6 owner = "discourse"; 7 7 repo = "discourse-docs"; 8 - rev = "f8ac536160c662f29c49111beb5b18b70dbe8cd9"; 9 - sha256 = "sha256-pU5Dl+G2HRKfWi+W+P4ZP6A8EMqi9xaIYXx1xUg9I54="; 8 + rev = "05678c451caf2ceb192501da91cf0d24ea44c8e8"; 9 + sha256 = "sha256-C+3jaJ09P1PteeHFVfbAXxDgAa6d0RZwLdlp+NKuZJU="; 10 10 }; 11 11 meta = with lib; { 12 12 homepage = "https://github.com/discourse/discourse-docs";
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-github/default.nix
··· 6 6 src = fetchFromGitHub { 7 7 owner = "discourse"; 8 8 repo = "discourse-github"; 9 - rev = "f4635f94f8c1eaf38f7b025d1fc236e404a39414"; 10 - sha256 = "sha256-kd8iCgLuFxFbu8HR9ttzmVFF4AK0P7cbo1q15kD9Dp4="; 9 + rev = "031dc6b512ada263eb3634eae5adfe4cdb008b4b"; 10 + sha256 = "sha256-v69RYgA5k6A3bus+Joc/NFp2DU4bwiaoCSe2xua3DgY="; 11 11 }; 12 12 meta = with lib; { 13 13 homepage = "https://github.com/discourse/discourse-github";
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-math/default.nix
··· 5 5 src = fetchFromGitHub { 6 6 owner = "discourse"; 7 7 repo = "discourse-math"; 8 - rev = "33662c4b1d8a3faa6138261bd6a6043b4d9ac037"; 9 - sha256 = "sha256-UMGj2KqYHs7MtVHBGLUgUKA7wzhX32160b4OihiwgCI="; 8 + rev = "2deef48ab16bc0a15ab5f1fef98e15261251bf32"; 9 + sha256 = "sha256-Crt7ozasZ1DCwAzaH/Y6BQEXwpX6t9qsIrGYMlECylk="; 10 10 }; 11 11 meta = with lib; { 12 12 homepage = "https://github.com/discourse/discourse-math";
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-openid-connect/default.nix
··· 6 6 src = fetchFromGitHub { 7 7 owner = "discourse"; 8 8 repo = "discourse-openid-connect"; 9 - rev = "bba36d68a44b1e1d19729d14fd04ad280fc32c58"; 10 - sha256 = "sha256-9CV5A3gQzYvokTLNOwoX1jQhGaZQBn4tn5jn7bfhLS4="; 9 + rev = "ab26c4eaa858bf35cb6fa6314597a50fff57baf9"; 10 + sha256 = "sha256-Yxw1C0vNcVr+sYvmLvBWFV/XOr7yDBTW17Ohxfkv6W0="; 11 11 }; 12 12 meta = with lib; { 13 13 homepage = "https://github.com/discourse/discourse-openid-connect";
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-prometheus/default.nix
··· 6 6 src = fetchFromGitHub { 7 7 owner = "discourse"; 8 8 repo = "discourse-prometheus"; 9 - rev = "d71565f7ee4d3fe5cef8c8831a20cec5e52a1367"; 10 - sha256 = "sha256-Zn/ZzbMyHImQ9vc7KJI2gtVKYyqbWOZWK3qg7BK0xxQ="; 9 + rev = "1c3e2d75c33a0ed8563977d7c4919e3d06788dcd"; 10 + sha256 = "sha256-tj/IYUjuUs6foV4goIm+HACccmHjAiI1/EAOKibwUMs="; 11 11 }; 12 12 13 13 patches = [
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-saved-searches/default.nix
··· 5 5 src = fetchFromGitHub { 6 6 owner = "discourse"; 7 7 repo = "discourse-saved-searches"; 8 - rev = "a10f2eb7ccbf3be037144978d0aa36d8fa44115b"; 9 - sha256 = "sha256-WIqju9JUy3bij2iHHjWv/+TfODev5icYNYS5kRruLcc="; 8 + rev = "baf1ab94317129d2ff2eb4e5e6d84fa76c40797c"; 9 + sha256 = "sha256-6NP9TK5Wx0LPX0ZFIiaEEYJv3d9WIQ26nvODk0dU2I0="; 10 10 }; 11 11 meta = with lib; { 12 12 homepage = "https://github.com/discourse/discourse-saved-searches";
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-solved/default.nix
··· 5 5 src = fetchFromGitHub { 6 6 owner = "discourse"; 7 7 repo = "discourse-solved"; 8 - rev = "d7c8c95f2dbc7fa94b09d2590d70558346f6e81e"; 9 - sha256 = "sha256-utuv7JL/WJU48TE0+RIRoUpIFrcUpQGvPzfIXA2ZCL8="; 8 + rev = "922ca15fc92bfab496088b5ee240982bd8404f28"; 9 + sha256 = "sha256-s7XNRLDXnrsoB7FUgGaYIVfd7iO3ittIBoqSo2UaUTY="; 10 10 }; 11 11 meta = with lib; { 12 12 homepage = "https://github.com/discourse/discourse-solved";
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-spoiler-alert/default.nix
··· 5 5 src = fetchFromGitHub { 6 6 owner = "discourse"; 7 7 repo = "discourse-spoiler-alert"; 8 - rev = "0cbbaa20f5bf097a0d4ec1361534f97e4b7e1604"; 9 - sha256 = "sha256-FpA1+ZC5rInUkCrWMU3HU9Hmi/58f/OrfmeXd5nowvU="; 8 + rev = "5afbcb905fa2c8cb8b7156ab5df3af27d6e6b477"; 9 + sha256 = "sha256-/Y5ATVSnJ3hMNiiqqYJzitgkQ/2zbWLaPdII9agTa10="; 10 10 }; 11 11 meta = with lib; { 12 12 homepage = "https://github.com/discourse/discourse-spoiler-alert";
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-voting/default.nix
··· 5 5 src = fetchFromGitHub { 6 6 owner = "discourse"; 7 7 repo = "discourse-voting"; 8 - rev = "5011df324caaa89433f089bb9d9cfdf919457b11"; 9 - sha256 = "sha256-2iPbC/nvTmJ8heqX1C8sfNnkTeO6jHn+gzEraAdJvMg="; 8 + rev = "6a4b2a306928191c9ef9f3efdafeb9b4df496bcb"; 9 + sha256 = "sha256-OAn+NS64BcOlhmFYXV0Bq+O1B4a9FKHyN44vbHSax3Y="; 10 10 }; 11 11 meta = with lib; { 12 12 homepage = "https://github.com/discourse/discourse-voting";
+2 -2
pkgs/servers/web-apps/discourse/plugins/discourse-yearly-review/default.nix
··· 5 5 src = fetchFromGitHub { 6 6 owner = "discourse"; 7 7 repo = "discourse-yearly-review"; 8 - rev = "69a6c2ca39a41d88ff07ebd7c38c082082415dc9"; 9 - sha256 = "sha256-jrpKjINnAxfkMdK89b0OyKkgivIC4L/aL5qU4XZdgnk="; 8 + rev = "5e3674201a32bf9e6c22417395bc2e052d9f217d"; 9 + sha256 = "sha256-gkQGLJegWTSwzpjrHPYK5/Uz4QjLUCLd6OuEIRYeP/I="; 10 10 }; 11 11 meta = with lib; { 12 12 homepage = "https://github.com/discourse/discourse-yearly-review";
+6 -6
pkgs/servers/web-apps/discourse/rubyEnv/Gemfile.lock
··· 83 83 bootsnap (1.9.4) 84 84 msgpack (~> 1.0) 85 85 builder (3.2.4) 86 - bullet (7.0.0) 86 + bullet (7.0.1) 87 87 activesupport (>= 3.0.0) 88 88 uniform_notifier (~> 1.11) 89 89 byebug (11.1.3) ··· 132 132 excon (0.89.0) 133 133 execjs (2.8.1) 134 134 exifr (1.3.9) 135 - fabrication (2.23.1) 135 + fabrication (2.24.0) 136 136 faker (2.19.0) 137 137 i18n (>= 1.6, < 2) 138 138 fakeweb (1.3.0) ··· 202 202 jwt (2.3.0) 203 203 kgio (2.11.4) 204 204 libv8-node (16.10.0.0) 205 - listen (3.7.0) 205 + listen (3.7.1) 206 206 rb-fsevent (~> 0.10, >= 0.10.3) 207 207 rb-inotify (~> 0.9, >= 0.9.10) 208 208 literate_randomizer (0.4.0) ··· 357 357 rspec-mocks (~> 3.10.0) 358 358 rspec-core (3.10.1) 359 359 rspec-support (~> 3.10.0) 360 - rspec-expectations (3.10.1) 360 + rspec-expectations (3.10.2) 361 361 diff-lcs (>= 1.2.0, < 2.0) 362 362 rspec-support (~> 3.10.0) 363 363 rspec-html-matchers (0.9.4) ··· 382 382 json-schema (~> 2.2) 383 383 railties (>= 3.1, < 7.0) 384 384 rtlit (0.0.5) 385 - rubocop (1.24.1) 385 + rubocop (1.25.0) 386 386 parallel (~> 1.10) 387 - parser (>= 3.0.0.0) 387 + parser (>= 3.1.0.0) 388 388 rainbow (>= 2.2.2, < 4.0) 389 389 regexp_parser (>= 1.8, < 3.0) 390 390 rexml
+10 -10
pkgs/servers/web-apps/discourse/rubyEnv/gemset.nix
··· 273 273 platforms = []; 274 274 source = { 275 275 remotes = ["https://rubygems.org"]; 276 - sha256 = "0w3jk595azcc9fvklrk2klkljwhgzjhnns7l5iqhnafvr8q60xnr"; 276 + sha256 = "0q90zk8di7a12by3d81nl78yy90rdml77vi3waxmgzqhvs6na4vj"; 277 277 type = "gem"; 278 278 }; 279 - version = "7.0.0"; 279 + version = "7.0.1"; 280 280 }; 281 281 byebug = { 282 282 groups = ["development" "test"]; ··· 603 603 platforms = []; 604 604 source = { 605 605 remotes = ["https://rubygems.org"]; 606 - sha256 = "1i4pcqmf8q0gkjzhndcbzgg8bg4rkvbpp2gapnqxc8j8gcxzi1fi"; 606 + sha256 = "09b6gyqf76iflxh9v69k59xhxmrx1akdp2mbg8k8nb5rxy0sz0v6"; 607 607 type = "gem"; 608 608 }; 609 - version = "2.23.1"; 609 + version = "2.24.0"; 610 610 }; 611 611 faker = { 612 612 dependencies = ["i18n"]; ··· 1059 1059 platforms = []; 1060 1060 source = { 1061 1061 remotes = ["https://rubygems.org"]; 1062 - sha256 = "0ncfhdkjiwq9l1pm87ax2pa20kz2j0dz56vi74cnr5a6cfk0qb5p"; 1062 + sha256 = "0agybr37wpjv3xy4ipcmsvsibgdgphzrwbvcj4vfiykpmakwm01v"; 1063 1063 type = "gem"; 1064 1064 }; 1065 - version = "3.7.0"; 1065 + version = "3.7.1"; 1066 1066 }; 1067 1067 literate_randomizer = { 1068 1068 groups = ["default" "development"]; ··· 1955 1955 platforms = []; 1956 1956 source = { 1957 1957 remotes = ["https://rubygems.org"]; 1958 - sha256 = "1sz9bj4ri28adsklnh257pnbq4r5ayziw02qf67wry0kvzazbb17"; 1958 + sha256 = "1qrj2j9jcd3m4aksk4kbv439882yl3z1harv2jrybrgjgdzdz7zs"; 1959 1959 type = "gem"; 1960 1960 }; 1961 - version = "3.10.1"; 1961 + version = "3.10.2"; 1962 1962 }; 1963 1963 rspec-html-matchers = { 1964 1964 dependencies = ["nokogiri" "rspec"]; ··· 2041 2041 platforms = []; 2042 2042 source = { 2043 2043 remotes = ["https://rubygems.org"]; 2044 - sha256 = "1sn7ag295blmhpwv6x472m3fd0n25swz9imqwpk0hg21rdcdw7p0"; 2044 + sha256 = "141ff5mdqi8an8q00qw8kchzil7ck2dzalkk3vk176l0s6hljcbj"; 2045 2045 type = "gem"; 2046 2046 }; 2047 - version = "1.24.1"; 2047 + version = "1.25.0"; 2048 2048 }; 2049 2049 rubocop-ast = { 2050 2050 dependencies = ["parser"];
+2 -2
pkgs/tools/filesystems/glusterfs/default.nix
··· 55 55 ]; 56 56 in stdenv.mkDerivation rec { 57 57 pname = "glusterfs"; 58 - version = "10.0"; 58 + version = "10.1"; 59 59 60 60 src = fetchFromGitHub { 61 61 owner = "gluster"; 62 62 repo = pname; 63 63 rev = "v${version}"; 64 - sha256 = "sha256-n6HdXs5kLbEI8Gaw2KBtO3i8hhadb+MsshUve/DOYg0="; 64 + sha256 = "sha256-vVFC2kQNneaOwrezPehOX32dpJb88ZhGHBApEXc9MOg="; 65 65 }; 66 66 inherit buildInputs propagatedBuildInputs; 67 67
+4 -5
pkgs/tools/graphics/adriconf/default.nix
··· 8 8 , atkmm 9 9 , pcre 10 10 , gtkmm3 11 - , boost 12 - , libxmlxx3 11 + , pugixml 13 12 , mesa 14 13 , pciutils 15 14 }: 16 15 17 16 stdenv.mkDerivation rec { 18 17 pname = "adriconf"; 19 - version = "2.4.1"; 18 + version = "2.5.0"; 20 19 21 20 src = fetchFromGitLab { 22 21 domain = "gitlab.freedesktop.org"; 23 22 owner = "mesa"; 24 23 repo = pname; 25 24 rev = "v${version}"; 26 - sha256 = "hZy+FpKKBKuho/fALu2O+44zzK6s/M8CTbhrO00ANgo="; 25 + sha256 = "sha256-nxqrs8c1sRruZLwFwK/JfXQPfpEq08Pe2n7ojQkH3SM="; 27 26 }; 28 27 29 28 nativeBuildInputs = [ cmake pkg-config ]; 30 - buildInputs = [ libdrm libGL atkmm pcre gtkmm3 boost libxmlxx3 mesa pciutils ]; 29 + buildInputs = [ libdrm libGL atkmm pcre gtkmm3 pugixml mesa pciutils ]; 31 30 32 31 cmakeFlags = [ "-DENABLE_UNIT_TESTS=off" ]; 33 32
+83
pkgs/tools/misc/btdu/default.nix
··· 1 + {stdenv, lib, fetchurl, dub, ncurses, ldc, zlib, removeReferencesTo }: 2 + 3 + let 4 + _d_ae_ver = "0.0.3100"; 5 + _d_btrfs_ver = "0.0.12"; 6 + _d_ncurses_ver = "0.0.149"; 7 + _d_emsi_containers_ver = "0.9.0"; 8 + in 9 + stdenv.mkDerivation rec { 10 + pname = "btdu"; 11 + version = "0.3.1"; 12 + 13 + srcs = [ 14 + (fetchurl { 15 + url = "https://github.com/CyberShadow/${pname}/archive/v${version}.tar.gz"; 16 + sha256 = "760b2f0d28920a78b7967dd34c429125135688a3aefc57ab3a92d07bc3ef10cb"; 17 + }) 18 + (fetchurl { 19 + url = "https://github.com/CyberShadow/ae/archive/v${_d_ae_ver}.tar.gz"; 20 + sha256 = "86fa09ef6c1be4cbe8ad1c85729054e5d691b41ff57c7980d99937ec0f45b950"; 21 + }) 22 + (fetchurl { 23 + url = "https://github.com/CyberShadow/d-btrfs/archive/v${_d_btrfs_ver}.tar.gz"; 24 + sha256 = "cf2b1fa3e94a0aa239d465adbac239514838835283521d632f571948aa517f92"; 25 + }) 26 + (fetchurl { 27 + url = "https://github.com/D-Programming-Deimos/ncurses/archive/v${_d_ncurses_ver}.tar.gz"; 28 + sha256 = "2c8497f5dd93f9d3a05ca7ed57c4fcaee1e988fd25a24de106917ddf72f34646"; 29 + }) 30 + (fetchurl { 31 + url = "https://github.com/dlang-community/containers/archive/v${_d_emsi_containers_ver}.tar.gz"; 32 + sha256 = "5e256b84bbdbd2bd625cba0472ea27a1fde6d673d37a85fe971a20d52874acaa"; 33 + }) 34 + ]; 35 + 36 + sourceRoot = "."; 37 + 38 + postUnpack = '' 39 + mv ae-${_d_ae_ver} "ae" 40 + ''; 41 + 42 + 43 + nativeBuildInputs = [ dub ldc ]; 44 + buildInputs = [ ncurses zlib ]; 45 + 46 + configurePhase = '' 47 + runHook preConfigure 48 + mkdir home 49 + HOME="home" dub add-local ae ${_d_ae_ver} 50 + HOME="home" dub add-local d-btrfs-${_d_btrfs_ver} ${_d_btrfs_ver} 51 + HOME="home" dub add-local ncurses-${_d_ncurses_ver} ${_d_ncurses_ver} 52 + HOME="home" dub add-local containers-${_d_emsi_containers_ver} ${_d_emsi_containers_ver} 53 + runHook postConfigure 54 + ''; 55 + 56 + buildPhase = '' 57 + runHook preBuild 58 + cd ${pname}-${version} 59 + HOME="../home" dub --skip-registry=all build -b release 60 + runHook postBuild 61 + ''; 62 + 63 + installPhase = '' 64 + runHook preInstall 65 + mkdir -p $out/bin 66 + cp btdu $out/bin/ 67 + runHook postInstall 68 + ''; 69 + 70 + postInstall = '' 71 + ${removeReferencesTo}/bin/remove-references-to -t ${ldc} $out/bin/btdu 72 + ''; 73 + 74 + passthru.updateScript = ./update.py; 75 + 76 + meta = with lib; { 77 + description = "Sampling disk usage profiler for btrfs"; 78 + homepage = "https://github.com/CyberShadow/btdu"; 79 + license = licenses.gpl2Only; 80 + platforms = platforms.linux; 81 + maintainers = with maintainers; [ atila ]; 82 + }; 83 + }
+82
pkgs/tools/misc/btdu/update.py
··· 1 + #!/usr/bin/env nix-shell 2 + #!nix-shell -i python -p python39Packages.requests 3 + 4 + import requests 5 + import subprocess 6 + 7 + pkgbuild = requests.get('https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=btdu').text 8 + 9 + def grabDepVersions(depDict, pkgbuild=pkgbuild): 10 + for line in pkgbuild.split('\n'): 11 + if depDict["string"] in line: 12 + start = len(depDict["string"]) + 1 13 + depDict["version"] = line[start:] 14 + break 15 + 16 + def grabDepHashes(key,pkgbuild=pkgbuild): 17 + start = pkgbuild.find(key) + len(key) 18 + end = start+64 19 + hashes = [] 20 + for i in range(5): 21 + hashes.append(pkgbuild[start:end]) 22 + start = pkgbuild.find("'",end+1) + 1 23 + end = start+64 24 + return hashes 25 + 26 + def findLine(key,derivation): 27 + count = 0 28 + lines = [] 29 + for line in derivation: 30 + if key in line: 31 + lines.append(count) 32 + count += 1 33 + return lines 34 + 35 + def updateVersions(btdu,ae,btrfs,ncurses,containers,derivation): 36 + key = "let" 37 + line = findLine(key,derivation)[0] + 1 38 + derivation[line+0] = f' _d_ae_ver = "{ae["version"]}";\n' 39 + derivation[line+1] = f' _d_btrfs_ver = "{btrfs["version"]}";\n' 40 + derivation[line+2] = f' _d_ncurses_ver = "{ncurses["version"]}";\n' 41 + derivation[line+3] = f' _d_emsi_containers_ver = "{containers["version"]}";\n' 42 + 43 + key = "version = " 44 + line = findLine(key,derivation)[0] 45 + derivation[line] = f' version = "{btdu["version"]}";\n' 46 + 47 + return derivation 48 + 49 + def updateHashes(btdu,ae,btrfs,ncurses,containers,derivation): 50 + key = "sha256 = " 51 + hashLines = findLine(key,derivation) 52 + for i in range(len(hashes)): 53 + derivation[hashLines[i]] = f' sha256 = "{hashes[i]}";\n' 54 + 55 + return derivation 56 + 57 + if __name__ == "__main__": 58 + 59 + btdu = {"string": "pkgver"} 60 + ae = {"string": "_d_ae_ver"} 61 + btrfs = {"string": "_d_btrfs_ver"} 62 + ncurses = {"string": "_d_ncurses_ver"} 63 + containers = {"string": "_d_emsi_containers_ver"} 64 + 65 + grabDepVersions(btdu) 66 + grabDepVersions(ae) 67 + grabDepVersions(btrfs) 68 + grabDepVersions(ncurses) 69 + grabDepVersions(containers) 70 + 71 + hashes = grabDepHashes("sha256sums=('") 72 + 73 + nixpkgs = subprocess.check_output(["git", "rev-parse", "--show-toplevel"]).decode("utf-8").strip('\n') 74 + btduFolder = "/pkgs/tools/misc/btdu/" 75 + with open(nixpkgs + btduFolder + "default.nix", 'r') as arq: 76 + derivation = arq.readlines() 77 + 78 + derivation = updateVersions(btdu,ae,btrfs,ncurses,containers,derivation) 79 + derivation = updateHashes(btdu,ae,btrfs,ncurses,containers,derivation) 80 + 81 + with open(nixpkgs + btduFolder + "default.nix", 'w') as arq: 82 + arq.writelines(derivation)
+2 -1
pkgs/tools/misc/starship/default.nix
··· 8 8 , libiconv 9 9 , nixosTests 10 10 , Security 11 + , Foundation 11 12 }: 12 13 13 14 rustPlatform.buildRustPackage rec { ··· 24 25 nativeBuildInputs = [ installShellFiles ] ++ lib.optionals stdenv.isLinux [ pkg-config ]; 25 26 26 27 buildInputs = lib.optionals stdenv.isLinux [ openssl ] 27 - ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; 28 + ++ lib.optionals stdenv.isDarwin [ libiconv Security Foundation ]; 28 29 29 30 postInstall = '' 30 31 for shell in bash fish zsh; do
+6 -2
pkgs/tools/misc/taoup/default.nix
··· 4 4 in 5 5 stdenv.mkDerivation rec { 6 6 pname = "taoup"; 7 - version = "1.1.14"; 7 + version = "1.1.16"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "globalcitizen"; 11 11 repo = pname; 12 12 rev = "v${version}"; 13 - sha256 = "1gs6f66fg1l504riw481nvyw7cchbr3qjks4mkj2qb3s9147ad8j"; 13 + hash = "sha256-LNS4m7Er4dQKYDuHMF/5mAi4yGcYzppxfqVKFOT6I/s="; 14 14 }; 15 15 16 16 buildInputs = [ rubyEnv bash ncurses ]; ··· 37 37 dontBuild = true; 38 38 39 39 installPhase = '' 40 + runHook preInstall 41 + 40 42 mkdir -p $out/{bin,lib/taoup} 41 43 42 44 cp taoup $out/lib/taoup ··· 51 53 52 54 cp taoup-fortune $out/bin 53 55 chmod +x $out/bin/taoup-fortune 56 + 57 + runHook postInstall 54 58 ''; 55 59 56 60 meta = {
+2 -2
pkgs/tools/misc/wimboot/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "wimboot"; 5 - version = "2.7.3"; 5 + version = "2.7.4"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "ipxe"; 9 9 repo = "wimboot"; 10 10 rev = "v${version}"; 11 - sha256 = "12c677agkmiqs35qfpqfj7c4kxkizhbk9l6hig36dslzp4fwpl70"; 11 + sha256 = "sha256-LaPH6nGQanweAG0niS75hr7zbO/9A3iZjS8wHD//oJ4="; 12 12 }; 13 13 14 14 sourceRoot = "source/src";
+33 -11
pkgs/tools/security/libmodsecurity/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config 2 - , doxygen, perl, valgrind 3 - , curl, geoip, libxml2, lmdb, lua, pcre, yajl }: 1 + { lib, stdenv, fetchFromGitHub 2 + , autoreconfHook, bison, flex, pkg-config 3 + , curl, geoip, libmaxminddb, libxml2, lmdb, lua, pcre 4 + , ssdeep, valgrind, yajl 5 + }: 4 6 5 7 stdenv.mkDerivation rec { 6 8 pname = "libmodsecurity"; 7 - version = "3.0.4"; 9 + version = "3.0.6"; 8 10 9 11 src = fetchFromGitHub { 10 12 owner = "SpiderLabs"; 11 13 repo = "ModSecurity"; 12 - fetchSubmodules = true; 13 14 rev = "v${version}"; 14 - sha256 = "07vry10cdll94sp652hwapn0ppjv3mb7n2s781yhy7hssap6f2vp"; 15 + sha256 = "sha256-V+NBT2YN8qO3Px8zEzSA2ZsjSf1pv8+VlLxYlrpqfGg="; 16 + fetchSubmodules = true; 15 17 }; 16 18 17 - nativeBuildInputs = [ autoreconfHook pkg-config doxygen ]; 19 + nativeBuildInputs = [ autoreconfHook bison flex pkg-config ]; 20 + buildInputs = [ curl geoip libmaxminddb libxml2 lmdb lua pcre ssdeep valgrind yajl ]; 18 21 19 - buildInputs = [ perl valgrind curl geoip libxml2 lmdb lua pcre yajl ]; 22 + outputs = [ "out" "dev" ]; 20 23 21 24 configureFlags = [ 22 - "--enable-static" 25 + "--enable-parser-generation" 23 26 "--with-curl=${curl.dev}" 24 27 "--with-libxml=${libxml2.dev}" 28 + "--with-lmdb=${lmdb.out}" 29 + "--with-maxmind=${libmaxminddb}" 25 30 "--with-pcre=${pcre.dev}" 26 - "--with-yajl=${yajl}" 31 + "--with-ssdeep=${ssdeep}" 27 32 ]; 28 33 34 + postPatch = '' 35 + substituteInPlace build/lmdb.m4 \ 36 + --replace "\''${path}/include/lmdb.h" "${lmdb.dev}/include/lmdb.h" \ 37 + --replace "lmdb_inc_path=\"\''${path}/include\"" "lmdb_inc_path=\"${lmdb.dev}/include\"" 38 + substituteInPlace build/ssdeep.m4 \ 39 + --replace "/usr/local/libfuzzy" "${ssdeep}/lib" \ 40 + --replace "\''${path}/include/fuzzy.h" "${ssdeep}/include/fuzzy.h" \ 41 + --replace "ssdeep_inc_path=\"\''${path}/include\"" "ssdeep_inc_path=\"${ssdeep}/include\"" 42 + substituteInPlace modsecurity.conf-recommended \ 43 + --replace "SecUnicodeMapFile unicode.mapping 20127" "SecUnicodeMapFile $out/share/modsecurity/unicode.mapping 20127" 44 + ''; 45 + 46 + postInstall = '' 47 + mkdir -p $out/share/modsecurity 48 + cp ${src}/{AUTHORS,CHANGES,LICENSE,README.md,modsecurity.conf-recommended,unicode.mapping} $out/share/modsecurity 49 + ''; 50 + 29 51 enableParallelBuilding = true; 30 52 31 53 meta = with lib; { 54 + homepage = "https://github.com/SpiderLabs/ModSecurity"; 32 55 description = '' 33 56 ModSecurity v3 library component. 34 57 ''; ··· 40 63 the ModSecurity SecRules format and apply them to HTTP content provided 41 64 by your application via Connectors. 42 65 ''; 43 - homepage = "https://modsecurity.org/"; 44 66 license = licenses.asl20; 45 67 platforms = platforms.all; 46 68 maintainers = with maintainers; [ izorkin ];
+42
pkgs/tools/security/modsecurity-crs/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub }: 2 + 3 + stdenv.mkDerivation rec { 4 + version = "3.3.2"; 5 + pname = "modsecurity-crs"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "coreruleset"; 9 + repo = "coreruleset"; 10 + rev = "v${version}"; 11 + sha256 = "sha256-m/iVLhk2y5BpYu8EwC2adrrDnbaVCQ0SE25ltvMokCw="; 12 + }; 13 + 14 + installPhase = '' 15 + install -D -m444 -t $out/rules ${src}/rules/*.conf 16 + install -D -m444 -t $out/rules ${src}/rules/*.data 17 + install -D -m444 -t $out/share/doc/modsecurity-crs ${src}/*.md 18 + install -D -m444 -t $out/share/doc/modsecurity-crs ${src}/{CHANGES,INSTALL,LICENSE} 19 + install -D -m444 -t $out/share/modsecurity-crs ${src}/rules/*.example 20 + install -D -m444 -t $out/share/modsecurity-crs ${src}/crs-setup.conf.example 21 + cat > $out/share/modsecurity-crs/modsecurity-crs.load.example <<EOF 22 + ## 23 + ## This is a sample file for loading OWASP CRS's rules. 24 + ## 25 + Include /etc/modsecurity/crs/crs-setup.conf 26 + IncludeOptional /etc/modsecurity/crs/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf 27 + Include $out/rules/*.conf 28 + IncludeOptional /etc/modsecurity/crs/RESPONSE-999-EXCLUSION-RULES-AFTER-CRS.conf 29 + EOF 30 + ''; 31 + 32 + meta = with lib; { 33 + homepage = "https://coreruleset.org"; 34 + description = '' 35 + The OWASP ModSecurity Core Rule Set is a set of generic attack detection 36 + rules for use with ModSecurity or compatible web application firewalls. 37 + ''; 38 + license = licenses.asl20; 39 + platforms = platforms.all; 40 + maintainers = with maintainers; [ izorkin ]; 41 + }; 42 + }
+5 -1
pkgs/top-level/all-packages.nix
··· 260 260 261 261 cen64 = callPackage ../misc/emulators/cen64 { }; 262 262 263 + btdu = callPackage ../tools/misc/btdu { }; 264 + 263 265 uxn = callPackage ../misc/emulators/uxn { }; 264 266 265 267 cereal = callPackage ../development/libraries/cereal { }; ··· 7885 7887 modem-manager-gui = callPackage ../applications/networking/modem-manager-gui {}; 7886 7888 7887 7889 modsecurity_standalone = callPackage ../tools/security/modsecurity { }; 7890 + 7891 + modsecurity-crs = callPackage ../tools/security/modsecurity-crs { }; 7888 7892 7889 7893 molly-guard = callPackage ../os-specific/linux/molly-guard { }; 7890 7894 ··· 24017 24021 stdmanpages = callPackage ../data/documentation/std-man-pages { }; 24018 24022 24019 24023 starship = callPackage ../tools/misc/starship { 24020 - inherit (darwin.apple_sdk.frameworks) Security; 24024 + inherit (darwin.apple_sdk.frameworks) Security Foundation; 24021 24025 }; 24022 24026 24023 24027 stig = callPackage ../applications/networking/p2p/stig { };
+2
pkgs/top-level/python-packages.nix
··· 10051 10051 10052 10052 typer = callPackage ../development/python-modules/typer { }; 10053 10053 10054 + types-dateutil = callPackage ../development/python-modules/types-dateutil { }; 10055 + 10054 10056 types-decorator = callPackage ../development/python-modules/types-decorator { }; 10055 10057 10056 10058 types-freezegun = callPackage ../development/python-modules/types-freezegun { };