Merge master into staging-next

authored by nixpkgs-ci[bot] and committed by GitHub 65385c1e 76c80aa7

+551 -153
+12
maintainers/maintainer-list.nix
··· 3370 github = "brianmcgillion"; 3371 githubId = 1044263; 3372 }; 3373 brodes = { 3374 email = "me@brod.es"; 3375 github = "brhoades"; ··· 21319 github = "skovati"; 21320 githubId = 49844593; 21321 name = "skovati"; 21322 }; 21323 skyesoss = { 21324 name = "Skye Soss";
··· 3370 github = "brianmcgillion"; 3371 githubId = 1044263; 3372 }; 3373 + britter = { 3374 + name = "Benedikt Ritter"; 3375 + email = "beneritter@gmail.com"; 3376 + github = "britter"; 3377 + githubId = 1327662; 3378 + }; 3379 brodes = { 3380 email = "me@brod.es"; 3381 github = "brhoades"; ··· 21325 github = "skovati"; 21326 githubId = 49844593; 21327 name = "skovati"; 21328 + }; 21329 + skowalak = { 21330 + github = "skowalak"; 21331 + githubId = 26260032; 21332 + name = "Sebastian Kowalak"; 21333 + matrix = "@scl:tchncs.de"; 21334 }; 21335 skyesoss = { 21336 name = "Skye Soss";
+12
pkgs/applications/editors/vim/plugins/generated.nix
··· 13315 meta.homepage = "https://github.com/leafgarland/typescript-vim/"; 13316 }; 13317 13318 typst-conceal-vim = buildVimPlugin { 13319 pname = "typst-conceal.vim"; 13320 version = "2023-10-13";
··· 13315 meta.homepage = "https://github.com/leafgarland/typescript-vim/"; 13316 }; 13317 13318 + nvzone-typr = buildVimPlugin { 13319 + pname = "typr"; 13320 + version = "2025-01-15"; 13321 + src = fetchFromGitHub { 13322 + owner = "nvzone"; 13323 + repo = "typr"; 13324 + rev = "a60c7f237be94d4b39228a3bd2ced80fe9fe2781"; 13325 + sha256 = "0hbd85s2d28832qqy0lnm7f2iqa5n5s16h7n10hsm9iawi0z2ll9"; 13326 + }; 13327 + meta.homepage = "https://github.com/nvzone/typr/"; 13328 + }; 13329 + 13330 typst-conceal-vim = buildVimPlugin { 13331 pname = "typst-conceal.vim"; 13332 version = "2023-10-13";
+4
pkgs/applications/editors/vim/plugins/overrides.nix
··· 3303 ]; 3304 }; 3305 3306 unicode-vim = 3307 let 3308 unicode-data = fetchurl {
··· 3303 ]; 3304 }; 3305 3306 + nvzone-typr = super.nvzone-typr.overrideAttrs { 3307 + dependencies = [ self.nvzone-volt ]; 3308 + }; 3309 + 3310 unicode-vim = 3311 let 3312 unicode-data = fetchurl {
+1
pkgs/applications/editors/vim/plugins/vim-plugin-names
··· 840 https://github.com/zbirenbaum/nvterm/,HEAD, 841 https://github.com/nvzone/menu/,HEAD,nvzone-menu 842 https://github.com/nvzone/minty/,HEAD,nvzone-minty 843 https://github.com/nvzone/volt/,HEAD,nvzone-volt 844 https://github.com/epwalsh/obsidian.nvim/,HEAD, 845 https://github.com/nvimdev/oceanic-material/,,
··· 840 https://github.com/zbirenbaum/nvterm/,HEAD, 841 https://github.com/nvzone/menu/,HEAD,nvzone-menu 842 https://github.com/nvzone/minty/,HEAD,nvzone-minty 843 + https://github.com/nvzone/typr/,HEAD,nvzone-typr 844 https://github.com/nvzone/volt/,HEAD,nvzone-volt 845 https://github.com/epwalsh/obsidian.nvim/,HEAD, 846 https://github.com/nvimdev/oceanic-material/,,
+4 -4
pkgs/applications/networking/cluster/spark/default.nix
··· 97 # a new NixOS release. 98 spark_3_5 = spark rec { 99 pname = "spark"; 100 - version = "3.5.1"; 101 - hash = "sha256-ez6Hm8Ss3nl4mxOHyh67ugYH81/thNRMCja6MQ+9Tpg="; 102 }; 103 spark_3_4 = spark rec { 104 pname = "spark"; 105 - version = "3.4.3"; 106 - hash = "sha256-ifeytk08oaEyiEawwWbUWWuoynGTJNvnrkOW/CjeaSk="; 107 }; 108 }
··· 97 # a new NixOS release. 98 spark_3_5 = spark rec { 99 pname = "spark"; 100 + version = "3.5.4"; 101 + hash = "sha256-rSr7UH1dZIkUYW6ehc/dYxlmN9yVjEKwrwLMT+uMd/0="; 102 }; 103 spark_3_4 = spark rec { 104 pname = "spark"; 105 + version = "3.4.4"; 106 + hash = "sha256-GItHmthLhG7y0XSF3QINCyE7wYFb0+lPZmYLUuMa4Ww="; 107 }; 108 }
+2 -2
pkgs/applications/networking/sniffers/wireshark/default.nix
··· 58 59 stdenv.mkDerivation rec { 60 pname = "wireshark-${if withQt then "qt" else "cli"}"; 61 - version = "4.4.2"; 62 63 outputs = [ 64 "out" ··· 69 repo = "wireshark"; 70 owner = "wireshark"; 71 rev = "v${version}"; 72 - hash = "sha256-qeMaj8kRGG1NlDb5j4M/Za2M2Ohh2qhXbzBtQGjrCSo="; 73 }; 74 75 patches = [
··· 58 59 stdenv.mkDerivation rec { 60 pname = "wireshark-${if withQt then "qt" else "cli"}"; 61 + version = "4.4.3"; 62 63 outputs = [ 64 "out" ··· 69 repo = "wireshark"; 70 owner = "wireshark"; 71 rev = "v${version}"; 72 + hash = "sha256-QTDOwJXo9+A2J/uXdyTtK5D5DVYLUAaUKT8desQGvd4="; 73 }; 74 75 patches = [
+3
pkgs/by-name/ay/ayatana-indicator-sound/package.nix
··· 105 106 doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; 107 108 passthru = { 109 ayatana-indicators = { 110 ayatana-indicator-sound = [
··· 105 106 doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform; 107 108 + # Starts & talks to D-Bus, breaks under parallelism 109 + enableParallelChecking = false; 110 + 111 passthru = { 112 ayatana-indicators = { 113 ayatana-indicator-sound = [
+2 -2
pkgs/by-name/bi/bitcomet/package.nix
··· 6 }: 7 let 8 pname = "bitcomet"; 9 - version = "2.12.0"; 10 src = fetchurl { 11 url = "https://download.bitcomet.com/linux/x86_64/BitComet-${version}-x86_64.AppImage"; 12 - hash = "sha256-TbEdormqEZJymOQF8ftpZ6JBU1AeCdkQ/FAzRYrgaJ4="; 13 }; 14 appimageContents = appimageTools.extractType2 { inherit pname version src; }; 15 in
··· 6 }: 7 let 8 pname = "bitcomet"; 9 + version = "2.12.1"; 10 src = fetchurl { 11 url = "https://download.bitcomet.com/linux/x86_64/BitComet-${version}-x86_64.AppImage"; 12 + hash = "sha256-iaUPf9gSTd2m641Ja9/5v4wkO3H4+R08YXohLCeFuTQ="; 13 }; 14 appimageContents = appimageTools.extractType2 { inherit pname version src; }; 15 in
+3 -3
pkgs/by-name/ez/eza/package.nix
··· 15 16 rustPlatform.buildRustPackage rec { 17 pname = "eza"; 18 - version = "0.20.16"; 19 20 src = fetchFromGitHub { 21 owner = "eza-community"; 22 repo = "eza"; 23 rev = "v${version}"; 24 - hash = "sha256-0Fh12LuCPTK9vVmrR0pV0z8rs0XMJN9hJg026bSR6Z8="; 25 }; 26 27 - cargoHash = "sha256-dEXY33dv700M066LB46/wFeaB9wZvpPuq1M4XjneLks="; 28 29 nativeBuildInputs = [ 30 cmake
··· 15 16 rustPlatform.buildRustPackage rec { 17 pname = "eza"; 18 + version = "0.20.17"; 19 20 src = fetchFromGitHub { 21 owner = "eza-community"; 22 repo = "eza"; 23 rev = "v${version}"; 24 + hash = "sha256-X3/qW8BFa6Muk4XzTO6z6SDP07NHh7MOkngHNgw/sUA="; 25 }; 26 27 + cargoHash = "sha256-q48LhGwi6WnzV2JLYhwbr7GtHNH6kMglntZK+sFf5zo="; 28 29 nativeBuildInputs = [ 30 cmake
+56
pkgs/by-name/gp/gping/package.nix
···
··· 1 + { 2 + lib, 3 + stdenv, 4 + rustPlatform, 5 + fetchFromGitHub, 6 + installShellFiles, 7 + iputils, 8 + versionCheckHook, 9 + nix-update-script, 10 + }: 11 + 12 + rustPlatform.buildRustPackage rec { 13 + pname = "gping"; 14 + version = "1.19.0"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "orf"; 18 + repo = "gping"; 19 + tag = "gping-v${version}"; 20 + hash = "sha256-RTjYgsi3PmmPufdTcxZr+Laipa32Kkq1M1eHSAJVWZQ="; 21 + }; 22 + 23 + cargoHash = "sha256-c1GCF7Nztv7EpnPGPMRKdAQmeauy6OfI97e0nZWXe7E="; 24 + 25 + nativeBuildInputs = [ installShellFiles ]; 26 + 27 + nativeCheckInputs = lib.optionals stdenv.hostPlatform.isLinux [ iputils ]; 28 + 29 + postInstall = '' 30 + installManPage gping.1 31 + ''; 32 + 33 + # Requires internet access 34 + checkFlags = [ 35 + "--skip=test::tests::test_integration_any" 36 + "--skip=test::tests::test_integration_ip6" 37 + "--skip=test::tests::test_integration_ipv4" 38 + ]; 39 + 40 + doInstallCheck = true; 41 + 42 + nativeInstallCheckInputs = [ versionCheckHook ]; 43 + 44 + versionCheckProgramArg = [ "--version" ]; 45 + 46 + passthru.updateScript = nix-update-script { }; 47 + 48 + meta = { 49 + description = "Ping, but with a graph"; 50 + homepage = "https://github.com/orf/gping"; 51 + changelog = "https://github.com/orf/gping/releases/tag/gping-v${version}"; 52 + license = lib.licenses.mit; 53 + maintainers = with lib.maintainers; [ cafkafk ]; 54 + mainProgram = "gping"; 55 + }; 56 + }
+47
pkgs/by-name/gq/gqlgen/package.nix
···
··· 1 + { 2 + lib, 3 + fetchFromGitHub, 4 + buildGoModule, 5 + versionCheckHook, 6 + }: 7 + 8 + let 9 + version = "0.17.63"; 10 + in 11 + buildGoModule { 12 + pname = "gqlgen"; 13 + inherit version; 14 + 15 + src = fetchFromGitHub { 16 + owner = "99designs"; 17 + repo = "gqlgen"; 18 + tag = "v${version}"; 19 + hash = "sha256-J9+pleHdbQMHP/Aq9Pl6ise6PDvRqxQ72Iq7SNxgMws="; 20 + }; 21 + 22 + vendorHash = "sha256-hPUWYOfCx+kW2dJsjkCE/7bwofnGdQbDTvfZ877/pCk="; 23 + 24 + subPackages = [ "." ]; 25 + 26 + env.CGO_ENABLED = 0; 27 + 28 + checkFlags = [ 29 + "-skip=^TestGenerate$" # skip tests that want to run `go mod tidy` 30 + ]; 31 + 32 + nativeInstallCheckInputs = [ 33 + versionCheckHook 34 + ]; 35 + doInstallCheck = true; 36 + 37 + versionCheckProgramArg = "version"; 38 + 39 + meta = { 40 + homepage = "https://github.com/99designs/gqlgen"; 41 + changelog = "https://github.com/99designs/gqlgen/releases/tag/v${version}"; 42 + description = "go generate based graphql server library"; 43 + license = lib.licenses.mit; 44 + mainProgram = "gqlgen"; 45 + maintainers = with lib.maintainers; [ skowalak ]; 46 + }; 47 + }
+2 -2
pkgs/by-name/ma/maltego/package.nix
··· 13 14 stdenv.mkDerivation (finalAttrs: { 15 pname = "maltego"; 16 - version = "4.8.1"; 17 18 src = fetchzip { 19 url = "https://downloads.maltego.com/maltego-v4/linux/Maltego.v${finalAttrs.version}.linux.zip"; 20 - hash = "sha256-FH2gyz3/4wDBRsOQl3l2pbavvSyK73HuAXvJ0YBC1dw="; 21 }; 22 23 postPatch = ''
··· 13 14 stdenv.mkDerivation (finalAttrs: { 15 pname = "maltego"; 16 + version = "4.9.0"; 17 18 src = fetchzip { 19 url = "https://downloads.maltego.com/maltego-v4/linux/Maltego.v${finalAttrs.version}.linux.zip"; 20 + hash = "sha256-K5Nh9tfNsKViNyMkkLFZ3c1ebGnlj+glEUZ/Iio2bxE="; 21 }; 22 23 postPatch = ''
+3 -3
pkgs/by-name/mi/misconfig-mapper/package.nix
··· 6 7 buildGoModule rec { 8 pname = "misconfig-mapper"; 9 - version = "1.12.4"; 10 11 src = fetchFromGitHub { 12 owner = "intigriti"; 13 repo = "misconfig-mapper"; 14 tag = "v${version}"; 15 - hash = "sha256-v+Ls3P+s/pBMLgFMIHcfs+z9GsYNCcpOxoKlO+OjpzE="; 16 }; 17 18 - vendorHash = "sha256-+DA/eicufx4odMmHJEFKkDH6XbLLXCg3CRHT2kJhy8M="; 19 20 ldflags = [ 21 "-s"
··· 6 7 buildGoModule rec { 8 pname = "misconfig-mapper"; 9 + version = "1.12.6"; 10 11 src = fetchFromGitHub { 12 owner = "intigriti"; 13 repo = "misconfig-mapper"; 14 tag = "v${version}"; 15 + hash = "sha256-OdwTY73w/N1NuEeK7GsQWFT9NyOwrKlK0q0llW9Ena0="; 16 }; 17 18 + vendorHash = "sha256-omnWQfriaPqz51xrUKZM5112ZEHJZgAm68hnqUyzR6A="; 19 20 ldflags = [ 21 "-s"
+2 -2
pkgs/by-name/mu/murex/package.nix
··· 6 7 buildGoModule rec { 8 pname = "murex"; 9 - version = "6.4.1005"; 10 11 src = fetchFromGitHub { 12 owner = "lmorg"; 13 repo = pname; 14 rev = "v${version}"; 15 - sha256 = "sha256-zuLVZnHZP/QbFZLUwWdQIy3LTaWF+8UnQ+DIhLjKbjw="; 16 }; 17 18 vendorHash = "sha256-NIhg8D8snCNxpb3i2JG5tLcZteYBCGN4QbOowG/vgJE=";
··· 6 7 buildGoModule rec { 8 pname = "murex"; 9 + version = "6.4.2063"; 10 11 src = fetchFromGitHub { 12 owner = "lmorg"; 13 repo = pname; 14 rev = "v${version}"; 15 + sha256 = "sha256-czo2JCUwzENPuBBTaO4RYo7WRvepacaKElAj9DznFY0="; 16 }; 17 18 vendorHash = "sha256-NIhg8D8snCNxpb3i2JG5tLcZteYBCGN4QbOowG/vgJE=";
+2 -2
pkgs/by-name/po/pocketsphinx/package.nix
··· 13 14 stdenv.mkDerivation (finalAttrs: { 15 pname = "pocketsphinx"; 16 - version = "5.0.3"; 17 18 src = fetchFromGitHub { 19 owner = "cmusphinx"; 20 repo = "pocketsphinx"; 21 tag = "v${finalAttrs.version}"; 22 - hash = "sha256-aCQpRmGHX08rA8UIt6Xf37XM34HysEzvcucLhL355k8="; 23 }; 24 25 nativeBuildInputs = [
··· 13 14 stdenv.mkDerivation (finalAttrs: { 15 pname = "pocketsphinx"; 16 + version = "5.0.4"; 17 18 src = fetchFromGitHub { 19 owner = "cmusphinx"; 20 repo = "pocketsphinx"; 21 tag = "v${finalAttrs.version}"; 22 + hash = "sha256-DUK3zPPtv+sQhC1dfJXDmwtt3UV6DGacb3mMQUpvVpk="; 23 }; 24 25 nativeBuildInputs = [
+1 -1
pkgs/by-name/ra/radio-cli/package.nix
··· 39 license = lib.licenses.gpl2Only; 40 maintainers = with lib.maintainers; [ luftmensch-luftmensch ]; 41 mainProgram = "radio-cli"; 42 - platforms = lib.platforms.linux; 43 }; 44 }
··· 39 license = lib.licenses.gpl2Only; 40 maintainers = with lib.maintainers; [ luftmensch-luftmensch ]; 41 mainProgram = "radio-cli"; 42 + platforms = lib.platforms.unix; 43 }; 44 }
+3 -3
pkgs/by-name/tr/tracexec/package.nix
··· 14 }: 15 let 16 pname = "tracexec"; 17 - version = "0.8.0"; 18 in 19 rustPlatform.buildRustPackage { 20 inherit pname version; ··· 23 owner = "kxxt"; 24 repo = "tracexec"; 25 tag = "v${version}"; 26 - hash = "sha256-ZoYqmjqY9eAHGDIbFX9FY1yGF210C60UWcHi0lxzL7g="; 27 }; 28 29 - cargoHash = "sha256-mZSj45im5b25mt8mGYLq03blvFCyS02kVK7yV3bIlUg="; 30 31 hardeningDisable = [ "zerocallusedregs" ]; 32
··· 14 }: 15 let 16 pname = "tracexec"; 17 + version = "0.8.2"; 18 in 19 rustPlatform.buildRustPackage { 20 inherit pname version; ··· 23 owner = "kxxt"; 24 repo = "tracexec"; 25 tag = "v${version}"; 26 + hash = "sha256-qLvox7ef9eU1Vvg4gZGCKkic4+mcOIz9BZWTi/Q2grk="; 27 }; 28 29 + cargoHash = "sha256-yagXxTEWsR7FkLVo9DZHxmlXD/L6R+IoateUUQxn77E="; 30 31 hardeningDisable = [ "zerocallusedregs" ]; 32
+2 -2
pkgs/by-name/tr/trickest-cli/package.nix
··· 6 7 buildGoModule rec { 8 pname = "trickest-cli"; 9 - version = "1.8.3"; 10 11 src = fetchFromGitHub { 12 owner = "trickest"; 13 repo = "trickest-cli"; 14 tag = "v${version}"; 15 - hash = "sha256-9RZmLs95dHZw5hgob5+iogxb6DV0FqVaY+PavGFpXj4="; 16 }; 17 18 vendorHash = "sha256-gk8YMMvTHBL7yoXU9n0jhtUS472fqLW5m+mSl4Lio6c=";
··· 6 7 buildGoModule rec { 8 pname = "trickest-cli"; 9 + version = "1.8.4"; 10 11 src = fetchFromGitHub { 12 owner = "trickest"; 13 repo = "trickest-cli"; 14 tag = "v${version}"; 15 + hash = "sha256-8UrSY/ewy+0vo6QUV/cDBfv04TA3Toampf0hDnsWnXs="; 16 }; 17 18 vendorHash = "sha256-gk8YMMvTHBL7yoXU9n0jhtUS472fqLW5m+mSl4Lio6c=";
+3 -3
pkgs/by-name/uv/uv/package.nix
··· 17 18 rustPlatform.buildRustPackage rec { 19 pname = "uv"; 20 - version = "0.5.18"; 21 22 src = fetchFromGitHub { 23 owner = "astral-sh"; 24 repo = "uv"; 25 tag = version; 26 - hash = "sha256-n/Vh79CZ6mq5JB8Z+wZo+s6t87Bt9ISPj4svMOrMJf0="; 27 }; 28 29 useFetchCargoVendor = true; 30 - cargoHash = "sha256-+hv1LPbw1GAMcHIb7lxt8QNyQFtuuhPFJAa3iOJq3PQ="; 31 32 nativeBuildInputs = [ 33 cmake
··· 17 18 rustPlatform.buildRustPackage rec { 19 pname = "uv"; 20 + version = "0.5.20"; 21 22 src = fetchFromGitHub { 23 owner = "astral-sh"; 24 repo = "uv"; 25 tag = version; 26 + hash = "sha256-MuFeO7Ju/aPsDzujRS9hsHykUrImFWRUR+2oOaAlXLc="; 27 }; 28 29 useFetchCargoVendor = true; 30 + cargoHash = "sha256-e0U4yijsGyEm7PCrpn6WYn1cPEK4oGtK1fr7Wrxnmkg="; 31 32 nativeBuildInputs = [ 33 cmake
+18 -18
pkgs/by-name/wo/wownero/package.nix
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 - fetchpatch, 6 cmake, 7 boost, 8 libsodium, 9 openssl, ··· 28 rev = "633500ad8c8759995049ccd022107d1fa8a1bbc9"; 29 hash = "sha256-26UmESotSWnQ21VbAYEappLpkEMyl0jiuCaezRYd/sE="; 30 }; 31 - randomwow = fetchFromGitHub { 32 - owner = "wownero-project"; 33 repo = "RandomWOW"; 34 - rev = "607bad48f3687c2490d90f8c55efa2dcd7cbc195"; 35 - hash = "sha256-CJv96TbPv1k/C7MQWEntE6khIRX1iIEiF9wEdsQGiFQ="; 36 }; 37 in 38 stdenv.mkDerivation rec { 39 pname = "wownero"; 40 - version = "0.11.0.1"; 41 42 - src = fetchFromGitHub { 43 - owner = "wownero-project"; 44 repo = "wownero"; 45 - rev = "v${version}"; 46 - fetchSubmodules = false; 47 - hash = "sha256-zmGsSbPpVwL0AhCQkdMKORruM5kYrrLe/BYfMphph8c="; 48 }; 49 50 - patches = [ 51 - # Fix gcc-13 build due to missing <cstdint> neaders 52 - (fetchpatch { 53 - name = "gcc-13.patch"; 54 - url = "https://git.wownero.com/wownero/wownero/commit/f983ac77805a494ea4a05a00398c553e1359aefd.patch"; 55 - hash = "sha256-9acQ4bHAKFR+lMgrpQyBmb+9YZYi1ywHoo1jBcIgmGs="; 56 - }) 57 ]; 58 59 nativeBuildInputs = [ 60 cmake 61 ]; 62 63 buildInputs =
··· 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 + fetchFromGitea, 6 cmake, 7 + python3, 8 boost, 9 libsodium, 10 openssl, ··· 29 rev = "633500ad8c8759995049ccd022107d1fa8a1bbc9"; 30 hash = "sha256-26UmESotSWnQ21VbAYEappLpkEMyl0jiuCaezRYd/sE="; 31 }; 32 + randomwow = fetchFromGitea { 33 + domain = "codeberg.org"; 34 + owner = "wownero"; 35 repo = "RandomWOW"; 36 + rev = "27b099b6dd6fef6e17f58c6dfe00009e9c5df587"; 37 + hash = "sha256-imiXr4irXeKiQ6VMd6f3MJ46zvdvymnRdHGgnEvkT+o="; 38 }; 39 in 40 stdenv.mkDerivation rec { 41 pname = "wownero"; 42 + version = "0.11.3.0"; 43 44 + src = fetchFromGitea { 45 + domain = "codeberg.org"; 46 + owner = "wownero"; 47 repo = "wownero"; 48 + tag = "v${version}"; 49 + hash = "sha256-EioXFfUQ+CV6+Ipef1wbmc+taKI98I420J7eqzz15Ss="; 50 }; 51 52 + env.NIX_CFLAGS_COMPILE = toString [ 53 + "-Wno-error=cast-user-defined" 54 + "-Wno-error=implicit-function-declaration" 55 + "-Wno-error=int-conversion" 56 ]; 57 58 nativeBuildInputs = [ 59 cmake 60 + python3 61 ]; 62 63 buildInputs =
+3 -3
pkgs/by-name/ze/zed-editor/package.nix
··· 93 in 94 rustPlatform.buildRustPackage rec { 95 pname = "zed-editor"; 96 - version = "0.168.3"; 97 98 src = fetchFromGitHub { 99 owner = "zed-industries"; 100 repo = "zed"; 101 tag = "v${version}"; 102 - hash = "sha256-YGHbka8kCKOquY2I17N8oS7ckhX/uY6QXJ21+kQjQBg="; 103 }; 104 105 patches = [ ··· 119 ''; 120 121 useFetchCargoVendor = true; 122 - cargoHash = "sha256-pZK2PzR39fMAiqhfA0WtZnIRzAVbqxnViQnWKmZoRV0="; 123 124 nativeBuildInputs = 125 [
··· 93 in 94 rustPlatform.buildRustPackage rec { 95 pname = "zed-editor"; 96 + version = "0.169.2"; 97 98 src = fetchFromGitHub { 99 owner = "zed-industries"; 100 repo = "zed"; 101 tag = "v${version}"; 102 + hash = "sha256-IdJVWsHWMzE0AZxFy6jOmquc2jFeozNDdAhbB3fFMwk="; 103 }; 104 105 patches = [ ··· 119 ''; 120 121 useFetchCargoVendor = true; 122 + cargoHash = "sha256-0zH5J3nvBpqD22nFzX98MBoTtNDpWS4NSSMcT1DB2SM="; 123 124 nativeBuildInputs = 125 [
+196
pkgs/desktops/lomiri/applications/morph-browser/1001-morph-browser-tst_AddressBar-Replace-wait-and-compare-with-tryCompare.patch
···
··· 1 + From 9c4cd4fa938244cc2e319555d372e4e32029964a Mon Sep 17 00:00:00 2001 2 + From: OPNA2608 <opna2608@protonmail.com> 3 + Date: Tue, 14 Jan 2025 23:06:20 +0100 4 + Subject: [PATCH] tests/unittests/qml/tst_AddressBar.qml: Replace wait + 5 + compare with tryCompare 6 + 7 + --- 8 + tests/unittests/qml/tst_AddressBar.qml | 75 +++++++++++--------------- 9 + 1 file changed, 30 insertions(+), 45 deletions(-) 10 + 11 + diff --git a/tests/unittests/qml/tst_AddressBar.qml b/tests/unittests/qml/tst_AddressBar.qml 12 + index 5c27acff..dc0ec4c6 100644 13 + --- a/tests/unittests/qml/tst_AddressBar.qml 14 + +++ b/tests/unittests/qml/tst_AddressBar.qml 15 + @@ -73,6 +73,15 @@ Item { 16 + name: "AddressBar" 17 + when: windowShown 18 + 19 + + function verifyAddressBarText(text) { 20 + + tryCompare(addressBar, "text", text) 21 + + } 22 + + 23 + + function typeStringAndVerify(text) { 24 + + typeString(text) 25 + + verifyAddressBarText(text) 26 + + } 27 + + 28 + function init() { 29 + addressBar.actualUrl = "" 30 + validatedSpy.clear() 31 + @@ -101,9 +110,7 @@ Item { 32 + } 33 + 34 + function test_validUrlShouldNotBeRewritten(data) { 35 + - typeString(data.url) 36 + - wait(500) 37 + - compare(addressBar.text, data.url) 38 + + typeStringAndVerify(data.url) 39 + keyClick(Qt.Key_Return) 40 + validatedSpy.wait() 41 + compare(addressBar.requestedUrl, data.url) 42 + @@ -120,9 +127,7 @@ Item { 43 + } 44 + 45 + function test_urlWithoutSchemeShouldBeRewritten(data) { 46 + - typeString(data.text) 47 + - wait(500) 48 + - compare(addressBar.text, data.text) 49 + + typeStringAndVerify(data.text) 50 + keyClick(Qt.Key_Return) 51 + validatedSpy.wait() 52 + compare(addressBar.requestedUrl, data.requestedUrl) 53 + @@ -137,9 +142,7 @@ Item { 54 + } 55 + 56 + function test_leadingAndTrailingWhitespacesShouldBeTrimmed(data) { 57 + - typeString(data.text) 58 + - wait(500) 59 + - compare(addressBar.text, data.text) 60 + + typeStringAndVerify(data.text) 61 + keyClick(Qt.Key_Return) 62 + validatedSpy.wait() 63 + compare(addressBar.requestedUrl, data.requestedUrl) 64 + @@ -153,9 +156,7 @@ Item { 65 + } 66 + 67 + function test_searchQueryShouldBeRewritten(data) { 68 + - typeString(data.text) 69 + - wait(500) 70 + - compare(addressBar.text, data.text) 71 + + typeStringAndVerify(data.text) 72 + keyClick(Qt.Key_Return) 73 + validatedSpy.wait() 74 + compare(addressBar.requestedUrl.toString().indexOf(data.start), 0) 75 + @@ -174,9 +175,7 @@ Item { 76 + } 77 + 78 + function test_htmlEntitiesShouldBeEscapedInSearchQueries(data) { 79 + - typeString(data.text) 80 + - wait(500) 81 + - compare(addressBar.text, data.text) 82 + + typeStringAndVerify(data.text) 83 + keyClick(Qt.Key_Return) 84 + validatedSpy.wait() 85 + verify(addressBar.requestedUrl.toString().indexOf("q=" + data.escaped) > 0) 86 + @@ -191,9 +190,7 @@ Item { 87 + } 88 + 89 + function test_uppercaseDomainsShouldBeRewritten(data) { 90 + - typeString(data.text) 91 + - wait(500) 92 + - compare(addressBar.text, data.text) 93 + + typeStringAndVerify(data.text) 94 + keyClick(Qt.Key_Return) 95 + validatedSpy.wait() 96 + compare(addressBar.requestedUrl, data.requestedUrl) 97 + @@ -213,9 +210,7 @@ Item { 98 + } 99 + 100 + function test_uppercaseSchemeShouldBeRewritten(data) { 101 + - typeString(data.text) 102 + - wait(500) 103 + - compare(addressBar.text, data.text) 104 + + typeStringAndVerify(data.text) 105 + keyClick(Qt.Key_Return) 106 + validatedSpy.wait() 107 + compare(addressBar.requestedUrl, data.requestedUrl) 108 + @@ -266,9 +261,7 @@ Item { 109 + } 110 + 111 + function test_urlShouldBeSimplifiedWhenUnfocused(data) { 112 + - typeString(data.input) 113 + - wait(500) 114 + - compare(addressBar.text, data.input) 115 + + typeStringAndVerify(data.input) 116 + keyClick(Qt.Key_Return) 117 + validatedSpy.wait() 118 + addressBar.actualUrl = addressBar.requestedUrl 119 + @@ -289,9 +282,7 @@ Item { 120 + 121 + function test_clickingWhenUnfocusedShouldSelectAll() { 122 + var url = "http://example.org/" 123 + - typeString(url) 124 + - wait(500) 125 + - compare(addressBar.text, url) 126 + + typeStringAndVerify(url) 127 + addressBar.actualUrl = url 128 + clickItem(textInput) 129 + verify(!addressBar.activeFocus) 130 + @@ -301,9 +292,7 @@ Item { 131 + 132 + function test_clickingWhenFocusedShouldDeselectText() { 133 + var url = "http://example.org/" 134 + - typeString(url) 135 + - wait(500) 136 + - compare(addressBar.text, url) 137 + + typeStringAndVerify(url) 138 + addressBar.actualUrl = url 139 + clickItem(textInput) 140 + verify(!addressBar.activeFocus) 141 + @@ -316,9 +305,7 @@ Item { 142 + 143 + function test_clickingActionButtonWhenUnfocusedShouldNotSelectAll() { 144 + var url = "http://example.org/" 145 + - typeString(url) 146 + - wait(500) 147 + - compare(addressBar.text, url) 148 + + typeStringAndVerify(url) 149 + clickItem(textInput) 150 + verify(!addressBar.activeFocus) 151 + clickItem(addressBar.__actionButton) 152 + @@ -355,31 +342,29 @@ Item { 153 + } 154 + 155 + function test_unfocusingWhileEditingShouldResetUrl() { 156 + - var url = "http://example.org/" 157 + - typeString(url) 158 + - wait(500) 159 + - compare(addressBar.text, url) 160 + + var host = "example.org" 161 + + var url = "http://" + host + "/" 162 + + typeStringAndVerify(url) 163 + addressBar.actualUrl = url 164 + var clearButton = findChild(addressBar, "clear_button") 165 + verify(clearButton != null) 166 + clickItem(clearButton) 167 + - compare(addressBar.text, "") 168 + + verifyAddressBarText("") 169 + clickItem(textInput) 170 + - compare(addressBar.text, "example.org") 171 + + verifyAddressBarText(host) 172 + clickItem(addressBar) 173 + - compare(addressBar.text, url) 174 + + verifyAddressBarText(url) 175 + } 176 + 177 + function test_exitingFindInPageRestoresUrl() { 178 + - addressBar.actualUrl = "http://example.org/" 179 + + var host = "example.org" 180 + + addressBar.actualUrl = "http://" + host + "/" 181 + addressBar.findInPageMode = true 182 + verify(addressBar.activeFocus) 183 + compare(addressBar.text, "") 184 + - typeString("hello") 185 + - wait(500) 186 + + typeStringAndVerify("hello") 187 + addressBar.findInPageMode = false 188 + - wait(500) 189 + - compare(addressBar.text, "example.org") 190 + + verifyAddressBarText(host) 191 + } 192 + } 193 + } 194 + -- 195 + 2.47.0 196 +
+21 -13
pkgs/desktops/lomiri/applications/morph-browser/default.nix
··· 19 qtdeclarative, 20 qtquickcontrols2, 21 qtsystems, 22 qtwebengine, 23 wrapQtAppsHook, 24 xvfb-run, ··· 38 hash = "sha256-VxSADFTlaxQUDc81TzGkx54mjAUgY2L+suQC9zYGKo0="; 39 }; 40 41 patches = [ 42 - # Remove when https://gitlab.com/ubports/development/core/morph-browser/-/merge_requests/576 merged & in release 43 (fetchpatch { 44 name = "0002-morph-browser-Call-i18n-bindtextdomain-with-buildtime-determined-locale-path.patch"; 45 - url = "https://gitlab.com/ubports/development/core/morph-browser/-/commit/0527a1e01fb27c62f5e0011274f73bad400e9691.patch"; 46 hash = "sha256-zx/pP72uNqAi8TZR4bKeONuqcJyK/vGtPglTA+5R5no="; 47 }) 48 ]; 49 50 postPatch = 51 '' 52 substituteInPlace src/{Morph,Ubuntu}/CMakeLists.txt \ 53 - --replace '/usr/lib/''${CMAKE_LIBRARY_ARCHITECTURE}/qt5/qml' "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}" 54 55 - # We normally don't want to use absolute paths in desktop file, but this one is special 56 - # There appears to be some issue in lomiri-app-launch's lookup of relative Icon entries (while lomiri is starting up?) 57 - # that makes the session segfault. 58 - # As a compromise, hardcode /run/current-system 59 substituteInPlace src/app/webbrowser/morph-browser.desktop.in.in \ 60 - --replace 'Icon=@CMAKE_INSTALL_FULL_DATADIR@/morph-browser/morph-browser.svg' 'Icon=/run/current-system/sw/share/icons/hicolor/scalable/apps/morph-browser.svg' \ 61 - --replace 'X-Lomiri-Splash-Image=@CMAKE_INSTALL_FULL_DATADIR@/morph-browser/morph-browser-splash.svg' 'X-Lomiri-Splash-Image=lomiri-app-launch/splash/morph-browser.svg' 62 '' 63 + lib.optionalString (!finalAttrs.finalPackage.doCheck) '' 64 substituteInPlace CMakeLists.txt \ 65 - --replace 'add_subdirectory(tests)' "" 66 ''; 67 68 strictDeps = true; ··· 71 cmake 72 gettext 73 pkg-config 74 wrapQtAppsHook 75 ]; 76 ··· 142 # Test of morph-browser itself 143 standalone = nixosTests.morph-browser; 144 145 - # Lomiri-specific issues with the desktop file may break the entire session, make sure it still works 146 - lomiri-basics = nixosTests.lomiri.desktop-basics; 147 - lomiri-appinteractions = nixosTests.lomiri.desktop-appinteractions; 148 }; 149 }; 150
··· 19 qtdeclarative, 20 qtquickcontrols2, 21 qtsystems, 22 + qttools, 23 qtwebengine, 24 wrapQtAppsHook, 25 xvfb-run, ··· 39 hash = "sha256-VxSADFTlaxQUDc81TzGkx54mjAUgY2L+suQC9zYGKo0="; 40 }; 41 42 + outputs = [ 43 + "out" 44 + "doc" 45 + ]; 46 + 47 patches = [ 48 + # Remove when version > 1.1.1 49 (fetchpatch { 50 name = "0002-morph-browser-Call-i18n-bindtextdomain-with-buildtime-determined-locale-path.patch"; 51 + url = "https://gitlab.com/ubports/development/core/morph-browser/-/commit/3d9777fdc7d5b302a9f17679e4ea125e94468772.patch"; 52 hash = "sha256-zx/pP72uNqAi8TZR4bKeONuqcJyK/vGtPglTA+5R5no="; 53 }) 54 + 55 + # Remove when https://gitlab.com/ubports/development/core/morph-browser/-/merge_requests/589 merged & in release 56 + ./1001-morph-browser-tst_AddressBar-Replace-wait-and-compare-with-tryCompare.patch 57 ]; 58 59 postPatch = 60 '' 61 substituteInPlace src/{Morph,Ubuntu}/CMakeLists.txt \ 62 + --replace-fail '/usr/lib/''${CMAKE_LIBRARY_ARCHITECTURE}/qt5/qml' "\''${CMAKE_INSTALL_PREFIX}/${qtbase.qtQmlPrefix}" 63 64 substituteInPlace src/app/webbrowser/morph-browser.desktop.in.in \ 65 + --replace-fail 'Icon=@CMAKE_INSTALL_FULL_DATADIR@/morph-browser/morph-browser.svg' 'Icon=morph-browser' \ 66 + --replace-fail 'X-Lomiri-Splash-Image=@CMAKE_INSTALL_FULL_DATADIR@/morph-browser/morph-browser-splash.svg' 'X-Lomiri-Splash-Image=lomiri-app-launch/splash/morph-browser.svg' 67 + 68 + substituteInPlace doc/CMakeLists.txt \ 69 + --replace-fail 'COMMAND ''${QDOC_EXECUTABLE} -qt5' 'COMMAND ''${QDOC_EXECUTABLE}' 70 '' 71 + lib.optionalString (!finalAttrs.finalPackage.doCheck) '' 72 substituteInPlace CMakeLists.txt \ 73 + --replace-fail 'add_subdirectory(tests)' "" 74 ''; 75 76 strictDeps = true; ··· 79 cmake 80 gettext 81 pkg-config 82 + qttools # qdoc 83 wrapQtAppsHook 84 ]; 85 ··· 151 # Test of morph-browser itself 152 standalone = nixosTests.morph-browser; 153 154 + # Interactions between the Lomiri ecosystem and this browser 155 + inherit (nixosTests.lomiri) desktop-basics desktop-appinteractions; 156 }; 157 }; 158
+18 -8
pkgs/desktops/lomiri/data/lomiri-schemas/default.nix
··· 1 { 2 - stdenv, 3 lib, 4 fetchFromGitLab, 5 gitUpdater, 6 testers, 7 cmake, ··· 12 validatePkgConfig, 13 }: 14 15 - stdenv.mkDerivation (finalAttrs: { 16 pname = "lomiri-schemas"; 17 - version = "0.1.5"; 18 19 src = fetchFromGitLab { 20 owner = "ubports"; 21 repo = "development/core/lomiri-schemas"; 22 rev = finalAttrs.version; 23 - hash = "sha256-OjSMt9XKqGoStF5O2zJTh3drHWe7Vk2cM94OYMSQmoU="; 24 }; 25 26 strictDeps = true; 27 28 nativeBuildInputs = [ ··· 48 updateScript = gitUpdater { }; 49 }; 50 51 - meta = with lib; { 52 description = "GSettings / AccountsService schema files for Lomiri"; 53 homepage = "https://gitlab.com/ubports/development/core/lomiri-schemas"; 54 changelog = "https://gitlab.com/ubports/development/core/lomiri-schemas/-/blob/${finalAttrs.version}/ChangeLog"; 55 - license = licenses.lgpl21Plus; 56 - maintainers = teams.lomiri.members; 57 - platforms = platforms.linux; 58 pkgConfigModules = [ 59 "lomiri-schemas" 60 ];
··· 1 { 2 + stdenvNoCC, 3 lib, 4 fetchFromGitLab, 5 + fetchpatch, 6 gitUpdater, 7 testers, 8 cmake, ··· 13 validatePkgConfig, 14 }: 15 16 + stdenvNoCC.mkDerivation (finalAttrs: { 17 pname = "lomiri-schemas"; 18 + version = "0.1.6"; 19 20 src = fetchFromGitLab { 21 owner = "ubports"; 22 repo = "development/core/lomiri-schemas"; 23 rev = finalAttrs.version; 24 + hash = "sha256-hCKsjZ2xW+Jimm8IT6E6ZaPGwXydiNTxyaHxY0gOEpg="; 25 }; 26 27 + patches = [ 28 + # Remove when version > 0.1.6 29 + (fetchpatch { 30 + name = "0001-lomiri-schemas-Declare-no-compilers-needed.patch"; 31 + url = "https://gitlab.com/ubports/development/core/lomiri-schemas/-/commit/6eec0513d2348dcfe49ce5969a091584888a79e5.patch"; 32 + hash = "sha256-pbHNeP28WQ9wDdRkgsS8WY24ZKLS3G3h4gEd22DPuH8="; 33 + }) 34 + ]; 35 + 36 strictDeps = true; 37 38 nativeBuildInputs = [ ··· 58 updateScript = gitUpdater { }; 59 }; 60 61 + meta = { 62 description = "GSettings / AccountsService schema files for Lomiri"; 63 homepage = "https://gitlab.com/ubports/development/core/lomiri-schemas"; 64 changelog = "https://gitlab.com/ubports/development/core/lomiri-schemas/-/blob/${finalAttrs.version}/ChangeLog"; 65 + license = lib.licenses.lgpl21Plus; 66 + maintainers = lib.teams.lomiri.members; 67 + platforms = lib.platforms.linux; 68 pkgConfigModules = [ 69 "lomiri-schemas" 70 ];
+10 -19
pkgs/desktops/lomiri/development/lomiri-api/default.nix
··· 2 stdenv, 3 lib, 4 fetchFromGitLab, 5 - fetchpatch, 6 gitUpdater, 7 makeFontsConf, 8 testers, ··· 22 23 stdenv.mkDerivation (finalAttrs: { 24 pname = "lomiri-api"; 25 - version = "0.2.1"; 26 27 src = fetchFromGitLab { 28 owner = "ubports"; 29 repo = "development/core/lomiri-api"; 30 - rev = finalAttrs.version; 31 - hash = "sha256-UTl0vObSlEvHuLmDt7vS3yEqZWGklJ9tVwlUAtRSTlU="; 32 }; 33 34 outputs = [ 35 "out" 36 "dev" 37 "doc" 38 - ]; 39 - 40 - patches = [ 41 - (fetchpatch { 42 - name = "0001-lomiri-api-Add-missing-headers-for-GCC13.patch"; 43 - url = "https://gitlab.com/ubports/development/core/lomiri-api/-/commit/029b42a9b4d5467951595dff8bc536eb5a9e3ef7.patch"; 44 - hash = "sha256-eWrDQGrwf22X49rtUAVbrd+QN+OwyGacVLCWYFsS02o="; 45 - }) 46 ]; 47 48 postPatch = '' 49 patchShebangs $(find test -name '*.py') 50 51 - substituteInPlace data/*.pc.in \ 52 - --replace "\''${prefix}/@CMAKE_INSTALL_LIBDIR@" "\''${prefix}/lib" 53 54 # Variable is queried via pkg-config by reverse dependencies 55 # TODO This is likely not supposed to be the regular Qt QML import prefix ··· 84 85 dontWrapQtApps = true; 86 87 - FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ ]; }; 88 89 preBuild = '' 90 # Makes fontconfig produce less noise in logs ··· 104 updateScript = gitUpdater { }; 105 }; 106 107 - meta = with lib; { 108 description = "Lomiri API Library for integrating with the Lomiri shell"; 109 homepage = "https://gitlab.com/ubports/development/core/lomiri-api"; 110 - license = with licenses; [ 111 lgpl3Only 112 gpl3Only 113 ]; 114 - maintainers = teams.lomiri.members; 115 - platforms = platforms.linux; 116 pkgConfigModules = [ 117 "liblomiri-api" 118 "lomiri-shell-api"
··· 2 stdenv, 3 lib, 4 fetchFromGitLab, 5 gitUpdater, 6 makeFontsConf, 7 testers, ··· 21 22 stdenv.mkDerivation (finalAttrs: { 23 pname = "lomiri-api"; 24 + version = "0.2.2"; 25 26 src = fetchFromGitLab { 27 owner = "ubports"; 28 repo = "development/core/lomiri-api"; 29 + tag = finalAttrs.version; 30 + hash = "sha256-+ttmtvt18NMKYfGntEXgBOSJ3lW9Bf55327XYIzxMh8="; 31 }; 32 33 outputs = [ 34 "out" 35 "dev" 36 "doc" 37 ]; 38 39 postPatch = '' 40 patchShebangs $(find test -name '*.py') 41 42 + substituteInPlace data/liblomiri-api.pc.in \ 43 + --replace "\''${prefix}/@CMAKE_INSTALL_LIBDIR@" '@CMAKE_INSTALL_FULL_LIBDIR@' 44 45 # Variable is queried via pkg-config by reverse dependencies 46 # TODO This is likely not supposed to be the regular Qt QML import prefix ··· 75 76 dontWrapQtApps = true; 77 78 + env.FONTCONFIG_FILE = makeFontsConf { fontDirectories = [ ]; }; 79 80 preBuild = '' 81 # Makes fontconfig produce less noise in logs ··· 95 updateScript = gitUpdater { }; 96 }; 97 98 + meta = { 99 description = "Lomiri API Library for integrating with the Lomiri shell"; 100 homepage = "https://gitlab.com/ubports/development/core/lomiri-api"; 101 + license = with lib.licenses; [ 102 lgpl3Only 103 gpl3Only 104 ]; 105 + maintainers = lib.teams.lomiri.members; 106 + platforms = lib.platforms.linux; 107 pkgConfigModules = [ 108 "liblomiri-api" 109 "lomiri-shell-api"
+7
pkgs/desktops/lomiri/development/lomiri-app-launch/default.nix
··· 58 hash = "sha256-11pEhFi39Cvqb9Hg47kT8+5hq+bz6WmySqaIdwt1MVk="; 59 }) 60 61 # Use /run/current-system/sw/bin fallback for desktop file Exec= lookups, propagate to launched applications 62 ./2001-Inject-current-system-PATH.patch 63 ];
··· 58 hash = "sha256-11pEhFi39Cvqb9Hg47kT8+5hq+bz6WmySqaIdwt1MVk="; 59 }) 60 61 + # Remove when version > 0.1.9 62 + (fetchpatch { 63 + name = "0002-lomiri-app-launch-Fix-parallel-access-to-_iconFinders.patch"; 64 + url = "https://gitlab.com/ubports/development/core/lomiri-app-launch/-/commit/74da7db2d59e91d95129dcaa5f6d8960fbc32eca.patch"; 65 + hash = "sha256-3r12eS9uLJIoBqSiKE2xnkfrJ7uPhyvYxXsxXs0cykg="; 66 + }) 67 + 68 # Use /run/current-system/sw/bin fallback for desktop file Exec= lookups, propagate to launched applications 69 ./2001-Inject-current-system-PATH.patch 70 ];
+88
pkgs/desktops/lomiri/qml/lomiri-ui-toolkit/2001-Mark-problematic-tests.patch
···
··· 1 + From c1a69117793acec6841898f219935852cadc78d3 Mon Sep 17 00:00:00 2001 2 + From: OPNA2608 <opna2608@protonmail.com> 3 + Date: Wed, 15 Jan 2025 18:45:02 +0100 4 + Subject: [PATCH] Mark problematic tests 5 + 6 + - tst_textinput_touch.SEGFAULT.11.qml is flaky: 7 + https://gitlab.com/ubports/development/core/lomiri-ui-toolkit/-/issues/43 8 + --- 9 + tests/checkresults.sh | 28 ++++++++++++++++++++++------ 10 + 1 file changed, 22 insertions(+), 6 deletions(-) 11 + 12 + diff --git a/tests/checkresults.sh b/tests/checkresults.sh 13 + index fc498985e..ade361236 100755 14 + --- a/tests/checkresults.sh 15 + +++ b/tests/checkresults.sh 16 + @@ -22,6 +22,7 @@ ERRORS_PATTERN='<failure' 17 + 18 + FAILURES=0 19 + FATAL_WARNINGS=0 20 + +EXCEPTED_FAILURES=0 21 + EXCEPTED=0 22 + for _XML in $*; do 23 + _TESTNAME=$(basename $_XML | sed -r 's@(.+)\.xml@\1@' -) 24 + @@ -31,7 +32,12 @@ for _XML in $*; do 25 + exit 1 26 + fi 27 + 28 + - EXCEPTIONS='components_benchmark \ 29 + + ERROR_EXCEPTIONS='\ 30 + + tst_textinput_touch.SEGFAULT.11.qml \ 31 + + ' 32 + + 33 + + EXCEPTIONS='\ 34 + + components_benchmark \ 35 + tst_tabbar.11.qml \ 36 + tst_datepicker.bug1567840.SEGFAULT.12.qml \ 37 + tst_datepicker.bug1567840.SEGFAULT.13.qml \ 38 + @@ -54,17 +60,22 @@ for _XML in $*; do 39 + WARNINGS=$(grep -c -P "$WARNINGS_PATTERN" $_XML) 40 + ERRORS=$(grep -c -P "$ERRORS_PATTERN" $_XML) 41 + if [ $ERRORS -ne 0 ]; then 42 + - FAILURES_FILES="${FAILURES_FILES} ${_TESTNAME}\n" 43 + - ((FAILURES+=$ERRORS)) 44 + + if [[ " $ERROR_EXCEPTIONS " == *" $_TESTNAME "* ]]; then 45 + + EXCEPTED_FAILURES_FILES="${EXCEPTED_FAILURES_FILES} ${_TESTNAME}\n" 46 + + ((EXCEPTED_FAILURES+=$ERRORS)) 47 + + else 48 + + FAILURES_FILES="${FAILURES_FILES} ${_TESTNAME}\n" 49 + + ((FAILURES+=$ERRORS)) 50 + + fi 51 + elif [ $WARNINGS -ne 0 ]; then 52 + - if [[ $EXCEPTIONS == *$_TESTNAME* ]]; then 53 + + if [[ " $EXCEPTIONS " == *" $_TESTNAME "* ]]; then 54 + EXCEPTED_FILES="${EXCEPTED_FILES} ${_TESTNAME}\n" 55 + ((EXCEPTED+=$WARNINGS)) 56 + else 57 + FATAL_WARNINGS_FILES="${FATAL_WARNINGS_FILES} ${_TESTNAME}\n" 58 + ((FATAL_WARNINGS+=$WARNINGS)) 59 + fi 60 + - elif [[ $EXCEPTIONS == *$_TESTNAME* ]]; then 61 + + elif [[ " $ERROR_EXCEPTIONS " == *" $_TESTNAME "* || " $EXCEPTIONS " == *" $_TESTNAME "* ]]; then 62 + WOOT_FILES="${WOOT_FILES} ${_TESTNAME}\n" 63 + fi 64 + done 65 + @@ -82,6 +93,11 @@ if [ -n "$FATAL_WARNINGS_FILES" ]; then 66 + echo -e "$FATAL_WARNINGS_FILES" 67 + fi 68 + 69 + +if [ -n "$EXCEPTED_FAILURES_FILES" ]; then 70 + + echo The following tests issued $EXCEPTED_FAILURES expected failures: 71 + + echo -e "$EXCEPTED_FAILURES_FILES" 72 + +fi 73 + + 74 + if [ -n "$EXCEPTED_FILES" ]; then 75 + echo The following tests issued $EXCEPTED expected warnings: 76 + echo -e "$EXCEPTED_FILES" 77 + @@ -89,7 +105,7 @@ fi 78 + 79 + if [ -n "$WOOT_FILES" ]; then 80 + echo Woot! Known problematic tests passed! 81 + - echo Consider removing these from EXCEPTIONS in ${0#$(pwd)/}! 82 + + echo Consider removing these from ERROR_EXCEPTIONS/EXCEPTIONS in ${0#$(pwd)/}! 83 + echo -e "$WOOT_FILES" 84 + fi 85 + 86 + -- 87 + 2.47.0 88 +
+2
pkgs/desktops/lomiri/qml/lomiri-ui-toolkit/default.nix
··· 61 ]; 62 63 patches = [ 64 (substituteAll { 65 src = ./2002-Nixpkgs-versioned-QML-path.patch.in; 66 name = "2002-Nixpkgs-versioned-QML-path.patch";
··· 61 ]; 62 63 patches = [ 64 + ./2001-Mark-problematic-tests.patch 65 + 66 (substituteAll { 67 src = ./2002-Nixpkgs-versioned-QML-path.patch.in; 68 name = "2002-Nixpkgs-versioned-QML-path.patch";
+12 -7
pkgs/development/ocaml-modules/asn1-combinators/default.nix
··· 4 fetchurl, 5 ptime, 6 alcotest, 7 }: 8 9 buildDunePackage rec { 10 - minimalOCamlVersion = "4.08"; 11 12 pname = "asn1-combinators"; 13 - version = "0.3.1"; 14 15 src = fetchurl { 16 url = "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v${version}/asn1-combinators-${version}.tbz"; 17 - hash = "sha256-+imExupuHhxP4gM/AWWvYRljwkAM4roFEAS3ffxVfE4="; 18 }; 19 20 propagatedBuildInputs = [ ptime ]; 21 22 doCheck = true; 23 - checkInputs = [ alcotest ]; 24 25 - meta = with lib; { 26 homepage = "https://github.com/mirleft/ocaml-asn1-combinators"; 27 description = "Combinators for expressing ASN.1 grammars in OCaml"; 28 - license = licenses.isc; 29 - maintainers = with maintainers; [ vbgl ]; 30 }; 31 }
··· 4 fetchurl, 5 ptime, 6 alcotest, 7 + ohex, 8 }: 9 10 buildDunePackage rec { 11 + minimalOCamlVersion = "4.13.0"; 12 13 pname = "asn1-combinators"; 14 + version = "0.3.2"; 15 16 src = fetchurl { 17 url = "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v${version}/asn1-combinators-${version}.tbz"; 18 + hash = "sha256-KyaYX24nIgc9zZ+ENVvWdX4SZDtaSOMLPAf/fPsNin8="; 19 }; 20 21 propagatedBuildInputs = [ ptime ]; 22 23 doCheck = true; 24 + checkInputs = [ 25 + alcotest 26 + ohex 27 + ]; 28 29 + meta = { 30 homepage = "https://github.com/mirleft/ocaml-asn1-combinators"; 31 + changelog = "https://github.com/mirleft/ocaml-asn1-combinators/blob/v${version}/CHANGES.md"; 32 description = "Combinators for expressing ASN.1 grammars in OCaml"; 33 + license = lib.licenses.isc; 34 + maintainers = with lib.maintainers; [ vbgl ]; 35 }; 36 }
+4 -4
pkgs/development/python-modules/gpaw/default.nix
··· 68 ''; 69 }; 70 71 - setupVersion = "0.9.20000"; 72 pawDataSets = fetchurl { 73 url = "https://wiki.fysik.dtu.dk/gpaw-files/gpaw-setups-${setupVersion}.tar.gz"; 74 - sha256 = "07yldxnn38gky39fxyv3rfzag9p4lb0xfpzn15wy2h9aw4mnhwbc"; 75 }; 76 in 77 buildPythonPackage rec { 78 pname = "gpaw"; 79 - version = "24.1.0"; 80 format = "setuptools"; 81 82 src = fetchFromGitLab { 83 owner = "gpaw"; 84 repo = pname; 85 rev = version; 86 - hash = "sha256-8eX50F124R46dGN2rJS/dDvPeDmEm7XpVyTiOAjMKyI="; 87 }; 88 89 # `inetutils` is required because importing `gpaw`, as part of
··· 68 ''; 69 }; 70 71 + setupVersion = "24.11.0"; 72 pawDataSets = fetchurl { 73 url = "https://wiki.fysik.dtu.dk/gpaw-files/gpaw-setups-${setupVersion}.tar.gz"; 74 + hash = "sha256-lkyBzCj3+RpGhtPTGCxOvaMO+wnT+Wt/lerjFGSZwRA="; 75 }; 76 in 77 buildPythonPackage rec { 78 pname = "gpaw"; 79 + version = "25.1.0"; 80 format = "setuptools"; 81 82 src = fetchFromGitLab { 83 owner = "gpaw"; 84 repo = pname; 85 rev = version; 86 + hash = "sha256-tdS383qT6hBr5hOqjoFS36nRSS2vdVkUR7sExwjWhng="; 87 }; 88 89 # `inetutils` is required because importing `gpaw`, as part of
+5 -1
pkgs/development/tools/build-managers/gradle/default.nix
··· 37 , unzip 38 , ncurses5 39 , ncurses6 40 , testers 41 , runCommand 42 , writeText ··· 91 }; 92 varDefs = concatStringsSep "\n" (map (x: " --set ${x} \\") 93 ([ "JAVA_HOME ${java}" ] ++ toolchain.varDefs)); 94 in '' 95 mkdir -pv $out/lib/gradle/ 96 cp -rv lib/ $out/lib/gradle/ ··· 99 test -f $gradle_launcher_jar 100 makeWrapper ${java}/bin/java $out/bin/gradle \ 101 ${varDefs} 102 --add-flags "-classpath $gradle_launcher_jar org.gradle.launcher.GradleMain${toolchain.property}" 103 ''; 104 ··· 129 # Gradle will refuse to start without _both_ 5 and 6 versions of ncurses. 130 echo ${ncurses5} >> $out/nix-support/manual-runtime-dependencies 131 echo ${ncurses6} >> $out/nix-support/manual-runtime-dependencies 132 ''; 133 134 passthru.tests = { ··· 174 binaryNativeCode 175 ]; 176 license = licenses.asl20; 177 - maintainers = with maintainers; [ lorenzleutgeb liff ] ++ lib.teams.java.members; 178 mainProgram = "gradle"; 179 } // meta; 180 });
··· 37 , unzip 38 , ncurses5 39 , ncurses6 40 + , udev 41 , testers 42 , runCommand 43 , writeText ··· 92 }; 93 varDefs = concatStringsSep "\n" (map (x: " --set ${x} \\") 94 ([ "JAVA_HOME ${java}" ] ++ toolchain.varDefs)); 95 + jnaLibraryPath = lib.makeLibraryPath [ udev ]; 96 in '' 97 mkdir -pv $out/lib/gradle/ 98 cp -rv lib/ $out/lib/gradle/ ··· 101 test -f $gradle_launcher_jar 102 makeWrapper ${java}/bin/java $out/bin/gradle \ 103 ${varDefs} 104 + --add-flags "-Djna.library.path=${jnaLibraryPath}" \ 105 --add-flags "-classpath $gradle_launcher_jar org.gradle.launcher.GradleMain${toolchain.property}" 106 ''; 107 ··· 132 # Gradle will refuse to start without _both_ 5 and 6 versions of ncurses. 133 echo ${ncurses5} >> $out/nix-support/manual-runtime-dependencies 134 echo ${ncurses6} >> $out/nix-support/manual-runtime-dependencies 135 + echo ${udev} >> $out/nix-support/manual-runtime-dependencies 136 ''; 137 138 passthru.tests = { ··· 178 binaryNativeCode 179 ]; 180 license = licenses.asl20; 181 + maintainers = with maintainers; [ britter liff lorenzleutgeb ] ++ lib.teams.java.members; 182 mainProgram = "gradle"; 183 } // meta; 184 });
+3 -3
pkgs/servers/monitoring/prometheus/alertmanager.nix
··· 9 10 buildGoModule rec { 11 pname = "alertmanager"; 12 - version = "0.27.0"; 13 rev = "v${version}"; 14 15 src = fetchFromGitHub { 16 inherit rev; 17 owner = "prometheus"; 18 repo = "alertmanager"; 19 - hash = "sha256-soE2D/PLesV1+Kif9myB54a9zIFIa94i0BrmywJPTbI="; 20 }; 21 22 - vendorHash = "sha256-zkHIdEdAy44iV2F929NB3ISuUbxdecaeZcsNQQGd06E="; 23 24 subPackages = [ 25 "cmd/alertmanager"
··· 9 10 buildGoModule rec { 11 pname = "alertmanager"; 12 + version = "0.28.0"; 13 rev = "v${version}"; 14 15 src = fetchFromGitHub { 16 inherit rev; 17 owner = "prometheus"; 18 repo = "alertmanager"; 19 + hash = "sha256-m8UbC9aSzUmoyfCxBNNSCeUQvnQqMlXrcOU0ygH9byE="; 20 }; 21 22 + vendorHash = "sha256-oIQ7sXBoYC/KSYk8Er8XEg6nf0vJ3kF80hysmInmdIc="; 23 24 subPackages = [ 25 "cmd/alertmanager"
-46
pkgs/tools/networking/gping/default.nix
··· 1 - { 2 - lib, 3 - stdenv, 4 - rustPlatform, 5 - fetchFromGitHub, 6 - installShellFiles, 7 - iputils, 8 - versionCheckHook, 9 - }: 10 - 11 - rustPlatform.buildRustPackage rec { 12 - pname = "gping"; 13 - version = "1.18.0"; 14 - 15 - src = fetchFromGitHub { 16 - owner = "orf"; 17 - repo = "gping"; 18 - rev = "gping-v${version}"; 19 - hash = "sha256-JZMgbCwEGfngCQVmuZX1tu3he/f/TBLitcP/Ea3S6yI="; 20 - }; 21 - 22 - cargoHash = "sha256-I9rcC2sotrdHMCCiDgfycKRnJxZLuA5OLZPZC0zFiLc="; 23 - 24 - nativeBuildInputs = [ installShellFiles ]; 25 - 26 - nativeCheckInputs = lib.optionals stdenv.hostPlatform.isLinux [ iputils ]; 27 - 28 - postInstall = '' 29 - installManPage gping.1 30 - ''; 31 - 32 - doInstallCheck = true; 33 - 34 - nativeInstallCheckInputs = [ versionCheckHook ]; 35 - 36 - versionCheckProgramArg = [ "--version" ]; 37 - 38 - meta = with lib; { 39 - description = "Ping, but with a graph"; 40 - homepage = "https://github.com/orf/gping"; 41 - changelog = "https://github.com/orf/gping/releases/tag/gping-v${version}"; 42 - license = licenses.mit; 43 - maintainers = with maintainers; [ cafkafk ]; 44 - mainProgram = "gping"; 45 - }; 46 - }
···
-2
pkgs/top-level/all-packages.nix
··· 2330 inherit (darwin) libobjc libresolv; 2331 }; 2332 2333 - gping = callPackage ../tools/networking/gping { }; 2334 - 2335 greg = callPackage ../applications/audio/greg { 2336 pythonPackages = python3Packages; 2337 };
··· 2330 inherit (darwin) libobjc libresolv; 2331 }; 2332 2333 greg = callPackage ../applications/audio/greg { 2334 pythonPackages = python3Packages; 2335 };