Merge master into staging-next

authored by github-actions[bot] and committed by GitHub 6e2df292 e8dd5549

+186 -152
+1
nixos/tests/all-tests.nix
··· 429 nginx-etag = handleTest ./nginx-etag.nix {}; 430 nginx-http3 = handleTest ./nginx-http3.nix {}; 431 nginx-modsecurity = handleTest ./nginx-modsecurity.nix {}; 432 nginx-pubhtml = handleTest ./nginx-pubhtml.nix {}; 433 nginx-sandbox = handleTestOn ["x86_64-linux"] ./nginx-sandbox.nix {}; 434 nginx-sso = handleTest ./nginx-sso.nix {};
··· 429 nginx-etag = handleTest ./nginx-etag.nix {}; 430 nginx-http3 = handleTest ./nginx-http3.nix {}; 431 nginx-modsecurity = handleTest ./nginx-modsecurity.nix {}; 432 + nginx-njs = handleTest ./nginx-njs.nix {}; 433 nginx-pubhtml = handleTest ./nginx-pubhtml.nix {}; 434 nginx-sandbox = handleTestOn ["x86_64-linux"] ./nginx-sandbox.nix {}; 435 nginx-sso = handleTest ./nginx-sso.nix {};
+27
nixos/tests/nginx-njs.nix
···
··· 1 + import ./make-test-python.nix ({ pkgs, lib, ... }: { 2 + name = "nginx-njs"; 3 + 4 + nodes.machine = { config, lib, pkgs, ... }: { 5 + services.nginx = { 6 + enable = true; 7 + additionalModules = [ pkgs.nginxModules.njs ]; 8 + commonHttpConfig = '' 9 + js_import http from ${builtins.toFile "http.js" '' 10 + function hello(r) { 11 + r.return(200, "Hello world!"); 12 + } 13 + export default {hello}; 14 + ''}; 15 + ''; 16 + virtualHosts."localhost".locations."/".extraConfig = '' 17 + js_content http.hello; 18 + ''; 19 + }; 20 + }; 21 + testScript = '' 22 + machine.wait_for_unit("nginx") 23 + 24 + response = machine.wait_until_succeeds("curl -fvvv -s http://127.0.0.1/") 25 + assert "Hello world!" == response, f"Expected 'Hello world!', got '{response}'" 26 + ''; 27 + })
+5 -26
pkgs/applications/audio/hivelytracker/default.nix
··· 2 , stdenv 3 , fetchFromGitHub 4 , pkg-config 5 - , makeWrapper 6 , SDL 7 , SDL_image 8 , SDL_ttf 9 - , gtk2 10 - , glib 11 }: 12 13 stdenv.mkDerivation rec { 14 pname = "hivelytracker"; 15 - version = "unstable-2020-08-19"; 16 17 src = fetchFromGitHub { 18 owner = "pete-gordon"; 19 repo = "hivelytracker"; 20 - rev = "c8e3c7a5ee9f4a07cb4a941caecf7e4c4f4d40e0"; 21 - sha256 = "1nqianlf1msir6wqwapi7ys1vbmf6aik58wa54b6cn5v6kwxh75a"; 22 }; 23 24 nativeBuildInputs = [ 25 pkg-config 26 - makeWrapper 27 ]; 28 29 buildInputs = [ 30 SDL 31 SDL_image 32 SDL_ttf 33 - gtk2 34 - glib 35 ]; 36 37 makeFlags = [ ··· 40 "PREFIX=$(out)" 41 ]; 42 43 - # TODO: try to exclude gtk and glib from darwin builds 44 - NIX_CFLAGS_COMPILE = [ 45 - "-I${SDL}/include/SDL" 46 - "-I${SDL_image}/include/SDL" 47 - "-I${SDL_ttf}/include/SDL" 48 - "-I${gtk2.dev}/include/gtk-2.0" 49 - "-I${glib.dev}/include/glib-2.0" 50 - ]; 51 - 52 # Also build the hvl2wav tool 53 postBuild = '' 54 make -C hvl2wav 55 ''; 56 57 postInstall = '' 58 - # https://github.com/pete-gordon/hivelytracker/issues/43 59 - # Ideally we should patch the sources, but the program can't open 60 - # files passed as arguments anyway, so this works well enough until the 61 - # issue is fixed. 62 - wrapProgram $out/bin/hivelytracker \ 63 - --chdir "$out/share/hivelytracker" 64 - 65 # Also install the hvl2wav tool 66 install -Dm755 hvl2wav/hvl2wav $out/bin/hvl2wav 67 ''; ··· 86 broken = stdenv.isDarwin; # TODO: try to use xcbuild 87 }; 88 } 89 -
··· 2 , stdenv 3 , fetchFromGitHub 4 , pkg-config 5 , SDL 6 , SDL_image 7 , SDL_ttf 8 + , gtk3 9 }: 10 11 stdenv.mkDerivation rec { 12 pname = "hivelytracker"; 13 + version = "1.9"; 14 15 src = fetchFromGitHub { 16 owner = "pete-gordon"; 17 repo = "hivelytracker"; 18 + rev = "V${lib.replaceStrings ["."] ["_"] version}"; 19 + sha256 = "148p320sd8phcpmj4m85ns5zly2dawbp8kgx9ryjfdk24pa88xg6"; 20 }; 21 22 nativeBuildInputs = [ 23 pkg-config 24 ]; 25 26 buildInputs = [ 27 SDL 28 SDL_image 29 SDL_ttf 30 + gtk3 31 ]; 32 33 makeFlags = [ ··· 36 "PREFIX=$(out)" 37 ]; 38 39 # Also build the hvl2wav tool 40 postBuild = '' 41 make -C hvl2wav 42 ''; 43 44 postInstall = '' 45 # Also install the hvl2wav tool 46 install -Dm755 hvl2wav/hvl2wav $out/bin/hvl2wav 47 ''; ··· 66 broken = stdenv.isDarwin; # TODO: try to use xcbuild 67 }; 68 }
+3 -3
pkgs/applications/audio/termusic/default.nix
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "termusic"; 10 - version = "0.7.3"; 11 12 src = fetchCrate { 13 inherit pname version; 14 - sha256 = "sha256-5I9Fu+A5IBfaxaPcYKTzWq3/8ts0BPSOOVeU6D61dbc="; 15 }; 16 17 - cargoHash = "sha256-R/hElL0MjeBqboJTQkIREPOh+/YbdKtUAzqPD6BpSPs="; 18 19 nativeBuildInputs = [ pkg-config ]; 20 buildInputs = [ alsa-lib ];
··· 7 8 rustPlatform.buildRustPackage rec { 9 pname = "termusic"; 10 + version = "0.7.5"; 11 12 src = fetchCrate { 13 inherit pname version; 14 + sha256 = "sha256-/wpaxXY0hT7XX44cW1f3JuowE5u46/aLMC2VXgty/jE="; 15 }; 16 17 + cargoHash = "sha256-TznzZ1dcun57IQ8e2T2FOxSdyqxS6etnuvxOY8n1y14="; 18 19 nativeBuildInputs = [ pkg-config ]; 20 buildInputs = [ alsa-lib ];
+3 -3
pkgs/applications/blockchains/lighthouse/default.nix
··· 17 18 rustPlatform.buildRustPackage rec { 19 pname = "lighthouse"; 20 - version = "3.1.2"; 21 22 # lighthouse/common/deposit_contract/build.rs 23 depositContractSpecVersion = "0.12.1"; ··· 27 owner = "sigp"; 28 repo = "lighthouse"; 29 rev = "v${version}"; 30 - hash = "sha256-EJFg6ZjxxijxJNMwKRh0cYeqwujUV3OJgXBvBRsnbVI="; 31 }; 32 33 - cargoHash = "sha256-iXqRtBqvM9URQsL8qGmpr3CNX2fpbtDOaluibAX/lWo="; 34 35 buildFeatures = [ "modern" "gnosis" ]; 36
··· 17 18 rustPlatform.buildRustPackage rec { 19 pname = "lighthouse"; 20 + version = "3.2.1"; 21 22 # lighthouse/common/deposit_contract/build.rs 23 depositContractSpecVersion = "0.12.1"; ··· 27 owner = "sigp"; 28 repo = "lighthouse"; 29 rev = "v${version}"; 30 + sha256 = "sha256-Aqc3kk1rquhLKNZDlEun4bQpKI4Nsk7+Wr7E2IkJQEs="; 31 }; 32 33 + cargoSha256 = "sha256-wGEk7OfEmyeRW65kq5stvKCdnCjfssyXUmNWGkGq42M="; 34 35 buildFeatures = [ "modern" "gnosis" ]; 36
+10 -5
pkgs/applications/networking/instant-messengers/gurk-rs/default.nix
··· 3 , protobuf 4 , rustPlatform 5 , fetchFromGitHub 6 }: 7 8 rustPlatform.buildRustPackage rec { 9 pname = "gurk-rs"; 10 - version = "0.2.5"; 11 12 src = fetchFromGitHub { 13 owner = "boxdot"; 14 repo = pname; 15 rev = "v${version}"; 16 - sha256 = "sha256-CEsnZ0V85eOH+bjtico5yo9kS6eMT7Dx3H6wiDUjQm4="; 17 }; 18 19 postPatch = '' 20 rm .cargo/config.toml 21 ''; 22 23 - cargoHash = "sha256-z+2G/hD1zYOoJrYFB0eEP6y9MoV2OfdkJVt6je94EkU="; 24 - buildInputs = [ protobuf ]; 25 26 PROTOC = "${protobuf}/bin/protoc"; 27 28 meta = with lib; { 29 - broken = stdenv.isDarwin; 30 description = "Signal Messenger client for terminal"; 31 homepage = "https://github.com/boxdot/gurk-rs"; 32 license = licenses.agpl3Only;
··· 3 , protobuf 4 , rustPlatform 5 , fetchFromGitHub 6 + , Cocoa 7 }: 8 9 rustPlatform.buildRustPackage rec { 10 pname = "gurk-rs"; 11 + version = "0.3.0"; 12 13 src = fetchFromGitHub { 14 owner = "boxdot"; 15 repo = pname; 16 rev = "v${version}"; 17 + sha256 = "sha256-uJvi082HkWW9y8jwHTvzuzBAi7uVtjq/4U0bO0EWdVM="; 18 }; 19 20 postPatch = '' 21 rm .cargo/config.toml 22 ''; 23 24 + cargoHash = "sha256-jS6wAswGqgfmpPV6qERhqn1IhpcBSDNh8HDdPo04F0A="; 25 + 26 + nativeBuildInputs = [ protobuf ]; 27 + 28 + buildInputs = lib.optionals stdenv.isDarwin [ Cocoa ]; 29 + 30 + NIX_LDFLAGS = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [ "-framework" "AppKit" ]; 31 32 PROTOC = "${protobuf}/bin/protoc"; 33 34 meta = with lib; { 35 description = "Signal Messenger client for terminal"; 36 homepage = "https://github.com/boxdot/gurk-rs"; 37 license = licenses.agpl3Only;
+2 -2
pkgs/development/libraries/s2n-tls/default.nix
··· 8 9 stdenv.mkDerivation rec { 10 pname = "s2n-tls"; 11 - version = "1.3.26"; 12 13 src = fetchFromGitHub { 14 owner = "aws"; 15 repo = pname; 16 rev = "v${version}"; 17 - sha256 = "sha256-eVqiY/AomnKbN83hSB66EIuGD82Ilx+ybQtBMyX57WY="; 18 }; 19 20 nativeBuildInputs = [ cmake ];
··· 8 9 stdenv.mkDerivation rec { 10 pname = "s2n-tls"; 11 + version = "1.3.27"; 12 13 src = fetchFromGitHub { 14 owner = "aws"; 15 repo = pname; 16 rev = "v${version}"; 17 + sha256 = "sha256-y6YlSzLZXNL7GkP0SNXQgt16W2AohGaGjshNq9GoCtA="; 18 }; 19 20 nativeBuildInputs = [ cmake ];
+6 -7
pkgs/development/ocaml-modules/eqaf/default.nix
··· 1 - { lib, fetchurl, buildDunePackage, cstruct, bigarray-compat }: 2 3 buildDunePackage rec { 4 - minimumOCamlVersion = "4.03"; 5 pname = "eqaf"; 6 - version = "0.8"; 7 - useDune2 = true; 8 9 src = fetchurl { 10 - url = "https://github.com/mirage/eqaf/releases/download/v${version}/eqaf-v${version}.tbz"; 11 - sha256 = "sha256-EUWhYBB0N9eUPgLkht9r0jPTk37BpZfX+jntuUcc+HU="; 12 }; 13 14 - propagatedBuildInputs = [ cstruct bigarray-compat ]; 15 16 meta = { 17 description = "Constant time equal function to avoid timing attacks in OCaml";
··· 1 + { lib, fetchurl, buildDunePackage, cstruct }: 2 3 buildDunePackage rec { 4 + minimalOCamlVersion = "4.07"; 5 pname = "eqaf"; 6 + version = "0.9"; 7 8 src = fetchurl { 9 + url = "https://github.com/mirage/eqaf/releases/download/v${version}/eqaf-${version}.tbz"; 10 + sha256 = "sha256-7A4oqUasaBf5XVhU8FqZYa46hAi7YQ55z60BubJV3+A="; 11 }; 12 13 + propagatedBuildInputs = [ cstruct ]; 14 15 meta = { 16 description = "Constant time equal function to avoid timing attacks in OCaml";
+2 -1
pkgs/development/ocaml-modules/janestreet/0.15.nix
··· 165 166 base = janePackage { 167 pname = "base"; 168 - hash = "1qyycqqr4dijvxm4hhy79c964wd91kpsfvb89kna1qwgllg0hrpj"; 169 minimumOCamlVersion = "4.10"; 170 meta.description = "Full standard library replacement for OCaml"; 171 buildInputs = [ dune-configurator ];
··· 165 166 base = janePackage { 167 pname = "base"; 168 + version = "0.15.1"; 169 + hash = "sha256-CDKQVF+hAvJTo5QmRvyOfQNrdRgz6m+64q9UzNHlJEA="; 170 minimumOCamlVersion = "4.10"; 171 meta.description = "Full standard library replacement for OCaml"; 172 buildInputs = [ dune-configurator ];
+2 -2
pkgs/development/python-modules/aiohomekit/default.nix
··· 18 19 buildPythonPackage rec { 20 pname = "aiohomekit"; 21 - version = "2.2.16"; 22 format = "pyproject"; 23 24 disabled = pythonOlder "3.9"; ··· 27 owner = "Jc2k"; 28 repo = pname; 29 rev = "refs/tags/${version}"; 30 - hash = "sha256-Dr7K71wEk46UPyNp3FRuRVqfOn40X059lf3yojM57cc="; 31 }; 32 33 nativeBuildInputs = [
··· 18 19 buildPythonPackage rec { 20 pname = "aiohomekit"; 21 + version = "2.2.17"; 22 format = "pyproject"; 23 24 disabled = pythonOlder "3.9"; ··· 27 owner = "Jc2k"; 28 repo = pname; 29 rev = "refs/tags/${version}"; 30 + hash = "sha256-eqLWHa7qUZ6UzNr9onwF2xmntKwdbNMWt2KvwG3kQjc="; 31 }; 32 33 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/bluetooth-adapters/default.nix
··· 14 15 buildPythonPackage rec { 16 pname = "bluetooth-adapters"; 17 - version = "0.6.0"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.9"; ··· 23 owner = "Bluetooth-Devices"; 24 repo = pname; 25 rev = "refs/tags/v${version}"; 26 - hash = "sha256-26w7513h5WWGqKz4OqHob42O0bk1yW8ePPKB2V9+AHs="; 27 }; 28 29 postPatch = ''
··· 14 15 buildPythonPackage rec { 16 pname = "bluetooth-adapters"; 17 + version = "0.7.0"; 18 format = "pyproject"; 19 20 disabled = pythonOlder "3.9"; ··· 23 owner = "Bluetooth-Devices"; 24 repo = pname; 25 rev = "refs/tags/v${version}"; 26 + hash = "sha256-c6blw0WD1V4bNZ5YaVjLbeCIug8l7PeKlrv+kzncK/s="; 27 }; 28 29 postPatch = ''
+2 -2
pkgs/development/python-modules/bthome-ble/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "bthome-ble"; 15 - version = "2.1.0"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.9"; ··· 21 owner = "Bluetooth-Devices"; 22 repo = pname; 23 rev = "v${version}"; 24 - hash = "sha256-4vk9uaG/9n3lNEWAergW9kFN2/Ta/KSax0rK9tVxAfw="; 25 }; 26 27 nativeBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "bthome-ble"; 15 + version = "2.2.0"; 16 format = "pyproject"; 17 18 disabled = pythonOlder "3.9"; ··· 21 owner = "Bluetooth-Devices"; 22 repo = pname; 23 rev = "v${version}"; 24 + hash = "sha256-jjFYJ6EF4G43EOKCdkE1KQqaV2aGD+HMh1tOxHWUn8k="; 25 }; 26 27 nativeBuildInputs = [
+28 -25
pkgs/development/python-modules/cairocffi/default.nix
··· 7 , substituteAll 8 , makeFontsConf 9 , freefont_ttf 10 , pytest 11 , glibcLocales 12 , cairo ··· 21 22 buildPythonPackage rec { 23 pname = "cairocffi"; 24 - version = "1.3.0"; 25 26 disabled = pythonOlder "3.5"; 27 28 src = fetchPypi { 29 inherit pname version; 30 - sha256 = "sha256-EIo6fLCeIDvdhQHZuq2R14bSBFYb1x6TZOizSJfEe5E="; 31 }; 32 33 LC_ALL = "en_US.UTF-8"; 34 35 # checkPhase require at least one 'normal' font and one 'monospace', ··· 38 fontDirectories = [ freefont_ttf ]; 39 }; 40 41 - propagatedBuildInputs = [ cairo cffi ] ++ lib.optional withXcffib xcffib; 42 propagatedNativeBuildInputs = [ cffi ]; 43 44 # pytestCheckHook does not work 45 - checkInputs = [ numpy pytest glibcLocales ]; 46 - 47 - postPatch = '' 48 - substituteInPlace setup.cfg \ 49 - --replace "pytest-runner" "" \ 50 - --replace "pytest-cov" "" \ 51 - --replace "pytest-flake8" "" \ 52 - --replace "pytest-isort" "" \ 53 - --replace "--flake8 --isort" "" 54 - ''; 55 56 checkPhase = '' 57 py.test $out/${python.sitePackages} 58 ''; 59 - 60 - patches = [ 61 - # OSError: dlopen() failed to load a library: gdk-pixbuf-2.0 / gdk-pixbuf-2.0-0 62 - (substituteAll { 63 - src = ./dlopen-paths.patch; 64 - ext = stdenv.hostPlatform.extensions.sharedLibrary; 65 - cairo = cairo.out; 66 - glib = glib.out; 67 - gdk_pixbuf = gdk-pixbuf.out; 68 - }) 69 - ./fix_test_scaled_font.patch 70 - ]; 71 72 meta = with lib; { 73 homepage = "https://github.com/SimonSapin/cairocffi";
··· 7 , substituteAll 8 , makeFontsConf 9 , freefont_ttf 10 + , pikepdf 11 , pytest 12 , glibcLocales 13 , cairo ··· 22 23 buildPythonPackage rec { 24 pname = "cairocffi"; 25 + version = "1.4.0"; 26 27 disabled = pythonOlder "3.5"; 28 29 src = fetchPypi { 30 inherit pname version; 31 + sha256 = "sha256-UJM5syzNjXsAwiBMMnNs3njbU6MuahYtMSR40lYmzZo="; 32 }; 33 34 + patches = [ 35 + # OSError: dlopen() failed to load a library: gdk-pixbuf-2.0 / gdk-pixbuf-2.0-0 36 + (substituteAll { 37 + src = ./dlopen-paths.patch; 38 + ext = stdenv.hostPlatform.extensions.sharedLibrary; 39 + cairo = cairo.out; 40 + glib = glib.out; 41 + gdk_pixbuf = gdk-pixbuf.out; 42 + }) 43 + ./fix_test_scaled_font.patch 44 + ]; 45 + 46 + postPatch = '' 47 + substituteInPlace setup.cfg \ 48 + --replace "pytest-runner" "" \ 49 + --replace "pytest-cov" "" \ 50 + --replace "pytest-flake8" "" \ 51 + --replace "pytest-isort" "" \ 52 + --replace "--flake8 --isort" "" 53 + ''; 54 + 55 LC_ALL = "en_US.UTF-8"; 56 57 # checkPhase require at least one 'normal' font and one 'monospace', ··· 60 fontDirectories = [ freefont_ttf ]; 61 }; 62 63 propagatedNativeBuildInputs = [ cffi ]; 64 65 + propagatedBuildInputs = [ cairo cffi ] 66 + ++ lib.optional withXcffib xcffib; 67 + 68 # pytestCheckHook does not work 69 + checkInputs = [ numpy pikepdf pytest glibcLocales ]; 70 71 checkPhase = '' 72 py.test $out/${python.sitePackages} 73 ''; 74 75 meta = with lib; { 76 homepage = "https://github.com/SimonSapin/cairocffi";
+2 -2
pkgs/development/python-modules/cometblue-lite/default.nix
··· 8 9 buildPythonPackage rec { 10 pname = "cometblue-lite"; 11 - version = "0.5.2"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.8"; ··· 17 owner = "neffs"; 18 repo = "python-cometblue_lite"; 19 rev = version; 20 - hash = "sha256-23HspTZ0kN3+geDnqdH6Vj5NfmmbVku2vPTdsy0XvRU="; 21 }; 22 23 propagatedBuildInputs = [
··· 8 9 buildPythonPackage rec { 10 pname = "cometblue-lite"; 11 + version = "0.5.3"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.8"; ··· 17 owner = "neffs"; 18 repo = "python-cometblue_lite"; 19 rev = version; 20 + hash = "sha256-KRWS2nqMFlF+IcBSmnQH3ptp6yxRQjAFY6aY0D7eZBs="; 21 }; 22 23 propagatedBuildInputs = [
+2 -13
pkgs/development/python-modules/djangorestframework/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 - , fetchpatch 5 , coreapi 6 , django 7 , django-guardian ··· 15 16 buildPythonPackage rec { 17 pname = "djangorestframework"; 18 - version = "3.13.1"; 19 disabled = pythonOlder "3.6"; 20 21 src = fetchFromGitHub { 22 owner = "encode"; 23 repo = "django-rest-framework"; 24 rev = version; 25 - sha256 = "sha256-XmX6DZBZYzVCe72GERplAWt5jIjV/cYercZGb0pYjoc="; 26 }; 27 - 28 - patches = [ 29 - # See https://github.com/encode/django-rest-framework/issues/8608 30 - # and https://github.com/encode/django-rest-framework/pull/8591/ 31 - (fetchpatch { 32 - name = "fix-django-collect-static.patch"; 33 - url = "https://github.com/encode/django-rest-framework/pull/8591/commits/65943bb58deba6ee1a89fe4504f270ab1806fce6.patch"; 34 - sha256 = "sha256-wI7EzX9tlyyXAPrJEr+/2uTg7dVY98IKgh7Cc/NZo5k="; 35 - }) 36 - ]; 37 38 propagatedBuildInputs = [ 39 django
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , coreapi 5 , django 6 , django-guardian ··· 14 15 buildPythonPackage rec { 16 pname = "djangorestframework"; 17 + version = "3.14.0"; 18 disabled = pythonOlder "3.6"; 19 20 src = fetchFromGitHub { 21 owner = "encode"; 22 repo = "django-rest-framework"; 23 rev = version; 24 + sha256 = "sha256-Fnj0n3NS3SetOlwSmGkLE979vNJnYE6i6xwVBslpNz4="; 25 }; 26 27 propagatedBuildInputs = [ 28 django
+1
pkgs/development/python-modules/duckdb/default.nix
··· 19 20 preConfigure = '' 21 cd tools/pythonpkg 22 ''; 23 24 SETUPTOOLS_SCM_PRETEND_VERSION = version;
··· 19 20 preConfigure = '' 21 cd tools/pythonpkg 22 + substituteInPlace setup.py --replace "multiprocessing.cpu_count()" "$NIX_BUILD_CORES" 23 ''; 24 25 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+2 -2
pkgs/development/python-modules/google-auth-oauthlib/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "google-auth-oauthlib"; 15 - version = "0.5.2"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 - sha256 = "sha256-1emKcSAzMGmfkqJrwIhHqS6MOxuNgqAh8a80Fk2xQ64="; 23 }; 24 25 propagatedBuildInputs = [
··· 12 13 buildPythonPackage rec { 14 pname = "google-auth-oauthlib"; 15 + version = "0.7.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchPypi { 21 inherit pname version; 22 + sha256 = "sha256-2xG85LPv/Jm1GOwiopA0cOCFPAySvldpTjaE5zjSJRM="; 23 }; 24 25 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/google-auth/default.nix
··· 27 28 buildPythonPackage rec { 29 pname = "google-auth"; 30 - version = "2.11.0"; 31 32 src = fetchPypi { 33 inherit pname version; 34 - sha256 = "sha256-7WXs+faBgyKY4pMo4e8KNnbjcysuVvQVMtRfcKIt4Ps="; 35 }; 36 37 propagatedBuildInputs = [
··· 27 28 buildPythonPackage rec { 29 pname = "google-auth"; 30 + version = "2.14.0"; 31 32 src = fetchPypi { 33 inherit pname version; 34 + sha256 = "sha256-zySBeFXYdO3i79BxqiISVEX1Vd4Whbc5qXgvz0CMKj0="; 35 }; 36 37 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/google-crc32c/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "google-crc32c"; 5 - version = "1.3.0"; 6 7 src = fetchFromGitHub { 8 owner = "googleapis"; 9 repo = "python-crc32c"; 10 rev = "v${version}"; 11 - sha256 = "005ra4pfv71rq53198k7q6k63f529q3g6hkbxbwfcf82jr77hxga"; 12 }; 13 14 buildInputs = [ crc32c ];
··· 2 3 buildPythonPackage rec { 4 pname = "google-crc32c"; 5 + version = "1.5.0"; 6 7 src = fetchFromGitHub { 8 owner = "googleapis"; 9 repo = "python-crc32c"; 10 rev = "v${version}"; 11 + sha256 = "sha256-Tx7UBIwKzSBbpuqdqGiXTbmBE+1MDRknVe3Zee0UHKQ="; 12 }; 13 14 buildInputs = [ crc32c ];
+2 -2
pkgs/development/python-modules/google-resumable-media/default.nix
··· 12 13 buildPythonPackage rec { 14 pname = "google-resumable-media"; 15 - version = "2.3.3"; 16 17 src = fetchPypi { 18 inherit pname version; 19 - sha256 = "sha256-J8UmIL02TRyBFuqsTqKvy/uBrpE5+zGZZS/KwXJL+2w="; 20 }; 21 22 propagatedBuildInputs = [ google-auth google-crc32c requests ];
··· 12 13 buildPythonPackage rec { 14 pname = "google-resumable-media"; 15 + version = "2.4.0"; 16 17 src = fetchPypi { 18 inherit pname version; 19 + sha256 = "sha256-jVUYUC+SuezISsRneb1PCWlOyzujij58pzeobRXLyh8="; 20 }; 21 22 propagatedBuildInputs = [ google-auth google-crc32c requests ];
+2 -2
pkgs/development/python-modules/hexbytes/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "hexbytes"; 12 - version = "0.2.2"; 13 disabled = pythonOlder "3.6"; 14 15 src = fetchFromGitHub { 16 owner = "ethereum"; 17 repo = "hexbytes"; 18 rev = "v${version}"; 19 - sha256 = "sha256-SZscM6ze9yY+iRDx/5F4XbrLXIbp6QkFnzxN7zvP9CQ="; 20 }; 21 22 checkInputs = [
··· 9 10 buildPythonPackage rec { 11 pname = "hexbytes"; 12 + version = "0.3.0"; 13 disabled = pythonOlder "3.6"; 14 15 src = fetchFromGitHub { 16 owner = "ethereum"; 17 repo = "hexbytes"; 18 rev = "v${version}"; 19 + sha256 = "sha256-EDFE5MUc+XMwe8BaXkz/DRchAZbS86X+AcShi5rx83M="; 20 }; 21 22 checkInputs = [
+2 -2
pkgs/development/python-modules/oralb-ble/default.nix
··· 11 12 buildPythonPackage rec { 13 pname = "oralb-ble"; 14 - version = "0.10.1"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.9"; ··· 20 owner = "Bluetooth-Devices"; 21 repo = pname; 22 rev = "refs/tags/v${version}"; 23 - hash = "sha256-Iuu44H8fCbJysoSJLBtlJ1XE5Ad2caWihj3UZytWK3o="; 24 }; 25 26 nativeBuildInputs = [
··· 11 12 buildPythonPackage rec { 13 pname = "oralb-ble"; 14 + version = "0.14.0"; 15 format = "pyproject"; 16 17 disabled = pythonOlder "3.9"; ··· 20 owner = "Bluetooth-Devices"; 21 repo = pname; 22 rev = "refs/tags/v${version}"; 23 + hash = "sha256-7EHU/UqKy576FZ1E5bOHHOvH38yoyU+55wC/YO3yt4Y="; 24 }; 25 26 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/peaqevcore/default.nix
··· 6 7 buildPythonPackage rec { 8 pname = "peaqevcore"; 9 - version = "7.3.1"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.7"; 13 14 src = fetchPypi { 15 inherit pname version; 16 - hash = "sha256-G2ujLjN8LEHY9gd0SWBpOSkV6fQAZ8pojR0+bMi6TUw="; 17 }; 18 19 postPatch = ''
··· 6 7 buildPythonPackage rec { 8 pname = "peaqevcore"; 9 + version = "7.3.2"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.7"; 13 14 src = fetchPypi { 15 inherit pname version; 16 + hash = "sha256-+DihyuSzqFoQvDnlYUyvdyjravxMcU8PgYEq2FY2o9g="; 17 }; 18 19 postPatch = ''
+2 -2
pkgs/development/python-modules/pyatmo/default.nix
··· 16 17 buildPythonPackage rec { 18 pname = "pyatmo"; 19 - version = "7.3.0"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.8"; ··· 25 owner = "jabesq"; 26 repo = "pyatmo"; 27 rev = "refs/tags/v${version}"; 28 - sha256 = "sha256-3NgAsXMdt4FsE30oxeTfunpP2e+iqLFZkhMJbc5jVGw="; 29 }; 30 31 SETUPTOOLS_SCM_PRETEND_VERSION = version;
··· 16 17 buildPythonPackage rec { 18 pname = "pyatmo"; 19 + version = "7.4.0"; 20 format = "pyproject"; 21 22 disabled = pythonOlder "3.8"; ··· 25 owner = "jabesq"; 26 repo = "pyatmo"; 27 rev = "refs/tags/v${version}"; 28 + sha256 = "sha256-0AgmH0cxXPUBzC30HyX68WsSyYsDcPaVQHLOIsZbHzI="; 29 }; 30 31 SETUPTOOLS_SCM_PRETEND_VERSION = version;
+2 -2
pkgs/development/python-modules/pyoverkiz/default.nix
··· 15 16 buildPythonPackage rec { 17 pname = "pyoverkiz"; 18 - version = "1.5.6"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.7"; ··· 24 owner = "iMicknl"; 25 repo = "python-overkiz-api"; 26 rev = "refs/tags/v${version}"; 27 - hash = "sha256-8Xzrnt5W3kQf+kHHiAWimyw4uHc3UL9BsZePcAYKHNk="; 28 }; 29 30 postPatch = ''
··· 15 16 buildPythonPackage rec { 17 pname = "pyoverkiz"; 18 + version = "1.6.0"; 19 format = "pyproject"; 20 21 disabled = pythonOlder "3.7"; ··· 24 owner = "iMicknl"; 25 repo = "python-overkiz-api"; 26 rev = "refs/tags/v${version}"; 27 + hash = "sha256-TWX/8O57gNqkm1ZqreZfy1AQ6UcgP4FODDpXteqO5q8="; 28 }; 29 30 postPatch = ''
+2 -2
pkgs/development/python-modules/sensor-state-data/default.nix
··· 10 11 buildPythonPackage rec { 12 pname = "sensor-state-data"; 13 - version = "2.10.1"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.9"; ··· 19 owner = "Bluetooth-Devices"; 20 repo = pname; 21 rev = "refs/tags/v${version}"; 22 - hash = "sha256-pCo9CMX+CQBFuK5rbMHsxQEdBHvp1EZA7A9Ykm68NCw="; 23 }; 24 25 nativeBuildInputs = [
··· 10 11 buildPythonPackage rec { 12 pname = "sensor-state-data"; 13 + version = "2.11.0"; 14 format = "pyproject"; 15 16 disabled = pythonOlder "3.9"; ··· 19 owner = "Bluetooth-Devices"; 20 repo = pname; 21 rev = "refs/tags/v${version}"; 22 + hash = "sha256-znDEdXCWYmzk5xG1sSUyXRUhLGxtoBv46JcSnysu1A4="; 23 }; 24 25 nativeBuildInputs = [
+2 -2
pkgs/development/python-modules/spidev/default.nix
··· 2 3 buildPythonPackage rec { 4 pname = "spidev"; 5 - version = "3.5"; 6 7 src = fetchPypi { 8 inherit pname version; 9 - sha256 = "03cicc9kpi5khhq0bl4dcy8cjcl2j488mylp8sna47hnkwl5qzwa"; 10 }; 11 12 # package does not include tests
··· 2 3 buildPythonPackage rec { 4 pname = "spidev"; 5 + version = "3.6"; 6 7 src = fetchPypi { 8 inherit pname version; 9 + sha256 = "sha256-FNvDdZSkqu+FQDq2F5hdPD70ZNYrybdp71UttTcBEVs="; 10 }; 11 12 # package does not include tests
+2 -2
pkgs/development/python-modules/zamg/default.nix
··· 9 10 buildPythonPackage rec { 11 pname = "zamg"; 12 - version = "0.1.1"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.8"; ··· 18 owner = "killer0071234"; 19 repo = "python-zamg"; 20 rev = "refs/tags/v${version}"; 21 - hash = "sha256-mVJ1zuh3v803XgynQiUvt6whTmXxGS7SEtr6IDm4kz4="; 22 }; 23 24 postPatch = ''
··· 9 10 buildPythonPackage rec { 11 pname = "zamg"; 12 + version = "0.1.2"; 13 format = "pyproject"; 14 15 disabled = pythonOlder "3.8"; ··· 18 owner = "killer0071234"; 19 repo = "python-zamg"; 20 rev = "refs/tags/v${version}"; 21 + hash = "sha256-R3byV8llg7X+KYuYTsEtdLSFfLsPD4tyqAaU0CifDks="; 22 }; 23 24 postPatch = ''
+2 -2
pkgs/development/tools/continuous-integration/jenkins/default.nix
··· 4 5 stdenv.mkDerivation rec { 6 pname = "jenkins"; 7 - version = "2.361.2"; 8 9 src = fetchurl { 10 url = "https://get.jenkins.io/war-stable/${version}/jenkins.war"; 11 - hash = "sha256-QRp5x+DVCCdFBx4mEIE0aqTKJ/ZJ/rBBdW0dJ6mD2/Y="; 12 }; 13 14 nativeBuildInputs = [ makeWrapper ];
··· 4 5 stdenv.mkDerivation rec { 6 pname = "jenkins"; 7 + version = "2.361.3"; 8 9 src = fetchurl { 10 url = "https://get.jenkins.io/war-stable/${version}/jenkins.war"; 11 + hash = "sha256-85y40J/RfHLcCWURzlDyRfwwBNECKqr2BCGlNvdAybk="; 12 }; 13 14 nativeBuildInputs = [ makeWrapper ];
+4 -2
pkgs/games/warzone2100/default.nix
··· 11 , SDL2 12 , libtheora 13 , libvorbis 14 , openal 15 , openalSoft 16 , physfs ··· 42 43 stdenv.mkDerivation rec { 44 inherit pname; 45 - version = "4.2.7"; 46 47 src = fetchurl { 48 url = "mirror://sourceforge/${pname}/releases/${version}/${pname}_src.tar.xz"; 49 - sha256 = "sha256-f1J84A7aRAmbGn48MD7eJ2+DX21q2UWwYAoXXdq7ALA="; 50 }; 51 52 buildInputs = [ 53 SDL2 54 libtheora 55 libvorbis 56 openal 57 openalSoft 58 physfs
··· 11 , SDL2 12 , libtheora 13 , libvorbis 14 + , libopus 15 , openal 16 , openalSoft 17 , physfs ··· 43 44 stdenv.mkDerivation rec { 45 inherit pname; 46 + version = "4.3.1"; 47 48 src = fetchurl { 49 url = "mirror://sourceforge/${pname}/releases/${version}/${pname}_src.tar.xz"; 50 + sha256 = "sha256-GdHe8DskEd0G1E388z8GGOtjTqHTMBpFSxf1MNATGN0="; 51 }; 52 53 buildInputs = [ 54 SDL2 55 libtheora 56 libvorbis 57 + libopus 58 openal 59 openalSoft 60 physfs
+23 -1
pkgs/servers/http/nginx/modules.nix
··· 1 - { fetchFromGitHub, fetchFromGitLab, lib, pkgs }: 2 3 let 4 ··· 288 rev = "95ac520eed2ea04098a76305fd0ad7e9158840b7"; 289 sha256 = "0b5pnqkgg18kbw5rf2ifiq7lsx5rqmpqsql6hx5ycxjzxj6acfb3"; 290 } + "/naxsi_src"; 291 }; 292 293 opentracing = {
··· 1 + { fetchFromGitHub, fetchFromGitLab, fetchhg, lib, pkgs }: 2 3 let 4 ··· 288 rev = "95ac520eed2ea04098a76305fd0ad7e9158840b7"; 289 sha256 = "0b5pnqkgg18kbw5rf2ifiq7lsx5rqmpqsql6hx5ycxjzxj6acfb3"; 290 } + "/naxsi_src"; 291 + }; 292 + 293 + njs = rec { 294 + src = fetchhg { 295 + url = "https://hg.nginx.org/njs"; 296 + rev = "0.7.8"; 297 + sha256 = "sha256-jsR8EOeW8tAo2utKznuUaCG4hK0oU0ZJSnnGmI5HUDk="; 298 + name = "nginx-njs"; 299 + }; 300 + 301 + # njs module sources have to be writable during nginx build, so we copy them 302 + # to a temporary directory and change the module path in the configureFlags 303 + preConfigure = '' 304 + NJS_SOURCE_DIR=$(readlink -m "$TMPDIR/${src}") 305 + mkdir -p "$(dirname "$NJS_SOURCE_DIR")" 306 + cp --recursive "${src}" "$NJS_SOURCE_DIR" 307 + chmod -R u+rwX,go+rX "$NJS_SOURCE_DIR" 308 + export configureFlags="''${configureFlags/"${src}"/"$NJS_SOURCE_DIR/nginx"}" 309 + unset NJS_SOURCE_DIR 310 + ''; 311 + 312 + inputs = [ pkgs.which ]; 313 }; 314 315 opentracing = {
+4 -12
pkgs/tools/misc/android-tools/default.nix
··· 1 { lib, stdenv, fetchurl, fetchpatch 2 , cmake, perl, go, python3 3 - , protobuf, zlib, gtest, brotli, lz4, zstd, libusb1, pcre2, fmt_7 4 }: 5 6 let ··· 9 10 stdenv.mkDerivation rec { 11 pname = "android-tools"; 12 - version = "31.0.3p1"; 13 14 src = fetchurl { 15 url = "https://github.com/nmeum/android-tools/releases/download/${version}/android-tools-${version}.tar.xz"; 16 - sha256 = "1f2svy381r798hjinrc2xiwz13gkkqxfill343zvv8jqkn8rzxhf"; 17 }; 18 19 patches = [ 20 - # fmt 8 breaks the build but we can use fmt 7 from Nixpkgs: 21 - (fetchpatch { 22 - # Vendor google's version of fmtlib 23 - url = "https://github.com/nmeum/android-tools/commit/21061c1dfb006c22304053c1f6f9e48ae4cbe25a.patch"; 24 - sha256 = "17mcsgfc3i8xq4hck0ppnzafh15aljxy7j2q4djcmwnvrkv9kx3s"; 25 - revert = true; 26 - excludes = [ "vendor/fmtlib" ]; 27 - }) 28 ./android-tools-kernel-headers-6.0.diff 29 ]; 30 ··· 37 ''; 38 39 nativeBuildInputs = [ cmake perl go ]; 40 - buildInputs = [ protobuf zlib gtest brotli lz4 zstd libusb1 pcre2 fmt_7 ]; 41 propagatedBuildInputs = [ pythonEnv ]; 42 43 # Don't try to fetch any Go modules via the network:
··· 1 { lib, stdenv, fetchurl, fetchpatch 2 , cmake, perl, go, python3 3 + , protobuf, zlib, gtest, brotli, lz4, zstd, libusb1, pcre2 4 }: 5 6 let ··· 9 10 stdenv.mkDerivation rec { 11 pname = "android-tools"; 12 + version = "33.0.3"; 13 14 src = fetchurl { 15 url = "https://github.com/nmeum/android-tools/releases/download/${version}/android-tools-${version}.tar.xz"; 16 + hash = "sha256-jOF02reB1d69Ke0PllciMfd3vuGbjvPBZ+M9PqdnC8U="; 17 }; 18 19 patches = [ 20 ./android-tools-kernel-headers-6.0.diff 21 ]; 22 ··· 29 ''; 30 31 nativeBuildInputs = [ cmake perl go ]; 32 + buildInputs = [ protobuf zlib gtest brotli lz4 zstd libusb1 pcre2 ]; 33 propagatedBuildInputs = [ pythonEnv ]; 34 35 # Don't try to fetch any Go modules via the network:
+25 -14
pkgs/tools/networking/cjdns/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, nodejs, which, python3, util-linux, nixosTests }: 2 3 - stdenv.mkDerivation rec { 4 pname = "cjdns"; 5 - version = "21.1"; 6 7 src = fetchFromGitHub { 8 owner = "cjdelisle"; 9 repo = "cjdns"; 10 rev = "cjdns-v${version}"; 11 - sha256 = "NOmk+vMZ8i0E2MjrUzksk+tkJ9XVVNEXlE5OOTNa+Y0="; 12 }; 13 14 - buildInputs = [ which python3 nodejs ] ++ 15 # for flock 16 lib.optional stdenv.isLinux util-linux; 17 18 NIX_CFLAGS_COMPILE = [ 19 "-O2" ··· 23 ] ++ lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11") [ 24 "-Wno-error=stringop-overread" 25 ]; 26 - 27 - buildPhase = 28 - lib.optionalString stdenv.isAarch32 "Seccomp_NO=1 " 29 - + "bash do"; 30 - installPhase = '' 31 - install -Dt "$out/bin/" cjdroute makekeys privatetopublic publictoip6 32 - mkdir -p $out/share/cjdns 33 - cp -R tools node_build node_modules $out/share/cjdns/ 34 - ''; 35 36 passthru.tests.basic = nixosTests.cjdns; 37
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , rustPlatform 5 + , nodejs 6 + , which 7 + , python39 8 + , libuv 9 + , util-linux 10 + , nixosTests 11 + }: 12 13 + rustPlatform.buildRustPackage rec { 14 pname = "cjdns"; 15 + version = "21.4"; 16 17 src = fetchFromGitHub { 18 owner = "cjdelisle"; 19 repo = "cjdns"; 20 rev = "cjdns-v${version}"; 21 + sha256 = "sha256-vI3uHZwmbFqxGasKqgCl0PLEEO8RNEhwkn5ZA8K7bxU="; 22 }; 23 24 + cargoSha256 = "sha256-x3LxGOhGXrheqdke0eYiQVo/IqgWgcDrDNupdLjRPjA="; 25 + 26 + nativeBuildInputs = [ 27 + which 28 + python39 29 + nodejs 30 + ] ++ 31 # for flock 32 lib.optional stdenv.isLinux util-linux; 33 + 34 + buildInputs = [ 35 + libuv 36 + ]; 37 38 NIX_CFLAGS_COMPILE = [ 39 "-O2" ··· 43 ] ++ lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11") [ 44 "-Wno-error=stringop-overread" 45 ]; 46 47 passthru.tests.basic = nixosTests.cjdns; 48
+3 -3
pkgs/tools/networking/dnsmonster/default.nix
··· 7 8 buildGoModule rec { 9 pname = "dnsmonster"; 10 - version = "0.9.5"; 11 12 src = fetchFromGitHub { 13 owner = "mosajjal"; 14 repo = pname; 15 rev = "v${version}"; 16 - hash = "sha256-csYJ8jdk84Uf0Sti5wGK27NH9FFHzUHFJXV8r4FWO68="; 17 }; 18 19 - vendorSha256 = "sha256-+Wpn9VhFDx5NPk7lbp/iP3kdn3bvR+AL5nfivu8944I="; 20 21 buildInputs = [ 22 libpcap
··· 7 8 buildGoModule rec { 9 pname = "dnsmonster"; 10 + version = "0.9.6"; 11 12 src = fetchFromGitHub { 13 owner = "mosajjal"; 14 repo = pname; 15 rev = "v${version}"; 16 + hash = "sha256-MiFwGVvaShy7dEKixIXdRCBmRc2YnxX49/7R8JugXng="; 17 }; 18 19 + vendorSha256 = "sha256-ZCtxKMD9hESERcsptdhxdV51nxyvrdj+guTodn/Sqao="; 20 21 buildInputs = [ 22 libpcap
+3 -1
pkgs/top-level/all-packages.nix
··· 28504 fftw = fftwSinglePrec; 28505 }; 28506 28507 - gurk-rs = callPackage ../applications/networking/instant-messengers/gurk-rs { }; 28508 28509 gjay = callPackage ../applications/audio/gjay { }; 28510
··· 28504 fftw = fftwSinglePrec; 28505 }; 28506 28507 + gurk-rs = callPackage ../applications/networking/instant-messengers/gurk-rs { 28508 + inherit (darwin.apple_sdk.frameworks) Cocoa; 28509 + }; 28510 28511 gjay = callPackage ../applications/audio/gjay { }; 28512