lol

Merge staging-next into staging

authored by

github-actions[bot] and committed by
GitHub
6527aa6d 5113767c

+1259 -482
+3 -1
.github/CODEOWNERS
··· 134 134 /pkgs/development/ruby-modules @marsam 135 135 136 136 # Rust 137 - /pkgs/development/compilers/rust @Mic92 @LnL7 @zowoq 137 + /pkgs/development/compilers/rust @Mic92 @LnL7 @zowoq @winterqt @figsoda 138 + /pkgs/build-support/rust @zowoq @winterqt @figsoda 139 + /doc/languages-frameworks/rust.section.md @zowoq @winterqt @figsoda 138 140 139 141 # C compilers 140 142 /pkgs/development/compilers/gcc @matthewbauer
+13
maintainers/maintainer-list.nix
··· 2530 2530 githubId = 89596; 2531 2531 name = "Florian Friesdorf"; 2532 2532 }; 2533 + ChaosAttractor = { 2534 + email = "lostattractor@gmail.com"; 2535 + github = "LostAttractor"; 2536 + githubId = 46527539; 2537 + name = "ChaosAttractor"; 2538 + }; 2533 2539 chekoopa = { 2534 2540 email = "chekoopa@mail.ru"; 2535 2541 github = "chekoopa"; ··· 13989 13995 github = "SuperBo"; 13990 13996 githubId = 2666479; 13991 13997 name = "Y Nguyen"; 13998 + }; 13999 + superherointj = { 14000 + name = "Sérgio Marcelo"; 14001 + email = "sergiomarcelo+nixpkgs@ya.ru"; 14002 + matrix = "@superherointj:matrix.org"; 14003 + github = "superherointj"; 14004 + githubId = 5861043; 13992 14005 }; 13993 14006 SuperSandro2000 = { 13994 14007 email = "sandro.jaeckel@gmail.com";
+3 -1
maintainers/team-list.nix
··· 698 698 699 699 rust = { 700 700 members = [ 701 - andir 701 + figsoda 702 702 lnl7 703 703 mic92 704 + tjni 705 + winter 704 706 zowoq 705 707 ]; 706 708 scope = "Maintain the Rust compiler toolchain and nixpkgs integration.";
+1
nixos/modules/services/networking/openconnect.nix
··· 90 90 generateConfig = name: icfg: 91 91 pkgs.writeText "config" '' 92 92 interface=${name} 93 + ${optionalString (icfg.protocol != null) "protocol=${icfg.protocol}"} 93 94 ${optionalString (icfg.user != null) "user=${icfg.user}"} 94 95 ${optionalString (icfg.passwordFile != null) "passwd-on-stdin"} 95 96 ${optionalString (icfg.certificate != null)
+1
nixos/modules/services/x11/desktop-managers/plasma5.nix
··· 365 365 pkgs.xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/ 366 366 ]; 367 367 optionalPackages = [ 368 + pkgs.aha # needed by kinfocenter for fwupd support 368 369 plasma-browser-integration 369 370 konsole 370 371 oxygen
+2 -2
pkgs/applications/audio/flacon/default.nix
··· 4 4 5 5 stdenv.mkDerivation rec { 6 6 pname = "flacon"; 7 - version = "9.5.1"; 7 + version = "10.0.0"; 8 8 9 9 src = fetchFromGitHub { 10 10 owner = "flacon"; 11 11 repo = "flacon"; 12 12 rev = "v${version}"; 13 - sha256 = "sha256-45aA2Ib69Gb1Mg/5907rp1nfRbNyQq12pm/aFwTdgeA="; 13 + sha256 = "sha256-59p5x+d7Vmxx+bdBDxrlf4+NRIdUBuRk+DqohV98XYY="; 14 14 }; 15 15 16 16 nativeBuildInputs = [ cmake pkg-config wrapQtAppsHook ];
+2 -2
pkgs/applications/audio/open-stage-control/default.nix
··· 2 2 3 3 buildNpmPackage rec { 4 4 pname = "open-stage-control"; 5 - version = "1.21.0"; 5 + version = "1.22.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "jean-emmanuel"; 9 9 repo = "open-stage-control"; 10 10 rev = "v${version}"; 11 - hash = "sha256-6tRd8boVwWc8qGlklYqA/Kp76VOMvtUJlu/G/InvHkA="; 11 + hash = "sha256-tfWimJ9eEFBUxPRVNjgbu8tQNokPbXOxOXO64mFuMfM="; 12 12 }; 13 13 14 14 # Remove some Electron stuff from package.json
+120
pkgs/applications/audio/yesplaymusic/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchurl 4 + , undmg 5 + , dpkg 6 + , autoPatchelfHook 7 + , wrapGAppsHook 8 + , makeWrapper 9 + , alsa-lib 10 + , at-spi2-atk 11 + , cups 12 + , nspr 13 + , nss 14 + , mesa # for libgbm 15 + , xorg 16 + , xdg-utils 17 + , libdrm 18 + , libnotify 19 + , libsecret 20 + , libuuid 21 + , gtk3 22 + , systemd 23 + }: 24 + let 25 + pname = "YesPlayMusic"; 26 + version = "0.4.5"; 27 + 28 + srcs = { 29 + x86_64-linux = fetchurl { 30 + url = "https://github.com/qier222/YesPlayMusic/releases/download/v${version}/yesplaymusic_${version}_amd64.deb"; 31 + hash = "sha256-igd2MzIjwDSOLP0Xi2mSJnEPGWendggPC/MwTDCDui0="; 32 + }; 33 + aarch64-linux = fetchurl { 34 + url = "https://github.com/qier222/YesPlayMusic/releases/download/v${version}/yesplaymusic_${version}_arm64.deb"; 35 + hash = "sha256-6MZrAJGXuEJ9HMUje3ppTz2rdaBydwoQKBk6af81pT0="; 36 + }; 37 + x86_64-darwin = fetchurl { 38 + url = "https://github.com/qier222/YesPlayMusic/releases/download/v${version}/YesPlayMusic-mac-${version}-x64.dmg"; 39 + hash = "sha256-mvmaSrDoIDeOVylkJCVY97yRUHfEI8CysmKrgBUrFGM="; 40 + }; 41 + aarch64-darwin = fetchurl { 42 + url = "https://github.com/qier222/YesPlayMusic/releases/download/v${version}/YesPlayMusic-mac-${version}-arm64.dmg"; 43 + hash = "sha256-Qo03rGS/qB6Sc1IunU7F81WJ/t+mWR7ZRsKYK97LHik="; 44 + }; 45 + }; 46 + src = srcs.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}"); 47 + 48 + libraries = [ 49 + alsa-lib 50 + at-spi2-atk 51 + cups 52 + nspr 53 + nss 54 + mesa 55 + xorg.libxshmfence 56 + xorg.libXScrnSaver 57 + xorg.libXtst 58 + xdg-utils 59 + libdrm 60 + libnotify 61 + libsecret 62 + libuuid 63 + gtk3 64 + ]; 65 + 66 + meta = with lib; { 67 + description = "A good-looking third-party netease cloud music player"; 68 + homepage = "https://github.com/qier222/YesPlayMusic/"; 69 + license = licenses.mit; 70 + maintainers = with maintainers; [ ChaosAttractor ]; 71 + platforms = builtins.attrNames srcs; 72 + }; 73 + in 74 + if stdenv.isDarwin 75 + then stdenv.mkDerivation { 76 + inherit pname version src meta; 77 + 78 + nativeBuildInputs = [ undmg ]; 79 + 80 + sourceRoot = "."; 81 + 82 + installPhase = '' 83 + mkdir -p $out/Applications 84 + cp -r *.app $out/Applications 85 + ''; 86 + } 87 + else stdenv.mkDerivation { 88 + inherit pname version src meta; 89 + 90 + nativeBuildInputs = [ 91 + autoPatchelfHook 92 + wrapGAppsHook 93 + makeWrapper 94 + ]; 95 + 96 + buildInputs = libraries; 97 + 98 + runtimeDependencies = [ 99 + (lib.getLib systemd) 100 + ]; 101 + 102 + unpackPhase = '' 103 + ${dpkg}/bin/dpkg-deb -x $src . 104 + ''; 105 + 106 + installPhase = '' 107 + runHook preInstall 108 + 109 + mkdir -p $out/bin 110 + cp -r opt $out/opt 111 + cp -r usr/share $out/share 112 + substituteInPlace $out/share/applications/yesplaymusic.desktop \ 113 + --replace "/opt/YesPlayMusic/yesplaymusic" "$out/bin/yesplaymusic" 114 + makeWrapper $out/opt/YesPlayMusic/yesplaymusic $out/bin/yesplaymusic \ 115 + --argv0 "yesplaymusic" \ 116 + --add-flags "$out/opt/YesPlayMusic/resources/app.asar" 117 + 118 + runHook postInstall 119 + ''; 120 + }
+2 -2
pkgs/applications/blockchains/haven-cli/default.nix
··· 10 10 11 11 stdenv.mkDerivation rec { 12 12 pname = "haven-cli"; 13 - version = "3.0.3"; 13 + version = "3.0.7"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "haven-protocol-org"; 17 17 repo = "haven-main"; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-JbNk1TF0N3tRYGfZfSBFk+t/8GA4yjqP9G6S0ktdur8="; 19 + sha256 = "sha256-HLZ9j75MtF7FkHA4uefkrYp07pVZe1Ac1wny7T0CMpA="; 20 20 fetchSubmodules = true; 21 21 }; 22 22
+3 -3
pkgs/applications/graphics/eyedropper/default.nix
··· 15 15 16 16 stdenv.mkDerivation rec { 17 17 pname = "eyedropper"; 18 - version = "0.5.0"; 18 + version = "0.5.1"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "FineFindus"; 22 22 repo = pname; 23 23 rev = "v${version}"; 24 - hash = "sha256-sDrMIryVFkjMGHbYvNDmKb1HyJNGb3Hd+muxUJKhogE="; 24 + hash = "sha256-kc/UREQpmw3suA6bYEr9fCIwMzNMrEY9E5qf+rhKsC4="; 25 25 }; 26 26 27 27 cargoDeps = rustPlatform.fetchCargoTarball { 28 28 inherit src; 29 29 name = "${pname}-${version}"; 30 - hash = "sha256-mztc44hHdqzR3WbG6tkCL38EfgBajRLlpMC8ElpXnlo="; 30 + hash = "sha256-/eas1PObrj9IuDIzlBVbfhEhH8eDyZ7CD871JmAqnyY="; 31 31 }; 32 32 33 33 nativeBuildInputs = [
+2 -2
pkgs/applications/misc/gremlin-console/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "gremlin-console"; 5 - version = "3.6.1"; 5 + version = "3.6.2"; 6 6 src = fetchzip { 7 7 url = "https://downloads.apache.org/tinkerpop/${version}/apache-tinkerpop-gremlin-console-${version}-bin.zip"; 8 - sha256 = "sha256-lr3ffyAL8LBj7mt4EmN2Kq2pxvW4P7zd66gU9X4qzJw="; 8 + sha256 = "sha256-c7uwXqmMrWDYZ9CpGuVoo1e5yWHsoNd0zihZKdCTg7E="; 9 9 }; 10 10 11 11 nativeBuildInputs = [ makeWrapper ];
+3 -3
pkgs/applications/misc/josm/default.nix
··· 3 3 }: 4 4 let 5 5 pname = "josm"; 6 - version = "18622"; 6 + version = "18646"; 7 7 srcs = { 8 8 jar = fetchurl { 9 9 url = "https://josm.openstreetmap.de/download/josm-snapshot-${version}.jar"; 10 - hash = "sha256-AtV7Lj+z1GOCEl8xUaumYcN848pMsLIfMGmBXved6WU="; 10 + hash = "sha256-nncN1cGpuVy4O3JeH56iQfwZGM5/xs3U/V+gVZbChOE="; 11 11 }; 12 12 macosx = fetchurl { 13 13 url = "https://josm.openstreetmap.de/download/macosx/josm-macos-${version}-java17.zip"; 14 - hash = "sha256-q3Kr0YWe6Jm6wO6h7fMANKLCWKfU0zDpBZjRH662eSg="; 14 + hash = "sha256-ihBEOl6WnIaA7x40D2HTdVIDb30BYnhlh0sQrbNA/SU="; 15 15 }; 16 16 pkg = fetchsvn { 17 17 url = "https://josm.openstreetmap.de/svn/trunk/native/linux/tested";
+3 -3
pkgs/applications/misc/process-compose/default.nix
··· 8 8 in 9 9 buildGoModule rec { 10 10 pname = "process-compose"; 11 - version = "0.29.7"; 11 + version = "0.40.0"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "F1bonacc1"; 15 15 repo = pname; 16 16 rev = "v${version}"; 17 - hash = "sha256-gVXil6Gc65/6VMuONfVyxU6SSV0vCbJKXDvtG4a+pbU="; 17 + hash = "sha256-8gyALVW+ort76r/zevWAhZlJ/fg5DBmwUNvjZ21wWKY="; 18 18 # populate values that require us to use git. By doing this in postFetch we 19 19 # can delete .git afterwards and maintain better reproducibility of the src. 20 20 leaveDotGit = true; ··· 43 43 installShellFiles 44 44 ]; 45 45 46 - vendorHash = "sha256-fL12Rx/0TF2jjciSHgfIDfrqdQxxm2JiGfgO3Dgz81M="; 46 + vendorHash = "sha256-rbGKFZY9YEcBAFFxG6v3xaVLQxVoqIehN0LgINku3Xo="; 47 47 48 48 doCheck = false; 49 49
+3 -3
pkgs/applications/misc/usql/default.nix
··· 10 10 11 11 buildGoModule rec { 12 12 pname = "usql"; 13 - version = "0.13.6"; 13 + version = "0.13.8"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "xo"; 17 17 repo = "usql"; 18 18 rev = "v${version}"; 19 - hash = "sha256-FmwsiCXSnTEvA1oAScJhnl1ZG7WTfbNQyJBULnNt9/c="; 19 + hash = "sha256-oNsA9VM6MN2czeZSTFGvmCWX0T3iVaAhQk1mVRyKgWw="; 20 20 }; 21 21 22 22 buildInputs = [ unixODBC icu ]; 23 23 24 - vendorHash = "sha256-lla+smDg6nNNQZYEQI5xY3iRw4gm6WCDh8gDZ6N9lqk="; 24 + vendorHash = "sha256-LG5gTHXB1ItDZFbTBHyZGHZLaSYb8wekIHkahTMXzkk="; 25 25 proxyVendor = true; 26 26 27 27 # Exclude broken impala & hive driver
+19 -4
pkgs/applications/misc/ydict/default.nix
··· 1 - { lib, fetchFromGitHub, buildGoModule }: 1 + { lib 2 + , fetchFromGitHub 3 + , buildGoModule 4 + , makeWrapper 5 + , mpg123 6 + }: 2 7 3 8 buildGoModule rec { 4 9 pname = "ydict"; ··· 13 18 14 19 vendorSha256 = "sha256-c5nQVQd4n978kFAAKcx5mX2Jz16ZOhS8iL/oxS1o5xs="; 15 20 16 - ldflags = [ "-s" "-w" "-X=main.Version=${version}" ]; 21 + ldflags = [ 22 + "-s" 23 + "-w" 24 + "-X=main.Version=${version}" 25 + ]; 26 + 27 + nativeBuildInputs = [ makeWrapper ]; 28 + 29 + preFixup = '' 30 + wrapProgram $out/bin/${pname} \ 31 + --prefix PATH ":" "${lib.makeBinPath [ mpg123 ]}"; 32 + ''; 17 33 18 34 # has no tests 19 35 doCheck = false; 20 36 21 37 meta = with lib; { 22 - description = "A command-line Chinese dictionary"; 38 + description = "Yet another command-line Youdao Chinese dictionary"; 23 39 homepage = "https://github.com/TimothyYe/ydict"; 24 40 license = licenses.mit; 25 - platforms = platforms.linux; 26 41 maintainers = with maintainers; [ zendo ]; 27 42 }; 28 43 }
+2
pkgs/applications/networking/browsers/firefox/wrapper.nix
··· 15 15 , pciutils 16 16 , sndio 17 17 , libjack2 18 + , speechd 18 19 }: 19 20 20 21 ## configurability of the wrapper itself ··· 82 83 ++ lib.optional sndioSupport sndio 83 84 ++ lib.optional jackSupport libjack2 84 85 ++ lib.optional smartcardSupport opensc 86 + ++ lib.optional (cfg.speechSynthesisSupport or false) speechd 85 87 ++ pkcs11Modules; 86 88 gtk_modules = [ libcanberra-gtk3 ]; 87 89
+3 -3
pkgs/applications/networking/cluster/acorn/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "acorn"; 5 - version = "0.4.2"; 5 + version = "0.5.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "acorn-io"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - hash = "sha256-IzjCYVQ9RhuAmgloue421F43ARviaHW7mTkLhLW/VPM="; 11 + hash = "sha256-wrtuBme12pilFKDyzKWlZFUu99NQKgwnx2fUOfL+VAY="; 12 12 }; 13 13 14 - vendorHash = "sha256-z2ya/CgH9AcxHe73Yt9XWbJqH4OrZWt0bRDsna5hYeo="; 14 + vendorHash = "sha256-9cq64397RB4KWVatuKXi1EwjolGEpwAc+tC1zs3boQ4="; 15 15 16 16 ldflags = [ 17 17 "-s"
+2 -2
pkgs/applications/networking/cluster/argocd/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "argocd"; 5 - version = "2.5.8"; 5 + version = "2.5.9"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "argoproj"; 9 9 repo = "argo-cd"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-4L0xj4+NLThSLzXTncUnUILOsV3qr9+f8osv19OW6oI="; 11 + sha256 = "sha256-RZ3bcuJmUUnucD2lhfxLU8vbrorVUowF8hAW9NGSmbI="; 12 12 }; 13 13 14 14 proxyVendor = true; # darwin/linux hash mismatch
+1 -1
pkgs/applications/networking/cluster/fluxcd/default.nix
··· 65 65 ''; 66 66 homepage = "https://fluxcd.io"; 67 67 license = licenses.asl20; 68 - maintainers = with maintainers; [ bryanasdev000 jlesquembre ]; 68 + maintainers = with maintainers; [ bryanasdev000 jlesquembre superherointj ]; 69 69 mainProgram = "flux"; 70 70 }; 71 71 }
+1 -1
pkgs/applications/networking/cluster/k3s/default.nix
··· 75 75 description = "A lightweight Kubernetes distribution"; 76 76 license = licenses.asl20; 77 77 homepage = "https://k3s.io"; 78 - maintainers = with maintainers; [ euank mic92 ]; 78 + maintainers = with maintainers; [ euank mic92 superherointj ]; 79 79 platforms = platforms.linux; 80 80 }; 81 81
+3 -3
pkgs/applications/networking/cluster/k9s/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "k9s"; 5 - version = "0.26.7"; 5 + version = "0.27.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "derailed"; 9 9 repo = "k9s"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-TshUQJIwGSqVP+YUJvSHSczvnvzr1kX761oIbfQzVzw="; 11 + sha256 = "sha256-optEMGB6izGlpcq2AJOY4lTt8igYBilE0Bg8KxE8AsU="; 12 12 }; 13 13 14 14 ldflags = [ ··· 20 20 21 21 tags = [ "netgo" ]; 22 22 23 - vendorSha256 = "sha256-W0yU5rMUuO2JtKRZpexsCqIUy3h+2hSDRcq/lp0UHX8="; 23 + vendorHash = "sha256-57JrBmund2hwcgqWkLos/h1EOgZQb9HfKUf1BX0MYGQ="; 24 24 25 25 # TODO investigate why some config tests are failing 26 26 doCheck = !(stdenv.isDarwin && stdenv.isAarch64);
+3 -3
pkgs/applications/networking/cluster/karmor/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "karmor"; 5 - version = "0.11.5"; 5 + version = "0.11.6"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "kubearmor"; 9 9 repo = "kubearmor-client"; 10 10 rev = "v${version}"; 11 - hash = "sha256-xVYhZT4yqbSmxGH5DaarXzrGYMS1BuTaQ2T+huWYLBw="; 11 + hash = "sha256-toN/pIvmmMwIARhY1i/2nmrC5ZVyTR7pttqkyXNuMaE="; 12 12 }; 13 13 14 - vendorHash = "sha256-rlvAQ99/3+3VotyYAR2TgWG8ZdTKUT2XRv4hTF+QFpI="; 14 + vendorHash = "sha256-TE+VPOhkTPqQTapxAcJzlQzRZfmb1J4pAWUKiTGLnZE="; 15 15 16 16 nativeBuildInputs = [ installShellFiles ]; 17 17
+3 -3
pkgs/applications/networking/cluster/minikube/default.nix
··· 12 12 13 13 buildGoModule rec { 14 14 pname = "minikube"; 15 - version = "1.28.0"; 15 + version = "1.29.0"; 16 16 17 - vendorSha256 = "sha256-CyIpzwSYHbv96UoQ/SZXOl6v3xn3pvT39ZO+RpVHU5I="; 17 + vendorHash = "sha256-wRCSUDzz+1e4/ijwAnIM8a/AlnNNdVkiz3WO4Nhuy+M="; 18 18 19 19 doCheck = false; 20 20 ··· 22 22 owner = "kubernetes"; 23 23 repo = "minikube"; 24 24 rev = "v${version}"; 25 - sha256 = "sha256-Gn/RXZedID0sh5qTcBNg7GeLtI1JZYKXEWg2RZGXlDw="; 25 + sha256 = "sha256-rdcMgL7bzdlxrelui+V1APJik0v/4YyUqj9QlMRq1nI="; 26 26 }; 27 27 28 28 nativeBuildInputs = [ installShellFiles pkg-config which makeWrapper ];
+3 -3
pkgs/applications/networking/cluster/nerdctl/default.nix
··· 10 10 11 11 buildGoModule rec { 12 12 pname = "nerdctl"; 13 - version = "1.1.0"; 13 + version = "1.2.0"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "containerd"; 17 17 repo = pname; 18 18 rev = "v${version}"; 19 - sha256 = "sha256-i178AN8LDm1SmCx3G8uLmW1+/F3B8DQsrkawSBoefGw="; 19 + hash = "sha256-6AXki9/gJVlHpA3iSS1GqkLWaUqE0c+X8alWdMyCFiU="; 20 20 }; 21 21 22 - vendorSha256 = "sha256-0EWrFc55I3EmrAmmIYdsYtvO6xqDHbo5Uo6XC+NezZI="; 22 + vendorHash = "sha256-28Wt9uQ7+PEWe+RaNv4HLz7HQbO7hXlX3O7s9SooLu8="; 23 23 24 24 nativeBuildInputs = [ makeWrapper installShellFiles ]; 25 25
+3 -3
pkgs/applications/networking/dnscontrol/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "dnscontrol"; 5 - version = "3.24.0"; 5 + version = "3.25.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "StackExchange"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-+fOcFu52f2PiynF0B8r3zAW/ANypXx9inLnf4ZtwI2M="; 11 + sha256 = "sha256-XH9o1DTwG5ne5TZDgsS4HfC5WqLXc16JtjkKQtiE8z0="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-+43UegjFjh86vXjH1A4jbORk8xTDZaJRc41RhFPcESk="; 14 + vendorSha256 = "sha256-iVyLNPvmzkI46Cp0SgbxK6xIQspJjpYjqPf3mOMoZvU="; 15 15 16 16 ldflags = [ "-s" "-w" ]; 17 17
+6 -16
pkgs/applications/networking/instant-messengers/deltachat-desktop/default.nix
··· 21 21 22 22 let 23 23 libdeltachat' = libdeltachat.overrideAttrs (old: rec { 24 - version = "1.106.0"; 24 + version = "1.107.0"; 25 25 src = fetchFromGitHub { 26 26 owner = "deltachat"; 27 27 repo = "deltachat-core-rust"; 28 28 rev = version; 29 - hash = "sha256-S53ghVFb1qDI7MVNbc2ZlHqDN4VRBFQJCJg2J+w0erc="; 29 + hash = "sha256-fjiS7GZy1BLgmxu4LFOWgucORcVx+9KleQcga+hRkSY="; 30 30 }; 31 31 cargoDeps = rustPlatform.fetchCargoTarball { 32 32 inherit src; 33 33 name = "${old.pname}-${version}"; 34 - hash = "sha256-k4j814Ao7FAyd0w1nH2fuX1cJKjBkhPw0CVZqNU7Hqs="; 34 + hash = "sha256-7XhSI/C0GEmsaL0UupvufB1bfPGbzSQJH720Y4/Do3o="; 35 35 }; 36 36 }); 37 37 esbuild' = esbuild.override { ··· 48 48 }; 49 49 in buildNpmPackage rec { 50 50 pname = "deltachat-desktop"; 51 - version = "1.34.2"; 51 + version = "1.34.3"; 52 52 53 53 src = fetchFromGitHub { 54 54 owner = "deltachat"; 55 55 repo = "deltachat-desktop"; 56 56 rev = "v${version}"; 57 - hash = "sha256-XOGfKa0eGVZKKKC0Pm2kw48XWWcrxCyDdYzCSKp+wco="; 57 + hash = "sha256-6WZJD8lMsk1WNguMkXygBCTVpOzNkNuVZJ3Ygv6VBkM="; 58 58 }; 59 59 60 - patches = [ 61 - (fetchpatch { 62 - name = "bump-electron-to-22.1.0.patch"; 63 - url = "https://github.com/deltachat/deltachat-desktop/commit/944d2735cda6cd5a95cb83c57484fbaf16720a9c.patch"; 64 - hash = "sha256-kaKi32eFQ3hGLZLjiXmH9qs4GXezcDQ7zTdT2+D8NcQ="; 65 - }) 66 - ]; 67 - 68 - npmDepsHash = "sha256-J3/S/jYQvO/U8StDtYI+jozon0d4VCdeqFX6x1hHzMo="; 60 + npmDepsHash = "sha256-B91yQ/xi8+uyOllqYR7lZTfLBpJvZat1cIIJk9TkM/c="; 69 61 70 62 nativeBuildInputs = [ 71 63 makeWrapper ··· 136 128 "x-scheme-handler/mailto" 137 129 ]; 138 130 }); 139 - 140 - passthru.updateScript = ./update.sh; 141 131 142 132 meta = with lib; { 143 133 description = "Email-based instant messaging for Desktop";
-32
pkgs/applications/networking/instant-messengers/deltachat-desktop/update.sh
··· 1 - #! /usr/bin/env nix-shell 2 - #! nix-shell -i bash -p coreutils curl gnused jq moreutils nix-prefetch prefetch-npm-deps 3 - 4 - set -euo pipefail 5 - cd "$(dirname "$0")" 6 - 7 - owner=deltachat 8 - repo=deltachat-desktop 9 - nixpkgs=../../../../.. 10 - 11 - rev=$( 12 - curl -s "https://api.github.com/repos/$owner/$repo/releases" | 13 - jq 'map(select(.prerelease | not)) | .[0].tag_name' --raw-output 14 - ) 15 - ver=$(echo "$rev" | sed 's/^v//') 16 - old_ver=$(tac default.nix | sed -n 's/.*\bversion = "\(.*\)".*/\1/p' | head -1) 17 - if [ "$ver" = "$old_ver" ]; then 18 - echo "Up to date: $ver" 19 - exit 20 - fi 21 - echo "$old_ver -> $ver" 22 - 23 - hash=$(nix-prefetch -f "$nixpkgs" deltachat-desktop --rev "$rev") 24 - tac default.nix \ 25 - | sed -e "0,/version = \".*\"/s//version = \"$ver\"/" \ 26 - -e "0,/hash = \".*\"/s//hash = \"${hash//\//\\/}\"/" \ 27 - | tac \ 28 - | sponge default.nix 29 - 30 - src=$(nix-build "$nixpkgs" -A deltachat-desktop.src --no-out-link) 31 - hash=$(prefetch-npm-deps $src/package-lock.json) 32 - sed -i "s,npmDepsHash = \".*\",npmDepsHash = \"$hash\"," default.nix
+2 -2
pkgs/applications/networking/instant-messengers/pidgin/default.nix
··· 9 9 10 10 let unwrapped = stdenv.mkDerivation rec { 11 11 pname = "pidgin"; 12 - version = "2.14.10"; 12 + version = "2.14.12"; 13 13 14 14 src = fetchurl { 15 15 url = "mirror://sourceforge/pidgin/pidgin-${version}.tar.bz2"; 16 - sha256 = "sha256-RUsbkovGvLsYM1OvMPv95VlfIkWjQjoaRubJei3yKBA="; 16 + sha256 = "sha256-KwUka+IIYF7buTrp7cB5WD1EniqXENttNI0X9ZAgpLc="; 17 17 }; 18 18 19 19 nativeBuildInputs = [ makeWrapper intltool ];
+2 -2
pkgs/applications/networking/mullvad-vpn/default.nix
··· 1 1 { stdenv, lib, fetchurl, dpkg 2 2 , alsa-lib, atk, cairo, cups, dbus, expat, fontconfig, freetype 3 3 , gdk-pixbuf, glib, pango, nspr, nss, gtk3, mesa 4 - , xorg, autoPatchelfHook, systemd, libnotify, libappindicator 4 + , wayland, xorg, autoPatchelfHook, systemd, libnotify, libappindicator 5 5 , makeWrapper 6 6 }: 7 7 ··· 63 63 64 64 unpackPhase = "dpkg-deb -x $src ."; 65 65 66 - runtimeDependencies = [ (lib.getLib systemd) libnotify libappindicator ]; 66 + runtimeDependencies = [ (lib.getLib systemd) libnotify libappindicator wayland ]; 67 67 68 68 installPhase = '' 69 69 runHook preInstall
+3 -3
pkgs/applications/radio/urh/default.nix
··· 6 6 7 7 python3Packages.buildPythonApplication rec { 8 8 pname = "urh"; 9 - version = "2.9.3"; 9 + version = "2.9.4"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "jopohl"; 13 13 repo = pname; 14 - rev = "v${version}"; 15 - sha256 = "sha256-TrvyPcpSMACrbKPVOjxHsVsC28LmruiVO/CyCPh0KZ8="; 14 + rev = "refs/tags/v${version}"; 15 + sha256 = "sha256-Hi0VqBtGeaXMsibxbHk+2FN8mzfpmkuDr37JRW4Fp+s="; 16 16 }; 17 17 18 18 nativeBuildInputs = [ qt5.wrapQtAppsHook ];
+2 -2
pkgs/applications/science/biology/diamond/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "diamond"; 5 - version = "2.0.15"; 5 + version = "2.1.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "bbuchfink"; 9 9 repo = "diamond"; 10 10 rev = "v${version}"; 11 - sha256 = "17z9vwj58i1zc22gv4qscx0dk3nxf5ix443gxsibh3a5zsnc6dkg"; 11 + sha256 = "sha256-tcUVWfb/EtJ6heJjQ3989uNjkWa6FocReJ5gjE35AMY="; 12 12 }; 13 13 14 14
+3 -3
pkgs/applications/video/cinelerra/default.nix
··· 44 44 45 45 stdenv.mkDerivation { 46 46 pname = "cinelerra-cv"; 47 - version = "unstable-2021-02-14"; 47 + version = "unstable-2023-01-29"; 48 48 49 49 src = fetchFromGitHub { 50 50 owner = "cinelerra-cv-team"; 51 51 repo = "cinelerra-cv"; 52 - rev = "7d0e8ede557d0cdf3606e0a8d97166a22f88d89e"; 53 - sha256 = "0n84y2wp47y89drc48cm1609gads5c6saw6c6bqcf5c5wcg1yfbj"; 52 + rev = "bb00ac6b70fcf3cf419348b56f9b264bc01c1a89"; 53 + sha256 = "11965kb3d7xcvlcf8p7jlzk9swk5i78x7wja4s3043wlzmqmwv0q"; 54 54 }; 55 55 56 56 preConfigure = ''
+2 -2
pkgs/applications/video/mpv/scripts/mpvacious.nix
··· 8 8 9 9 stdenvNoCC.mkDerivation rec { 10 10 pname = "mpvacious"; 11 - version = "0.18"; 11 + version = "0.20"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "Ajatt-Tools"; 15 15 repo = "mpvacious"; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-FiYEpZVaeJQVSXa9obFYSKNVASJolOBm5D3faOlCzNY="; 17 + sha256 = "sha256-9Lf7MVaJ5eC5Gb1PdGBvtENU8AAVq2jsUkY3wJfztt8="; 18 18 }; 19 19 20 20 postPatch = ''
+3 -3
pkgs/applications/virtualization/conmon-rs/default.nix
··· 7 7 8 8 rustPlatform.buildRustPackage rec { 9 9 pname = "conmon-rs"; 10 - version = "0.4.0"; 10 + version = "0.5.0"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "containers"; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-VwVJWf9tKZ5rVF8tXDf35zsS2PipqC8FPbXUpOzsw/Y="; 16 + sha256 = "sha256-mngs5ivRyMJ927VV00mFNIG+nD9EuE3qLyN+OHMMkHQ="; 17 17 }; 18 18 19 19 nativeBuildInputs = [ capnproto protobuf ]; 20 20 doCheck = false; 21 21 22 - cargoSha256 = "sha256-zY9fsZK1C3HnCxeNA5dCbQQHYx3IVDMHCHYwFh5ev2k="; 22 + cargoSha256 = "sha256-ruChRz2rnPalBiXcpco/WS/eDgg52ckPBLBuoQa9us4="; 23 23 24 24 meta = with lib; { 25 25 description = "An OCI container runtime monitor written in Rust";
+22
pkgs/applications/window-managers/leftwm/0001-patch-version.patch
··· 1 + diff --git a/Cargo.lock b/Cargo.lock 2 + index ac3125a..c02b11d 100644 3 + --- a/Cargo.lock 4 + +++ b/Cargo.lock 5 + @@ -431,7 +431,7 @@ dependencies = [ 6 + 7 + [[package]] 8 + name = "leftwm" 9 + -version = "0.4.0" 10 + +version = "0.4.1" 11 + dependencies = [ 12 + "anyhow", 13 + "clap", 14 + @@ -467,7 +467,7 @@ dependencies = [ 15 + 16 + [[package]] 17 + name = "leftwm-core" 18 + -version = "0.4.0" 19 + +version = "0.4.1" 20 + dependencies = [ 21 + "dirs-next", 22 + "futures",
+8 -4
pkgs/applications/window-managers/leftwm/default.nix
··· 6 6 7 7 rustPlatform.buildRustPackage rec { 8 8 pname = "leftwm"; 9 - version = "0.4.0"; 9 + version = "0.4.1"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "leftwm"; 13 13 repo = "leftwm"; 14 14 rev = version; 15 - sha256 = "sha256-4f9YOVkOXn7+TzTUZS2Lultgj9WhiOPUa/fHUeyLBUU="; 15 + sha256 = "sha256-ZAlX8Vu4JAwQlwBOHT435Bz3g3qqK5ePm9v0cDqP8Q4="; 16 16 }; 17 17 18 - cargoSha256 = "sha256-D00IFTELRlqeKQ7zheJKTvu5FBgYQXsZ+OnPnVzweC4="; 18 + cargoSha256 = "sha256-nn/P9ZZNf1Zts4JiJ2kXWAAG/HT1GnlYHXcPijYiBlU="; 19 + 20 + cargoPatches = [ 21 + ./0001-patch-version.patch 22 + ]; 19 23 20 24 buildInputs = rpathLibs; 21 25 ··· 33 37 homepage = "https://github.com/leftwm/leftwm"; 34 38 license = licenses.mit; 35 39 platforms = platforms.linux; 36 - maintainers = with maintainers; [ ]; 40 + maintainers = with maintainers; [ yanganto ]; 37 41 changelog = "https://github.com/leftwm/leftwm/blob/${version}/CHANGELOG"; 38 42 }; 39 43 }
+3 -3
pkgs/data/fonts/undefined-medium/default.nix
··· 2 2 3 3 stdenvNoCC.mkDerivation rec { 4 4 pname = "undefined-medium"; 5 - version = "1.0"; 5 + version = "1.1"; 6 6 7 7 src = fetchzip { 8 - url = "https://github.com/andirueckel/undefined-medium/archive/v1.0.zip"; 9 - hash = "sha256-HG+V7jR7dDI6LeoiCg/8F38lW8Zdo6CyLj2DXy/ff64="; 8 + url = "https://github.com/andirueckel/undefined-medium/archive/v1.1.zip"; 9 + hash = "sha256-iquxt7lo92y4AQZf23Ij5Qzg2U7buL3kGLksQSR6vac="; 10 10 }; 11 11 12 12 installPhase = ''
+1 -1
pkgs/desktops/plasma-5/default.nix
··· 130 130 kdeplasma-addons = callPackage ./kdeplasma-addons.nix { }; 131 131 kgamma5 = callPackage ./kgamma5.nix { }; 132 132 khotkeys = callPackage ./khotkeys.nix { }; 133 - kinfocenter = callPackage ./kinfocenter.nix { }; 133 + kinfocenter = callPackage ./kinfocenter { }; 134 134 kmenuedit = callPackage ./kmenuedit.nix { }; 135 135 kpipewire = callPackage ./kpipewire.nix { }; 136 136 kscreen = callPackage ./kscreen.nix { };
-62
pkgs/desktops/plasma-5/kinfocenter.nix
··· 1 - { mkDerivation 2 - , lib 3 - , extra-cmake-modules 4 - , kdoctools 5 - , qtbase 6 - , kcmutils 7 - , kcompletion 8 - , kconfig 9 - , kconfigwidgets 10 - , kcoreaddons 11 - , kdbusaddons 12 - , kdeclarative 13 - , ki18n 14 - , kiconthemes 15 - , kio 16 - , kirigami2 17 - , kpackage 18 - , kservice 19 - , kwayland 20 - , kwidgetsaddons 21 - , kxmlgui 22 - , solid 23 - , systemsettings 24 - , libraw1394 25 - , libGLU 26 - , pciutils 27 - }: 28 - 29 - mkDerivation { 30 - pname = "kinfocenter"; 31 - nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 32 - buildInputs = [ 33 - kcmutils 34 - kcompletion 35 - kconfig 36 - kconfigwidgets 37 - kcoreaddons 38 - kdbusaddons 39 - kdeclarative 40 - ki18n 41 - kiconthemes 42 - kio 43 - kirigami2 44 - kpackage 45 - kservice 46 - kwayland 47 - kwidgetsaddons 48 - kxmlgui 49 - solid 50 - systemsettings 51 - 52 - libraw1394 53 - libGLU 54 - pciutils 55 - ]; 56 - preFixup = '' 57 - # fix wrong symlink of infocenter pointing to a 'systemsettings5' binary in 58 - # the same directory, while it is actually located in a completely different 59 - # store path 60 - ln -sf ${lib.getBin systemsettings}/bin/systemsettings5 $out/bin/kinfocenter 61 - ''; 62 - }
+51
pkgs/desktops/plasma-5/kinfocenter/0001-tool-paths.patch
··· 1 + diff --git a/Modules/kwinsupportinfo/kcm_kwinsupportinfo.json.in b/Modules/kwinsupportinfo/kcm_kwinsupportinfo.json.in 2 + index f591b9c..e883212 100644 3 + --- a/Modules/kwinsupportinfo/kcm_kwinsupportinfo.json.in 4 + +++ b/Modules/kwinsupportinfo/kcm_kwinsupportinfo.json.in 5 + @@ -63,6 +63,6 @@ 6 + "Name[x-test]": "xxWindow Managerxx", 7 + "Name[zh_CN]": "窗口管理器" 8 + }, 9 + - "TryExec": "@QtBinariesDir@/qdbus", 10 + + "TryExec": "@qdbus@", 11 + "X-KDE-KInfoCenter-Category": "graphical_information" 12 + } 13 + diff --git a/Modules/kwinsupportinfo/main.cpp b/Modules/kwinsupportinfo/main.cpp 14 + index 667c079..b727b67 100644 15 + --- a/Modules/kwinsupportinfo/main.cpp 16 + +++ b/Modules/kwinsupportinfo/main.cpp 17 + @@ -19,7 +19,7 @@ public: 18 + explicit KCMKWinSupportInfo(QObject *parent, const KPluginMetaData &data, const QVariantList &args) 19 + : ConfigModule(parent, data, args) 20 + { 21 + - auto outputContext = new CommandOutputContext(QLibraryInfo::location(QLibraryInfo::BinariesPath) + QStringLiteral("/qdbus"), 22 + + auto outputContext = new CommandOutputContext(QStringLiteral("@qdbus@"), 23 + {QStringLiteral("org.kde.KWin"), QStringLiteral("/KWin"), QStringLiteral("supportInformation")}, 24 + parent); 25 + qmlRegisterSingletonInstance("org.kde.kinfocenter.kwinsupportinfo.private", 1, 0, "InfoOutputContext", outputContext); 26 + diff --git a/Modules/xserver/kcm_xserver.json b/Modules/xserver/kcm_xserver.json 27 + index 04acd6b..24b8f36 100644 28 + --- a/Modules/xserver/kcm_xserver.json 29 + +++ b/Modules/xserver/kcm_xserver.json 30 + @@ -130,7 +130,7 @@ 31 + "Name[zh_CN]": "X 服务器", 32 + "Name[zh_TW]": "X 伺服器" 33 + }, 34 + - "TryExec": "xdpyinfo", 35 + + "TryExec": "@xdpyinfo@", 36 + "X-DocPath": "kinfocenter/graphical.html#xserver", 37 + "X-KDE-KInfoCenter-Category": "graphical_information", 38 + "X-KDE-Keywords": "X,X-Server,XServer,XFree86,Display,VideoCard,System Information", 39 + diff --git a/Modules/xserver/main.cpp b/Modules/xserver/main.cpp 40 + index c406ff7..a261b90 100644 41 + --- a/Modules/xserver/main.cpp 42 + +++ b/Modules/xserver/main.cpp 43 + @@ -17,7 +17,7 @@ public: 44 + explicit KCMXServer(QObject *parent, const KPluginMetaData &data, const QVariantList &args) 45 + : ConfigModule(parent, data, args) 46 + { 47 + - auto outputContext = new CommandOutputContext(QStringLiteral("xdpyinfo"), {}, parent); 48 + + auto outputContext = new CommandOutputContext(QStringLiteral("@xdpyinfo@"), {}, parent); 49 + qmlRegisterSingletonInstance("org.kde.kinfocenter.xserver.private", 1, 0, "InfoOutputContext", outputContext); 50 + 51 + auto *about = new KAboutData(QStringLiteral("kcm_xserver"), i18nc("@label kcm name", "X-Server"), QStringLiteral("1.0"), QString(), KAboutLicense::GPL);
+104
pkgs/desktops/plasma-5/kinfocenter/default.nix
··· 1 + { mkDerivation 2 + , lib 3 + , extra-cmake-modules 4 + , kdoctools 5 + , qtbase 6 + , qttools 7 + , kcmutils 8 + , kcompletion 9 + , kconfig 10 + , kconfigwidgets 11 + , kcoreaddons 12 + , kdbusaddons 13 + , kdeclarative 14 + , ki18n 15 + , kiconthemes 16 + , kio 17 + , kirigami2 18 + , kpackage 19 + , kservice 20 + , kwayland 21 + , kwidgetsaddons 22 + , kxmlgui 23 + , solid 24 + , systemsettings 25 + , dmidecode 26 + , fwupd 27 + , libraw1394 28 + , libusb1 29 + , libGLU 30 + , pciutils 31 + , smartmontools 32 + , util-linux 33 + , vulkan-tools 34 + , wayland-utils 35 + , xdpyinfo 36 + }: 37 + 38 + let 39 + inherit (lib) getBin getExe; 40 + 41 + qdbus = "${getBin qttools}/bin/qdbus"; 42 + 43 + in 44 + mkDerivation { 45 + pname = "kinfocenter"; 46 + 47 + nativeBuildInputs = [ extra-cmake-modules kdoctools ]; 48 + 49 + buildInputs = [ 50 + kcmutils 51 + kcompletion 52 + kconfig 53 + kconfigwidgets 54 + kcoreaddons 55 + kdbusaddons 56 + kdeclarative 57 + ki18n 58 + kiconthemes 59 + kio 60 + kirigami2 61 + kpackage 62 + kservice 63 + kwayland 64 + kwidgetsaddons 65 + kxmlgui 66 + solid 67 + systemsettings 68 + 69 + dmidecode 70 + fwupd 71 + libraw1394 72 + libusb1 73 + libGLU 74 + pciutils 75 + smartmontools 76 + util-linux 77 + vulkan-tools 78 + wayland-utils 79 + xdpyinfo 80 + ]; 81 + 82 + patches = [ 83 + ./0001-tool-paths.patch 84 + ]; 85 + 86 + postPatch = '' 87 + for f in Modules/kwinsupportinfo/{kcm_kwinsupportinfo.json.in,main.cpp}; do 88 + substituteInPlace $f \ 89 + --replace "@qdbus@" "${qdbus}" 90 + done 91 + 92 + for f in Modules/xserver/{kcm_xserver.json,main.cpp}; do 93 + substituteInPlace $f \ 94 + --replace "@xdpyinfo@" "${getExe xdpyinfo}" 95 + done 96 + ''; 97 + 98 + # fix wrong symlink of infocenter pointing to a 'systemsettings5' binary in 99 + # the same directory, while it is actually located in a completely different 100 + # store path 101 + preFixup = '' 102 + ln -sf ${lib.getExe systemsettings} $out/bin/kinfocenter 103 + ''; 104 + }
+1
pkgs/desktops/plasma-5/systemsettings.nix
··· 45 45 plasma-workspace 46 46 ]; 47 47 outputs = [ "bin" "dev" "out" ]; 48 + meta.mainProgram = "systemsettings5"; 48 49 }
+1 -1
pkgs/development/compilers/rust/cargo.nix
··· 76 76 meta = with lib; { 77 77 homepage = "https://crates.io"; 78 78 description = "Downloads your Rust project's dependencies and builds your project"; 79 - maintainers = with maintainers; [ retrry ]; 79 + maintainers = with maintainers; [ retrry ] ++ teams.rust.members; 80 80 license = [ licenses.mit licenses.asl20 ]; 81 81 platforms = platforms.unix; 82 82 };
+1 -1
pkgs/development/compilers/rust/rustc.nix
··· 211 211 meta = with lib; { 212 212 homepage = "https://www.rust-lang.org/"; 213 213 description = "A safe, concurrent, practical language"; 214 - maintainers = with maintainers; [ cstrahan globin havvy ]; 214 + maintainers = with maintainers; [ cstrahan globin havvy ] ++ teams.rust.members; 215 215 license = [ licenses.mit licenses.asl20 ]; 216 216 platforms = platforms.linux ++ platforms.darwin; 217 217 };
+2 -2
pkgs/development/libraries/ace/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "ace"; 5 - version = "7.0.10"; 5 + version = "7.0.11"; 6 6 7 7 src = fetchurl { 8 8 url = "https://download.dre.vanderbilt.edu/previous_versions/ACE-${version}.tar.bz2"; 9 - sha256 = "sha256-G3H1MBGseD/G9kigS3r9TrwRk8TYi2KC1CueKhtlNzA="; 9 + sha256 = "sha256-r+LRiu/u1qMcbrjkSr8ErnemX6zvhgvc5cLWu8AQhww="; 10 10 }; 11 11 12 12 enableParallelBuilding = true;
+3 -3
pkgs/development/libraries/libdeltachat/default.nix
··· 17 17 18 18 stdenv.mkDerivation rec { 19 19 pname = "libdeltachat"; 20 - version = "1.106.0"; 20 + version = "1.107.0"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "deltachat"; 24 24 repo = "deltachat-core-rust"; 25 25 rev = version; 26 - hash = "sha256-S53ghVFb1qDI7MVNbc2ZlHqDN4VRBFQJCJg2J+w0erc="; 26 + hash = "sha256-fjiS7GZy1BLgmxu4LFOWgucORcVx+9KleQcga+hRkSY="; 27 27 }; 28 28 29 29 patches = [ ··· 33 33 cargoDeps = rustPlatform.fetchCargoTarball { 34 34 inherit src; 35 35 name = "${pname}-${version}"; 36 - hash = "sha256-k4j814Ao7FAyd0w1nH2fuX1cJKjBkhPw0CVZqNU7Hqs="; 36 + hash = "sha256-7XhSI/C0GEmsaL0UupvufB1bfPGbzSQJH720Y4/Do3o="; 37 37 }; 38 38 39 39 nativeBuildInputs = [
+2 -2
pkgs/development/libraries/libgit2/default.nix
··· 16 16 17 17 stdenv.mkDerivation rec { 18 18 pname = "libgit2"; 19 - version = "1.5.0"; 19 + version = "1.5.1"; 20 20 # also check the following packages for updates: python3.pkgs.pygit2 and libgit2-glib 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "libgit2"; 24 24 repo = "libgit2"; 25 25 rev = "v${version}"; 26 - sha256 = "sha256-lXFQo+tt56BFoPgdkTfz6WdIngeotTm+8cAGcBP6XqY="; 26 + sha256 = "sha256-KzBMwpqn6wUFhgB3KDclBS0BvZSVcasM5AG/y+L91xM="; 27 27 }; 28 28 29 29 cmakeFlags = [
+38
pkgs/development/libraries/liboqs/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , openssl 6 + , enableStatic ? stdenv.hostPlatform.isStatic 7 + }: 8 + 9 + stdenv.mkDerivation rec { 10 + pname = "liboqs"; 11 + version = "0.7.2"; 12 + 13 + src = fetchFromGitHub { 14 + owner = "open-quantum-safe"; 15 + repo = pname; 16 + rev = version; 17 + sha256 = "sha256-cwrTHj/WFDZ9Ez2FhjpRhEx9aC5xBnh7HR/9T+zUpZc="; 18 + }; 19 + 20 + nativeBuildInputs = [ cmake ]; 21 + buildInputs = [ openssl ]; 22 + 23 + cmakeFlags = [ 24 + "-DBUILD_SHARED_LIBS=${if enableStatic then "OFF" else "ON"}" 25 + "-DOQS_DIST_BUILD=ON" 26 + "-DOQS_BUILD_ONLY_LIB=ON" 27 + ]; 28 + 29 + dontFixCmake = true; # fix CMake file will give an error 30 + 31 + meta = with lib; { 32 + description = "C library for prototyping and experimenting with quantum-resistant cryptography"; 33 + homepage = "https://openquantumsafe.org"; 34 + license = licenses.mit; 35 + platforms = platforms.all; 36 + maintainers = with maintainers; [ candyc1oud ]; 37 + }; 38 + }
+5 -1
pkgs/development/libraries/nghttp2/default.nix
··· 58 58 "--disable-examples" 59 59 (lib.enableFeature enableApp "app") 60 60 ] ++ lib.optionals (enableAsioLib) [ "--enable-asio-lib" "--with-boost-libdir=${boost}/lib" ] 61 - ++ lib.optionals (enablePython) [ "--with-cython=${python3Packages.cython}/bin/cython" ]; 61 + ++ lib.optionals (enablePython) [ 62 + "--enable-python-bindings" 63 + "--with-cython=${python3Packages.cython}/bin/cython" 64 + ]; 62 65 63 66 # Unit tests require CUnit and setting TZDIR environment variable 64 67 doCheck = enableTests; ··· 82 85 83 86 passthru.tests = { 84 87 inherit curl libsoup; 88 + python-nghttp2 = python3Packages.nghttp2; 85 89 }; 86 90 87 91 meta = with lib; {
+2 -2
pkgs/development/libraries/ngtcp2/default.nix
··· 7 7 8 8 stdenv.mkDerivation rec { 9 9 pname = "ngtcp2"; 10 - version = "0.12.0"; 10 + version = "0.12.1"; 11 11 12 12 src = fetchFromGitHub { 13 13 owner = "ngtcp2"; 14 14 repo = pname; 15 15 rev = "v${version}"; 16 - sha256 = "sha256-OnGzAUfIop/3/0qAAm5rgTlpCdZ/1fwWPJ/KLfGUy8U="; 16 + sha256 = "sha256-nUUbGNxr2pGiEoYbArHppNE29rki9SM/3MZWMS9HmqY="; 17 17 }; 18 18 19 19 outputs = [ "out" "dev" "doc" ];
+3 -3
pkgs/development/misc/brev-cli/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "brev-cli"; 8 - version = "0.6.197"; 8 + version = "0.6.199"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "brevdev"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-+elot37F8VW7BP18zB8wHbxTHLgnTlXLUJlr82/Y05w="; 14 + sha256 = "sha256-6sEgxUDKKAFWxWQqTb8hLt+vqlkD/9f5zdj9rh3sDLM="; 15 15 }; 16 16 17 - vendorSha256 = "sha256-uaLoh1VhJAT5liGqL77DLhAWviy5Ci8B16LuzCWuek8="; 17 + vendorHash = "sha256-hpS8fyyWIw1vkWXyd1OxyorGT5j4bJ5Ey+Hh48QF0p0="; 18 18 19 19 CGO_ENABLED = 0; 20 20 subPackages = [ "." ];
+5 -1
pkgs/development/ocaml-modules/pyml/default.nix
··· 28 28 "CHANGES.md" 29 29 ]; 30 30 }) 31 + (fetchpatch { 32 + url = "https://github.com/thierry-martinez/pyml/commit/97407473800b3f6215190643c1e6b9bd25d5caeb.patch"; 33 + hash = "sha256-7CrVuV4JT7fyi/ktWz4nNOG/BbqsQVCoJwCAhE2y4YU="; 34 + }) 31 35 ]; 32 36 33 37 buildInputs = [ ··· 40 44 ]; 41 45 42 46 nativeCheckInputs = [ 43 - python3.pkgs.numpy 47 + python3.pkgs.numpy python3.pkgs.ipython 44 48 ]; 45 49 46 50 strictDeps = true;
+2 -2
pkgs/development/python-modules/azure-mgmt-recoveryservicesbackup/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "azure-mgmt-recoveryservicesbackup"; 13 - version = "5.0.0"; 13 + version = "5.1.0"; 14 14 format = "setuptools"; 15 15 16 16 disabled = pythonOlder "3.6"; ··· 18 18 src = fetchPypi { 19 19 inherit pname version; 20 20 extension = "zip"; 21 - hash = "sha256-BciA3sFyja5xo9yS3WVglC73y8gTfw8UejdEzbD4HYE="; 21 + hash = "sha256-xl+KbNGceJWFvJKH8Aw02Ho+wMAxvxPZ4T09Qimn7OU="; 22 22 }; 23 23 24 24 propagatedBuildInputs = [
+14 -9
pkgs/development/python-modules/bip_utils/default.nix
··· 3 3 , fetchFromGitHub 4 4 , pythonOlder 5 5 , ecdsa 6 - , pysha3 7 6 , coincurve 8 7 , pynacl 9 8 , crcmod ··· 14 13 }: 15 14 16 15 buildPythonPackage rec { 17 - pname = "bip_utils"; 16 + pname = "bip-utils"; 18 17 version = "2.7.0"; 18 + format = "setuptools"; 19 19 20 20 disabled = pythonOlder "3.6"; 21 21 22 22 src = fetchFromGitHub { 23 23 owner = "ebellocchia"; 24 - repo = pname; 25 - rev = "v${version}"; 26 - sha256 = "sha256-m7/CC5/T6qR2Ot4y5WQlzOAR0czz6XHCjJskES+2nns="; 24 + repo = "bip_utils"; 25 + rev = "refs/tags/v${version}"; 26 + hash = "sha256-m7/CC5/T6qR2Ot4y5WQlzOAR0czz6XHCjJskES+2nns="; 27 27 }; 28 28 29 + postPatch = '' 30 + substituteInPlace requirements.txt \ 31 + --replace "coincurve>=15.0.1,<18.0.0" "coincurve" 32 + ''; 33 + 29 34 propagatedBuildInputs = [ 30 35 ecdsa 31 - pysha3 32 36 cbor2 33 37 pynacl 34 38 coincurve ··· 42 46 "bip_utils" 43 47 ]; 44 48 45 - meta = { 49 + meta = with lib; { 46 50 description = "Implementation of BIP39, BIP32, BIP44, BIP49 and BIP84 for wallet seeds, keys and addresses generation"; 47 51 homepage = "https://github.com/ebellocchia/bip_utils"; 48 - license = with lib.licenses; [ mit ]; 49 - maintainers = with lib.maintainers; [ prusnak stargate01 ]; 52 + changelog = "https://github.com/ebellocchia/bip_utils/blob/v${version}/CHANGELOG.md"; 53 + license = with licenses; [ mit ]; 54 + maintainers = with maintainers; [ prusnak stargate01 ]; 50 55 }; 51 56 }
+11 -3
pkgs/development/python-modules/dacite/default.nix
··· 2 2 , fetchFromGitHub 3 3 , buildPythonPackage 4 4 , pythonOlder 5 - , pythonAtLeast 6 5 , pytestCheckHook 7 6 }: 8 7 9 8 buildPythonPackage rec { 10 9 pname = "dacite"; 11 - version = "1.7.0"; 10 + version = "1.8.0"; 12 11 format = "setuptools"; 13 12 14 13 disabled = pythonOlder "3.6"; ··· 17 16 owner = "konradhalas"; 18 17 repo = pname; 19 18 rev = "refs/tags/v${version}"; 20 - hash = "sha256-+yWvlJcOmqDkHl3JZfPnIV3C4ieSo4FiBvoUZ0+J4N0="; 19 + hash = "sha256-aQwQHFWaXwTaA6GQgDcWT6ivE9YtWtHCTOtxDi503+M="; 21 20 }; 22 21 22 + postPatch = '' 23 + substituteInPlace pyproject.toml \ 24 + --replace "--benchmark-autosave --benchmark-json=benchmark.json" "" 25 + ''; 26 + 23 27 nativeCheckInputs = [ 24 28 pytestCheckHook 25 29 ]; 26 30 27 31 pythonImportsCheck = [ 28 32 "dacite" 33 + ]; 34 + 35 + disabledTestPaths = [ 36 + "tests/performance" 29 37 ]; 30 38 31 39 meta = with lib; {
+4 -3
pkgs/development/python-modules/humanize/default.nix
··· 11 11 }: 12 12 13 13 buildPythonPackage rec { 14 - version = "4.4.0"; 15 14 pname = "humanize"; 15 + version = "4.5.0"; 16 16 format = "pyproject"; 17 17 18 18 disabled = pythonOlder "3.7"; ··· 20 20 src = fetchFromGitHub { 21 21 owner = "python-humanize"; 22 22 repo = pname; 23 - rev = version; 24 - hash = "sha256-XxlmOs3sfHOLTkrKGsHRiBWpuCIPJua2VkKxDmjOeWE="; 23 + rev = "refs/tags/${version}"; 24 + hash = "sha256-vTfK45sZ9m7TUQJwZpQWhOXgZzO46CwCsnNP+PI1YfA="; 25 25 }; 26 26 27 27 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 57 57 meta = with lib; { 58 58 description = "Python humanize utilities"; 59 59 homepage = "https://github.com/python-humanize/humanize"; 60 + changelog = "https://github.com/python-humanize/humanize/releases/tag/${version}"; 60 61 license = licenses.mit; 61 62 maintainers = with maintainers; [ rmcgibbo Luflosi ]; 62 63 };
+2 -2
pkgs/development/python-modules/internetarchive/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "internetarchive"; 19 - version = "3.2.0"; 19 + version = "3.3.0"; 20 20 21 21 format = "setuptools"; 22 22 ··· 24 24 25 25 src = fetchPypi { 26 26 inherit pname version; 27 - sha256 = "sha256-cB7nRDmO2NNaHjNkHCuXH0+15WZfxseS8DBdIqefSzk="; 27 + sha256 = "sha256-PLf+PMIXlaoL974e7coQCQKH6cVBYODPhkDxa2vhTB0="; 28 28 }; 29 29 30 30 propagatedBuildInputs = [
+7 -4
pkgs/development/python-modules/jaraco-context/default.nix
··· 7 7 8 8 buildPythonPackage rec { 9 9 pname = "jaraco-context"; 10 - version = "4.2.0"; 10 + version = "4.3.0"; 11 11 format = "pyproject"; 12 12 13 - disabled = pythonOlder "3.6"; 13 + disabled = pythonOlder "3.7"; 14 14 15 15 src = fetchFromGitHub { 16 16 owner = "jaraco"; 17 17 repo = "jaraco.context"; 18 18 rev = "refs/tags/v${version}"; 19 - sha256 = "sha256-J7vL+pvwXcKEkqZn44/U01HmP1CI5kIGsJ1aJevp0I4="; 19 + hash = "sha256-YdbkpKv7k62uyhmjKoxeA9uf5BWnRD/rK+z46FJN4xk="; 20 20 }; 21 21 22 22 SETUPTOOLS_SCM_PRETEND_VERSION = version; ··· 32 32 # Module has no tests 33 33 doCheck = false; 34 34 35 - pythonImportsCheck = [ "jaraco.context" ]; 35 + pythonImportsCheck = [ 36 + "jaraco.context" 37 + ]; 36 38 37 39 meta = with lib; { 38 40 description = "Python module for context management"; 39 41 homepage = "https://github.com/jaraco/jaraco.context"; 42 + changelog = "https://github.com/jaraco/jaraco.context/blob/v${version}/CHANGES.rst"; 40 43 license = licenses.mit; 41 44 maintainers = with maintainers; [ fab ]; 42 45 };
+17 -1
pkgs/development/python-modules/magic-wormhole-mailbox-server/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 3 , fetchPypi 4 + , fetchpatch 4 5 , six 5 6 , attrs 6 7 , twisted ··· 9 10 , autobahn 10 11 , treq 11 12 , mock 13 + , pythonOlder 12 14 }: 13 15 14 16 buildPythonPackage rec { 17 + pname = "magic-wormhole-mailbox-server"; 15 18 version = "0.4.1"; 16 - pname = "magic-wormhole-mailbox-server"; 19 + format = "setuptools"; 20 + 21 + disabled = pythonOlder "3.7"; 17 22 18 23 src = fetchPypi { 19 24 inherit pname version; 20 25 sha256 = "1af10592909caaf519c00e706eac842c5e77f8d4356215fe9c61c7b2258a88fb"; 21 26 }; 22 27 28 + patches = [ 29 + (fetchpatch { 30 + # Remove the 'U' open mode removed, https://github.com/magic-wormhole/magic-wormhole-mailbox-server/pull/34 31 + name = "fix-for-python-3.11.patch"; 32 + url = "https://github.com/magic-wormhole/magic-wormhole-mailbox-server/commit/4b358859ba80de37c3dc0a5f67ec36909fd48234.patch"; 33 + hash = "sha256-RzZ5kD+xhmFYusVzAbGE+CODXtJVR1zN2rZ+VGApXiQ="; 34 + }) 35 + ]; 36 + 23 37 propagatedBuildInputs = [ 24 38 attrs 25 39 six ··· 33 47 mock 34 48 twisted 35 49 ]; 50 + 36 51 checkPhase = '' 37 52 trial -j$NIX_BUILD_CORES wormhole_mailbox_server 38 53 ''; ··· 40 55 meta = with lib; { 41 56 description = "Securely transfer data between computers"; 42 57 homepage = "https://github.com/warner/magic-wormhole-mailbox-server"; 58 + changelog = "https://github.com/magic-wormhole/magic-wormhole-mailbox-server/blob/${version}/NEWS.md"; 43 59 license = licenses.mit; 44 60 maintainers = with maintainers; [ SuperSandro2000 ]; 45 61 };
+46 -19
pkgs/development/python-modules/mautrix/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 3 + , fetchFromGitHub 4 + , pythonOlder 5 + # deps 4 6 , aiohttp 5 - , pythonOlder 7 + , attrs 8 + , yarl 9 + # optional deps 10 + , python-magic 11 + , python-olm 12 + , unpaddedbase64 13 + , pycryptodome 14 + # check deps 15 + , pytestCheckHook 16 + , pytest-asyncio 17 + , aiosqlite 6 18 , sqlalchemy 7 - , ruamel-yaml 8 - , CommonMark 9 - , lxml 10 - , aiosqlite 19 + , asyncpg 11 20 }: 12 21 13 22 buildPythonPackage rec { 14 23 pname = "mautrix"; 15 - version = "0.18.9"; 24 + version = "0.19.3"; 16 25 format = "setuptools"; 17 26 18 27 disabled = pythonOlder "3.8"; 19 28 20 - src = fetchPypi { 21 - inherit pname version; 22 - hash = "sha256-Ihaz/izB9L6osu3CPwBWOwLZ2JOLKhsDuqOUf/B02qI="; 29 + src = fetchFromGitHub { 30 + owner = "mautrix"; 31 + repo = "python"; 32 + rev = "v${version}"; 33 + hash = "sha256-7nvy2/DUS2BkcyQUUG8+aT/JHcPu141e5YWOiccS6cU="; 23 34 }; 24 35 25 36 propagatedBuildInputs = [ 26 37 aiohttp 38 + attrs 39 + yarl 40 + ]; 27 41 28 - # defined in optional-requirements.txt 29 - sqlalchemy 30 - aiosqlite 31 - ruamel-yaml 32 - CommonMark 33 - lxml 42 + passthru.optional-dependencies = { 43 + detect_mimetype = [ 44 + python-magic 45 + ]; 46 + encryption = [ 47 + python-olm 48 + unpaddedbase64 49 + pycryptodome 50 + ]; 51 + }; 52 + 53 + nativeCheckInputs = [ 54 + pytestCheckHook 34 55 ]; 35 56 36 - # no tests available 37 - doCheck = false; 57 + checkInputs = [ 58 + pytest-asyncio 59 + aiosqlite 60 + sqlalchemy 61 + asyncpg 62 + ] ++ passthru.optional-dependencies.encryption; 63 + 64 + SQLALCHEMY_SILENCE_UBER_WARNING = 1; 38 65 39 66 pythonImportsCheck = [ 40 67 "mautrix" ··· 45 72 homepage = "https://github.com/tulir/mautrix-python"; 46 73 changelog = "https://github.com/mautrix/python/releases/tag/v${version}"; 47 74 license = licenses.mpl20; 48 - maintainers = with maintainers; [ nyanloutre ma27 sumnerevans ]; 75 + maintainers = with maintainers; [ nyanloutre ma27 sumnerevans nickcao ]; 49 76 }; 50 77 }
+59
pkgs/development/python-modules/opensearch-py/default.nix
··· 1 + { aiohttp 2 + , botocore 3 + , buildPythonPackage 4 + , certifi 5 + , fetchFromGitHub 6 + , lib 7 + , mock 8 + , pytest-asyncio 9 + , pytestCheckHook 10 + , pyyaml 11 + , requests 12 + , urllib3 13 + }: 14 + 15 + buildPythonPackage rec { 16 + pname = "opensearch-py"; 17 + version = "2.1.1"; 18 + format = "setuptools"; 19 + 20 + src = fetchFromGitHub { 21 + owner = "opensearch-project"; 22 + repo = "opensearch-py"; 23 + rev = "refs/tags/v${version}"; 24 + hash = "sha256-uJ6fdRPDK76qKHE4E6dI01vKgvfqbc6A1RCwnOtuOTY="; 25 + }; 26 + 27 + propagatedBuildInputs = [ 28 + botocore 29 + certifi 30 + requests 31 + urllib3 32 + ]; 33 + 34 + nativeCheckInputs = [ 35 + mock 36 + pytest-asyncio 37 + pytestCheckHook 38 + pyyaml 39 + ] ++ passthru.optional-dependencies.async; 40 + 41 + disabledTestPaths = [ 42 + # require network 43 + "test_opensearchpy/test_async/test_connection.py" 44 + "test_opensearchpy/test_async/test_server" 45 + "test_opensearchpy/test_connection.py" 46 + "test_opensearchpy/test_server" 47 + "test_opensearchpy/test_server_secured" 48 + ]; 49 + 50 + passthru.optional-dependencies.async = [ aiohttp ]; 51 + 52 + meta = { 53 + description = "Python low-level client for OpenSearch"; 54 + homepage = "https://github.com/opensearch-project/opensearch-py"; 55 + changelog = "https://github.com/opensearch-project/opensearch-py/releases/tag/v${version}"; 56 + license = lib.licenses.asl20; 57 + maintainers = with lib.maintainers; [ mcwitt ]; 58 + }; 59 + }
+2 -2
pkgs/development/python-modules/pybind11/default.nix
··· 15 15 16 16 buildPythonPackage rec { 17 17 pname = "pybind11"; 18 - version = "2.10.2"; 18 + version = "2.10.3"; 19 19 20 20 src = fetchFromGitHub { 21 21 owner = "pybind"; 22 22 repo = pname; 23 23 rev = "v${version}"; 24 - hash = "sha256-YxAkozyWNTKMCIEk3AhHZbRHtzhRrCSB3wh/Qy9CIyU="; 24 + hash = "sha256-Rlr6Ec6BEujTxQkQ9UP+6u0cYeFsJlj7U346MtRM6QM="; 25 25 }; 26 26 27 27 postPatch = ''
+2 -2
pkgs/development/python-modules/pyhaversion/default.nix
··· 11 11 12 12 buildPythonPackage rec { 13 13 pname = "pyhaversion"; 14 - version = "22.8.0"; 14 + version = "23.1.0"; 15 15 format = "setuptools"; 16 16 17 17 disabled = pythonOlder "3.8"; ··· 20 20 owner = "ludeeus"; 21 21 repo = pname; 22 22 rev = "refs/tags/${version}"; 23 - sha256 = "sha256-30UHbxs0WZyIVyq0ai2PsoPTkvoYawS1OBhVbV0JVN8="; 23 + sha256 = "sha256-HMJqZn0yzN2dP5WTRCbem1Xw8nyH2Hy7oVP4kEKHHAo="; 24 24 }; 25 25 26 26 propagatedBuildInputs = [
+27 -7
pkgs/development/python-modules/pyramid/default.nix
··· 13 13 , webob 14 14 , zope_deprecation 15 15 , zope_interface 16 + , pythonOlder 16 17 }: 17 18 18 19 buildPythonPackage rec { 19 20 pname = "pyramid"; 20 - version = "2.0"; 21 + version = "2.0.1"; 22 + format = "setuptools"; 23 + 24 + disabled = pythonOlder "3.7"; 21 25 22 26 src = fetchPypi { 23 27 inherit pname version; 24 - sha256 = "45431b387587ed0fac6213b54d6e9f0936f0cc85238a8f5af7852fc9484c5c77"; 28 + hash = "sha256-+r/XRQOeJq1bCRX8OW6HJcD4o9F7lB+WEezR7XbP59o="; 25 29 }; 26 30 27 - nativeCheckInputs = [ webtest zope_component ]; 31 + propagatedBuildInputs = [ 32 + hupper 33 + pastedeploy 34 + plaster 35 + plaster-pastedeploy 36 + repoze_lru 37 + translationstring 38 + venusian 39 + webob 40 + zope_deprecation 41 + zope_interface 42 + ]; 28 43 29 - propagatedBuildInputs = [ hupper pastedeploy plaster plaster-pastedeploy repoze_lru translationstring venusian webob zope_deprecation zope_interface ]; 44 + nativeCheckInputs = [ 45 + webtest 46 + zope_component 47 + ]; 30 48 31 - pythonImportsCheck = [ "pyramid" ]; 49 + pythonImportsCheck = [ 50 + "pyramid" 51 + ]; 32 52 33 53 meta = with lib; { 34 - description = "The Pyramid Web Framework, a Pylons project"; 54 + description = "Python web framework"; 35 55 homepage = "https://trypyramid.com/"; 56 + changelog = "https://github.com/Pylons/pyramid/blob/${version}/CHANGES.rst"; 36 57 license = licenses.bsd0; 37 58 maintainers = with maintainers; [ domenkozar ]; 38 59 }; 39 - 40 60 }
+2 -2
pkgs/development/python-modules/qimage2ndarray/default.nix
··· 5 5 6 6 buildPythonPackage rec { 7 7 pname = "qimage2ndarray"; 8 - version = "1.9.0"; 8 + version = "1.10.0"; 9 9 disabled = !isPy3k; 10 10 11 11 src = fetchPypi { 12 12 inherit pname version; 13 - sha256 = "sha256-p5B1xtDYRDxEIu6WmlQJ5E/QJUVxYEzOqHXGyV4/Veo="; 13 + sha256 = "sha256-NyUQJEbcimlrLsd1sdKvQ7E69qf56+6KNxFbuVQ6LFg="; 14 14 }; 15 15 16 16 propagatedBuildInputs = [
+2 -2
pkgs/development/python-modules/reportengine/default.nix
··· 16 16 17 17 buildPythonPackage rec { 18 18 pname = "reportengine"; 19 - version = "0.30.dev0"; 19 + version = "0.31"; 20 20 format = "pyproject"; 21 21 22 22 src = fetchPypi { 23 23 inherit pname version; 24 - sha256 = "eb612994b7f364e872301b4569b544648e95e587d803284ddb5610efc8f2170f"; 24 + sha256 = "sha256-jrt+ml8o1PUidV1bY0hCyNgcPaVTBloW574/i5Pl7iE="; 25 25 }; 26 26 27 27 nativeBuildInputs = [ flit ];
+2 -2
pkgs/development/tools/altair-graphql-client/default.nix
··· 2 2 3 3 let 4 4 pname = "altair"; 5 - version = "5.0.10"; 5 + version = "5.0.13"; 6 6 7 7 src = fetchurl { 8 8 url = "https://github.com/imolorhe/altair/releases/download/v${version}/altair_${version}_x86_64_linux.AppImage"; 9 - sha256 = "sha256-NrFkLZiqX21BSIuE8qF7lurNWKgmf7PAa/1IpPbcUf0="; 9 + sha256 = "sha256-kjAC21gZ3VKM+WFKV3tOPzIaG3t9rUSo2M3CEsA1q+I="; 10 10 }; 11 11 12 12 appimageContents = appimageTools.extract { inherit pname version src; };
+3 -3
pkgs/development/tools/azcopy/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "azure-storage-azcopy"; 5 - version = "10.16.2"; 5 + version = "10.17.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "Azure"; 9 9 repo = "azure-storage-azcopy"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-Pab4IYktNWWTudAY7Zx9dI+fRp0yihD78L0MmBHxeNY="; 11 + sha256 = "sha256-a25MA/fDjCvsKzEh34IM34TyXECJ0j07H9jr6JX1uc0="; 12 12 }; 13 13 14 14 subPackages = [ "." ]; 15 15 16 - vendorSha256 = "sha256-OlsNFhduilo8fJs/mynrAiwuXcfCZERdaJk3VcAUCJw="; 16 + vendorHash = "sha256-Cb4RVY+E8QcvxSworBujsvqSSGxFGfW0W7nFjmpfLQ8="; 17 17 18 18 doCheck = false; 19 19
+3 -3
pkgs/development/tools/ctlptl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "ctlptl"; 5 - version = "0.8.15"; 5 + version = "0.8.16"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "tilt-dev"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-JCBlP8ESCiqr4pk8QyG5CVs+3qSlnvw0jYS5R0Civk0="; 11 + hash = "sha256-JCBlP8ESCiqr4pk8QyG5CVs+3qSlnvw0jYS5R0Civk0="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-M9B/rfMBjYJb9szmYPVZqURlcv62qHOLJ3ka0v++z0s="; 14 + vendorHash = "sha256-M9B/rfMBjYJb9szmYPVZqURlcv62qHOLJ3ka0v++z0s="; 15 15 16 16 nativeBuildInputs = [ installShellFiles ]; 17 17
+3 -3
pkgs/development/tools/database/sqlcl/default.nix
··· 1 1 { lib, stdenv, makeWrapper, requireFile, unzip, jdk }: 2 2 3 3 let 4 - version = "22.3.1"; 5 - fileVersion = "1032109-01"; 4 + version = "22.4.0.342.1212"; 5 + fileVersion = "1032835-01"; 6 6 in 7 7 stdenv.mkDerivation { 8 8 ··· 37 37 38 38 nix-prefetch-url --type sha256 file:///path/to/${name} 39 39 ''; 40 - sha256 = "0yqj8m2zwl8m7zxrzjnbl2rqnl2imn5h1bfpnmklp03nkakbzjbn"; 40 + sha256 = "0i4xsj502s465fgmlcqn80r8rqzr11mv74x9fzrlbqmkkh5c782k"; 41 41 }; 42 42 43 43 nativeBuildInputs = [ makeWrapper unzip ];
+3 -3
pkgs/development/tools/jql/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "jql"; 5 - version = "5.1.4"; 5 + version = "5.1.6"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "yamafaktory"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-D6Y3I5UPChdLlTZ49iToQpE8CrHh3VjWV6PI7fRhU/A="; 11 + sha256 = "sha256-ybcX2dm+gnvhWAcraCq22uGqe8NdqNd8QMNKVkqgNqY="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-GqfQD8NK/HYODEGUmfo+MMVsWg2CabZFLfBTp4UXV2Q="; 14 + cargoHash = "sha256-GzRxXBDMALaXLhpklVoSn+8uCgws5AjkC+fynym0iYo="; 15 15 16 16 meta = with lib; { 17 17 description = "A JSON Query Language CLI tool built with Rust";
+3 -3
pkgs/development/tools/kafkactl/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "kafkactl"; 5 - version = "3.0.1"; 5 + version = "3.0.2"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "deviceinsight"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-lwyM2l4eBCtkyAtG51cEy29Jw/vakjrfYVBSZ9pIBFs="; 11 + sha256 = "sha256-ZEXW9nqkR0yuVIY9qr1RyKVE7tSlP59Xb4JZfdAK2To="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-ba7amhYuCB3k1esu1qYBCgUZMjlq5iac498TMqeGuz0="; 14 + vendorHash = "sha256-e7SJjDWcHPgupZujeRD3Zg6vFAudDC3V60R2B61fjGU="; 15 15 doCheck = false; 16 16 17 17 meta = with lib; {
+3 -3
pkgs/development/tools/kustomize/kustomize-sops.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "kustomize-sops"; 5 - version = "3.1.0"; 5 + version = "4.0.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "viaduct-ai"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-sufP/+YixgrOCJJ4P1SjmZpRlSaufRmnVDiv6H+RCyQ="; 11 + sha256 = "sha256-8CZcPZLainc7iRZ5Ul27QxW3oK7sikCjzCBEkfCeNUc="; 12 12 }; 13 13 14 - vendorHash = "sha256-WZb8VsFKpvvMys1iK3irEsWCnvKaKDzuyFertVswpdE="; 14 + vendorHash = "sha256-GBjMN6pyB+48e5LNqLBbh6a5fC9P0T53CZUPGNcbBDc="; 15 15 16 16 installPhase = '' 17 17 mkdir -p $out/lib/viaduct.ai/v1/ksops-exec/
+2 -2
pkgs/development/tools/marksman/default.nix
··· 8 8 9 9 buildDotnetModule rec { 10 10 pname = "marksman"; 11 - version = "2022-12-28"; 11 + version = "2023-01-29"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "artempyanykh"; 15 15 repo = "marksman"; 16 16 rev = version; 17 - sha256 = "sha256-IOmAOO45sD0TkphbHWLCXXyouxKNJoiNYHXV/bw0xH4="; 17 + sha256 = "sha256-UPPO4ueu7gMR7a573M2/xT3N0QgRSNBshJAqoyXEZpc="; 18 18 }; 19 19 20 20 projectFile = "Marksman/Marksman.fsproj";
+2 -2
pkgs/development/tools/mold/default.nix
··· 12 12 13 13 stdenv.mkDerivation rec { 14 14 pname = "mold"; 15 - version = "1.9.0"; 15 + version = "1.10.1"; 16 16 17 17 src = fetchFromGitHub { 18 18 owner = "rui314"; 19 19 repo = pname; 20 20 rev = "refs/tags/v${version}"; 21 - hash = "sha256-i4+MOEZWt+Qb05HgXcGR0uDuMoOAyMhVeLPQwnGiEw8="; 21 + hash = "sha256-5zE5a+BYzQjgVb0Ti7bSQrGzTyysOTTR0NMOO5IKG68="; 22 22 }; 23 23 24 24 nativeBuildInputs = [
+2 -2
pkgs/games/itchiodl/default.nix
··· 5 5 6 6 python3Packages.buildPythonApplication rec { 7 7 pname = "itchiodl"; 8 - version = "2.1.2"; 8 + version = "2.2.0"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "Emersont1"; 12 12 repo = "itchio"; 13 13 rev = "v${version}"; 14 - hash = "sha256-U9oLrocwVdTqTQ26/MMiYO++yFGdOjnn8g+ea1jCl/A="; 14 + hash = "sha256-tylMEsUdeMUuLcxRMkkJE7vPAVuqc/cVJ4DB3xmV+iA="; 15 15 }; 16 16 17 17 format = "pyproject";
+12 -53
pkgs/misc/dxvk/default.nix
··· 1 1 { lib 2 - , pkgs 3 2 , stdenvNoCC 4 3 , fetchFromGitHub 5 4 , pkgsCross 5 + , stdenv 6 + , bash 6 7 }: 7 8 8 9 stdenvNoCC.mkDerivation (finalAttrs: 9 10 let 10 - system = lib.toLower stdenvNoCC.targetPlatform.uname.system; 11 - 12 - # DXVK needs to be a separate derivation because it’s actually a set of DLLs for Windows that 13 - # needs to be built with a cross-compiler. 14 - dxvk32 = pkgsCross.mingw32.callPackage ./dxvk.nix { 15 - inherit (finalAttrs) src version dxvkPatches; 16 - }; 17 - dxvk64 = pkgsCross.mingwW64.callPackage ./dxvk.nix { 18 - inherit (finalAttrs) src version dxvkPatches; 19 - }; 20 - 21 - # Split out by platform to make maintenance easy in case supported versions on Darwin and other 22 - # platforms diverge (due to the need for Darwin-specific patches that would fail to apply). 23 - # Should that happen, set `darwin` to the last working `rev` and `hash`. 24 - srcs = rec { 25 - darwin = { 26 - rev = "v${finalAttrs.version}"; 27 - hash = "sha256-T93ZylxzJGprrP+j6axZwl2d3hJowMCUOKNjIyNzkmE="; 28 - version = "1.10.3"; 29 - }; 30 - default = { 31 - rev = "v${finalAttrs.version}"; 32 - hash = "sha256-mboVLdPgZMzmqyeF0jAloEz6xqfIDiY/X98e7l2KZnw="; 33 - version = "2.0"; 34 - }; 35 - }; 11 + dxvk32 = if stdenv.isDarwin then pkgsCross.mingw32.dxvk_1 else pkgsCross.mingw32.dxvk_2; 12 + dxvk64 = if stdenv.isDarwin then pkgsCross.mingwW64.dxvk_1 else pkgsCross.mingwW64.dxvk_2; 36 13 in 37 14 { 38 15 name = "dxvk"; 39 - inherit (srcs."${system}" or srcs.default) version; 40 - 41 - src = fetchFromGitHub { 42 - owner = "doitsujin"; 43 - repo = "dxvk"; 44 - inherit (srcs."${system}" or srcs.default) rev hash; 45 - }; 46 - 47 - # Override this to patch DXVK itself (rather than the setup script). 48 - dxvkPatches = lib.optionals stdenvNoCC.isDarwin [ 49 - # Patch DXVK to work with MoltenVK even though it doesn’t support some required features. 50 - # Some games work poorly (particularly Unreal Engine 4 games), but others work pretty well. 51 - ./darwin-dxvk-compat.patch 52 - # Use synchronization primitives from the C++ standard library to avoid deadlocks on Darwin. 53 - # See: https://www.reddit.com/r/macgaming/comments/t8liua/comment/hzsuce9/ 54 - ./darwin-thread-primitives.patch 55 - ]; 16 + inherit (dxvk64) version; 56 17 57 18 outputs = [ "out" "bin" "lib" ]; 58 19 59 - # Also copy `mcfgthread-12.dll` due to DXVK’s being built in a MinGW cross environment. 60 - patches = [ ./mcfgthread.patch ]; 61 - 20 + dontUnpack = true; 62 21 dontConfigure = true; 63 22 dontBuild = true; 64 23 65 24 installPhase = '' 66 25 mkdir -p $out/bin $bin $lib 67 - # Replace both basedir forms to support both DXVK 2.0 and older versions. 68 - substitute setup_dxvk.sh $out/bin/setup_dxvk.sh \ 26 + substitute ${./setup_dxvk.sh} $out/bin/setup_dxvk.sh \ 27 + --subst-var-by bash ${bash} \ 28 + --subst-var-by dxvk32 ${dxvk32} \ 29 + --subst-var-by dxvk64 ${dxvk64} \ 69 30 --subst-var-by mcfgthreads32 "${pkgsCross.mingw32.windows.mcfgthreads}" \ 70 - --subst-var-by mcfgthreads64 "${pkgsCross.mingwW64.windows.mcfgthreads}" \ 71 - --replace 'basedir=$(dirname "$(readlink -f $0)")' "basedir=$bin" \ 72 - --replace 'basedir="$(dirname "$(readlink -f "$0")")"' "basedir=$bin" 31 + --subst-var-by mcfgthreads64 "${pkgsCross.mingwW64.windows.mcfgthreads}" 73 32 chmod a+x $out/bin/setup_dxvk.sh 74 33 declare -A dxvks=( [x32]=${dxvk32} [x64]=${dxvk64} ) 75 34 for arch in "''${!dxvks[@]}"; do ··· 79 38 ''; 80 39 81 40 meta = { 82 - description = "A Vulkan-based translation layer for Direct3D 9/10/11"; 41 + description = "Setup script for DXVK"; 83 42 homepage = "https://github.com/doitsujin/dxvk"; 84 43 changelog = "https://github.com/doitsujin/dxvk/releases"; 85 44 maintainers = [ lib.maintainers.reckenrode ];
+67 -14
pkgs/misc/dxvk/dxvk.nix
··· 5 5 , meson 6 6 , ninja 7 7 , windows 8 - , src 9 - , version 8 + , dxvkVersion 10 9 , spirv-headers 11 10 , vulkan-headers 12 - , dxvkPatches 11 + , SDL2 12 + , glfw 13 + , pkgsBuildHost 14 + , sdl2Support ? true 15 + , glfwSupport ? false 13 16 }: 14 17 18 + # SDL2 and GLFW support are mutually exclusive. 19 + assert !sdl2Support || !glfwSupport; 20 + 15 21 let 16 22 # DXVK 2.0+ no longer vendors certain dependencies. This derivation also needs to build on Darwin, 17 23 # which does not currently support DXVK 2.0, so adapt conditionally for this situation. 18 - isDxvk2 = lib.versionAtLeast version "2.0"; 24 + isDxvk2 = lib.versionAtLeast (srcs.${dxvkVersion}.version) "2.0"; 25 + 26 + # DXVK has effectively the same build script regardless of platform. 27 + srcs = { 28 + "1.10" = rec { 29 + version = "1.10.3"; 30 + src = fetchFromGitHub { 31 + owner = "doitsujin"; 32 + repo = "dxvk"; 33 + rev = "v${version}"; 34 + hash = "sha256-T93ZylxzJGprrP+j6axZwl2d3hJowMCUOKNjIyNzkmE="; 35 + }; 36 + # These patches are required when using DXVK with Wine on Darwin. 37 + patches = lib.optionals stdenv.buildPlatform.isDarwin [ 38 + # Patch DXVK to work with MoltenVK even though it doesn’t support some required features. 39 + # Some games work poorly (particularly Unreal Engine 4 games), but others work pretty well. 40 + ./darwin-dxvk-compat.patch 41 + # Use synchronization primitives from the C++ standard library to avoid deadlocks on Darwin. 42 + # See: https://www.reddit.com/r/macgaming/comments/t8liua/comment/hzsuce9/ 43 + ./darwin-thread-primitives.patch 44 + ]; 45 + }; 46 + "2.1" = rec { 47 + version = "2.1"; 48 + src = fetchFromGitHub { 49 + owner = "doitsujin"; 50 + repo = "dxvk"; 51 + rev = "v${version}"; 52 + hash = "sha256-A4KR11brfQbR56dGt371MRwMN/H6HFAU8TlFC97/bRs="; 53 + fetchSubmodules = true; # Needed for the DirectX headers and libdisplay-info 54 + }; 55 + patches = [ ]; 56 + }; 57 + }; 58 + 59 + isWindows = stdenv.targetPlatform.uname.system == "Windows"; 60 + isCross = stdenv.hostPlatform != stdenv.targetPlatform; 19 61 in 20 62 stdenv.mkDerivation { 21 63 pname = "dxvk"; 22 - inherit src version; 64 + inherit (srcs.${dxvkVersion}) version src patches; 23 65 24 66 nativeBuildInputs = [ glslang meson ninja ]; 25 - buildInputs = [ windows.pthreads ] 26 - ++ lib.optionals isDxvk2 [ spirv-headers vulkan-headers ]; 67 + buildInputs = lib.optional isWindows [ windows.pthreads ] 68 + ++ lib.optionals isDxvk2 ( 69 + [ spirv-headers vulkan-headers ] 70 + ++ lib.optional (!isWindows && sdl2Support) SDL2 71 + ++ lib.optional (!isWindows && glfwSupport) glfw 72 + ); 27 73 28 - patches = dxvkPatches; 74 + postPatch = lib.optionalString isDxvk2 '' 75 + substituteInPlace "subprojects/libdisplay-info/tool/gen-search-table.py" \ 76 + --replace "/usr/bin/env python3" "${lib.getBin pkgsBuildHost.python3}/bin/python3" 77 + ''; 29 78 30 - preConfigure = lib.optionalString isDxvk2 '' 31 - ln -s ${lib.getDev spirv-headers}/include include/spirv/include 32 - ln -s ${lib.getDev vulkan-headers}/include include/vulkan/include 79 + # Build with the Vulkan SDK in nixpkgs. 80 + preConfigure = '' 81 + rm -rf include/spirv/include include/vulkan/include 82 + mkdir -p include/spirv/include include/vulkan/include 33 83 ''; 34 84 35 85 mesonFlags = ··· 38 88 in 39 89 [ 40 90 "--buildtype" "release" 41 - "--cross-file" "build-win${arch}.txt" 42 91 "--prefix" "${placeholder "out"}" 43 - ]; 92 + ] 93 + ++ lib.optionals isCross [ "--cross-file" "build-win${arch}.txt" ] 94 + ++ lib.optional glfwSupport "-Ddxvk_native_wsi=glfw"; 95 + 96 + doCheck = isDxvk2 && !isCross; 44 97 45 98 meta = { 46 99 description = "A Vulkan-based translation layer for Direct3D 9/10/11"; ··· 48 101 changelog = "https://github.com/doitsujin/dxvk/releases"; 49 102 maintainers = [ lib.maintainers.reckenrode ]; 50 103 license = lib.licenses.zlib; 51 - platforms = lib.platforms.windows; 104 + platforms = lib.platforms.windows ++ lib.optionals isDxvk2 lib.platforms.linux; 52 105 }; 53 106 }
-34
pkgs/misc/dxvk/mcfgthread.patch
··· 1 - diff --git a/setup_dxvk.sh b/setup_dxvk.sh 2 - index 3e63ecf0..87c04f23 100755 3 - --- a/setup_dxvk.sh 4 - +++ b/setup_dxvk.sh 5 - @@ -133,6 +133,8 @@ 6 - rm -v "${dstfile}" 7 - fi 8 - $file_cmd "${srcfile}" "${dstfile}" 9 - + elif [ "${4}" = "--force" ]; then 10 - + $file_cmd "${srcfile}" "${dstfile}" 11 - else 12 - echo "${dstfile}: File not found in wine prefix" >&2 13 - return 1 14 - @@ -170,12 +172,12 @@ 15 - } 16 - 17 - install() { 18 - - installFile "$win64_sys_path" "$dxvk_lib64" "$1" 19 - + installFile "$win64_sys_path" "$dxvk_lib64" "$1" "${2-}" 20 - inst64_ret="$?" 21 - 22 - inst32_ret=-1 23 - if $wow64; then 24 - - installFile "$win32_sys_path" "$dxvk_lib32" "$1" 25 - + installFile "$win32_sys_path" "$dxvk_lib32" "$1" "${2-}" 26 - inst32_ret="$?" 27 - fi 28 - 29 - @@ -214,3 +216,5 @@ 30 - 31 - $action d3d10core 32 - $action d3d11 33 - + 34 - +basedir="" dxvk_lib32=@mcfgthreads32@/bin dxvk_lib64=@mcfgthreads64@/bin $action mcfgthread-12 --force
+265
pkgs/misc/dxvk/setup_dxvk.sh
··· 1 + #!@bash@/bin/bash -e 2 + 3 + set -eu -o pipefail 4 + 5 + dxvk32_dir=@dxvk32@/bin 6 + dxvk64_dir=@dxvk64@/bin 7 + 8 + mcfgthreads32_dir=@mcfgthreads32@/bin 9 + mcfgthreads64_dir=@mcfgthreads64@/bin 10 + 11 + ## Defaults 12 + 13 + declare -A dlls=( 14 + [d3d9]="dxvk/d3d9.dll" 15 + [d3d10]="dxvk/d3d10.dll dxvk/d3d10_1.dll dxvk/d3d10core.dll" 16 + [d3d11]="dxvk/d3d11.dll" 17 + [dxgi]="dxvk/dxgi.dll" 18 + [mcfgthreads]="mcfgthreads/mcfgthread-12.dll" 19 + ) 20 + 21 + declare -A targets=([d3d9]=1 [d3d11]=1 [dxgi]=1 [mcfgthreads]=1) 22 + 23 + ## Command-line Parsing 24 + 25 + usage() { 26 + echo "DXVK @version@" 27 + echo "Set up Wine prefix with DXVK DLLs" 28 + echo 29 + echo "USAGE" 30 + echo " $0 [install|uninstall] [OPTIONS]" 31 + echo 32 + echo "COMMANDS" 33 + echo " install Copy the DXVK DLLs into the prefix" 34 + echo " uninstall Restore the backed up Wine DLLs in the prefix" 35 + echo 36 + echo "OPTIONS" 37 + echo " --with(out)-dxgi Copy DXVK DXGI DLL into prefix (default: with DXGI)" 38 + echo " --with(out)-d3d10 Copy D3D10 DLLs into prefix (default: without D3D10)" 39 + echo " -s, --symlink Symlink instead of copy" 40 + echo " -f, --force Create a Wine prefix even if it does not exist" 41 + echo " -p, --prefix <PREFIX> Wine prefix to manage (default: \$WINEPREFIX)" 42 + exit 1 43 + } 44 + 45 + case "$1" in 46 + uninstall|install) 47 + action=$1 48 + shift 49 + ;; 50 + -h|--help) 51 + usage 52 + ;; 53 + *) 54 + if [ ! -z "${1:-}" ]; then 55 + echo "Unrecognized command: $1" 56 + fi 57 + usage 58 + ;; 59 + esac 60 + 61 + 62 + do_symlink=false 63 + do_makeprefix=false 64 + 65 + while [ ! -z "${1:-}" ]; do 66 + case "$1" in 67 + --with-dxgi) 68 + targets[dxgi]=1 69 + ;; 70 + --without-dxgi) 71 + unset targets[dxgi] 72 + ;; 73 + --with-d3d10) 74 + targets[d3d10]=1 75 + ;; 76 + --without-d3d10) 77 + unset targets[d3d10] 78 + ;; 79 + -s|--symlink) 80 + do_symlink=true 81 + ;; 82 + --no-symlink) 83 + do_symlink=false 84 + ;; 85 + -f|--force) 86 + do_makeprefix=true 87 + ;; 88 + --no-force) 89 + do_makeprefix=false 90 + ;; 91 + -p|--prefix) 92 + shift 93 + if [ ! -z "${1:-}" ]; then 94 + WINEPREFIX=$1 95 + else 96 + echo "Required PREFIX missing" 97 + usage 98 + fi 99 + ;; 100 + -h|--help) 101 + usage 102 + ;; 103 + *) 104 + echo "Unrecognized option: $1" 105 + usage 106 + ;; 107 + esac 108 + shift 109 + done 110 + 111 + ## Get information on the Wine environment 112 + 113 + export WINEPREFIX=${WINEPREFIX:-"$HOME/.wine"} 114 + 115 + # check wine prefix before invoking wine, so that we 116 + # don't accidentally create one if the user screws up 117 + if ! $do_makeprefix && [ -n "$WINEPREFIX" ] && ! [ -f "$WINEPREFIX/system.reg" ]; then 118 + echo "$WINEPREFIX: Not a valid wine prefix." >&2 119 + exit 1 120 + fi 121 + 122 + export WINEDEBUG=-all 123 + # disable mscoree and mshtml to avoid downloading 124 + # wine gecko and mono 125 + export WINEDLLOVERRIDES="mscoree,mshtml=" 126 + 127 + wine="wine" 128 + wine64="wine64" 129 + wineboot="wineboot" 130 + 131 + # $PATH is the way for user to control where wine is located (including custom Wine versions). 132 + # Pure 64-bit Wine (non Wow64) requries skipping 32-bit steps. 133 + # In such case, wine64 and winebooot will be present, but wine binary will be missing, 134 + # however it can be present in other PATHs, so it shouldn't be used, to avoid versions mixing. 135 + wine_path=$(dirname "$(command -v $wineboot)") 136 + wow64=true 137 + if ! [ -f "$wine_path/$wine" ]; then 138 + wine=$wine64 139 + wow64=false 140 + fi 141 + 142 + # resolve 32-bit and 64-bit system32 path 143 + winever=$($wine --version | grep wine) 144 + if [ -z "$winever" ]; then 145 + echo "$wine: Not a wine executable. Check your $wine." >&2 146 + exit 1 147 + fi 148 + 149 + # ensure wine placeholder dlls are recreated 150 + # if they are missing 151 + $wineboot -u 152 + 153 + win64_sys_path=$($wine64 winepath -u 'C:\windows\system32' 2> /dev/null) 154 + win64_sys_path="${win64_sys_path/$'\r'/}" 155 + if $wow64; then 156 + win32_sys_path=$($wine winepath -u 'C:\windows\system32' 2> /dev/null) 157 + win32_sys_path="${win32_sys_path/$'\r'/}" 158 + fi 159 + 160 + if [ -z "${win32_sys_path:-}" ] && [ -z "${win64_sys_path:-}" ]; then 161 + echo 'Failed to resolve C:\windows\system32.' >&2 162 + exit 1 163 + fi 164 + 165 + ## Utility functions 166 + 167 + install_file() { 168 + $do_symlink && file_cmd="ln -sv" || file_cmd="install -m 755 -v" 169 + 170 + srcfile=$1 171 + dstfile=$2 172 + 173 + if [ -f "${srcfile}.so" ]; then 174 + srcfile="${srcfile}.so" 175 + fi 176 + 177 + if ! [ -f "${srcfile}" ]; then 178 + echo "${srcfile}: File not found. Skipping." >&2 179 + return 1 180 + fi 181 + 182 + if [ -n "$1" ]; then 183 + if [ -f "${dstfile}" ] || [ -h "${dstfile}" ]; then 184 + if ! [ -f "${dstfile}.old" ]; then 185 + mv -v "${dstfile}" "${dstfile}.old" 186 + else 187 + rm -v "${dstfile}" 188 + fi 189 + fi 190 + $file_cmd "${srcfile}" "${dstfile}" 191 + else 192 + echo "${dstfile}: File not found in wine prefix" >&2 193 + return 1 194 + fi 195 + } 196 + 197 + uninstall_file() { 198 + srcfile=$1 199 + dstfile=$2 200 + 201 + if [ -f "${srcfile}.so" ]; then 202 + srcfile="${srcfile}.so" 203 + fi 204 + 205 + if ! [ -f "${srcfile}" ]; then 206 + echo "${srcfile}: File not found. Skipping." >&2 207 + return 1 208 + fi 209 + 210 + if ! [ -f "${dstfile}" ] && ! [ -h "${dstfile}" ]; then 211 + echo "${dstfile}: File not found. Skipping." >&2 212 + return 1 213 + fi 214 + 215 + if [ -f "${dstfile}.old" ]; then 216 + rm -v "${dstfile}" 217 + mv -v "${dstfile}.old" "${dstfile}" 218 + return 0 219 + else 220 + return 1 221 + fi 222 + } 223 + 224 + install_override() { 225 + dll=$(basename "$1") 226 + $wine reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "$dll" /d native /f >/dev/null 2>&1 227 + if [ $? -ne 0 ]; then 228 + echo -e "Failed to add override for $dll" 229 + exit 1 230 + fi 231 + } 232 + 233 + uninstall_override() { 234 + dll=$(basename "$1") 235 + $wine reg delete 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v "$dll" /f > /dev/null 2>&1 236 + if [ $? -ne 0 ]; then 237 + echo "Failed to remove override for $dll" 238 + fi 239 + } 240 + 241 + ## Perform the requested command 242 + 243 + declare -A paths 244 + 245 + for target in "${!targets[@]}"; do 246 + [ ${targets[$target]} -eq 1 ] || continue 247 + for dll in ${dlls[$target]}; do 248 + dllname=$(basename "$dll") 249 + basedir=$(dirname "$dll") 250 + 251 + if [ ! -z "${win32_sys_path:-}" ]; then 252 + basedir32=${basedir}32_dir 253 + paths["${!basedir32}/$dllname"]="$win32_sys_path/$dllname" 254 + fi 255 + if [ ! -z "${win64_sys_path:-}" ]; then 256 + basedir64=${basedir}64_dir 257 + paths["${!basedir64}/$dllname"]="$win64_sys_path/$dllname" 258 + fi 259 + done 260 + done 261 + 262 + for srcpath in "${!paths[@]}"; do 263 + ${action}_file "$srcpath" "${paths["$srcpath"]}" 264 + ${action}_override "$(basename srcpath)" 265 + done
+32
pkgs/os-specific/linux/picoprobe-udev-rules/default.nix
··· 1 + { lib, stdenv, fetchurl }: 2 + 3 + ## Usage 4 + # In NixOS, simply add this package to services.udev.packages: 5 + # services.udev.packages = [ pkgs.picoprobe-udev-rules ]; 6 + 7 + stdenv.mkDerivation rec { 8 + pname = "picoprobe-udev-rules"; 9 + version = "unstable-2023-01-31"; 10 + 11 + src = fetchurl { 12 + url = "https://raw.githubusercontent.com/probe-rs/webpage/1cba61acc6ecb5ff96f74641269844ad88ad8ad5/static/files/69-probe-rs.rules"; 13 + sha256 = "sha256-vQMPX3Amttja0u03KWGnPDAVTGM9ekJ+IBTjW+xlJS0="; 14 + }; 15 + 16 + dontUnpack = true; 17 + dontBuild = true; 18 + 19 + installPhase = '' 20 + runHook preInstall 21 + install -D $src $out/lib/udev/rules.d/69-probe-rs.rules 22 + runHook postInstall 23 + ''; 24 + 25 + meta = with lib; { 26 + homepage = "https://probe.rs/docs/getting-started/probe-setup/#udev-rules"; 27 + description = "Picoprobe udev rules list"; 28 + platforms = platforms.linux; 29 + license = licenses.gpl2Only; 30 + maintainers = with maintainers; [ mglolenstine ]; 31 + }; 32 + }
+3 -3
pkgs/servers/headscale/default.nix
··· 6 6 }: 7 7 buildGoModule rec { 8 8 pname = "headscale"; 9 - version = "0.18.0"; 9 + version = "0.19.0"; 10 10 11 11 src = fetchFromGitHub { 12 12 owner = "juanfont"; 13 13 repo = "headscale"; 14 14 rev = "v${version}"; 15 - hash = "sha256-0viXsBRCiaxBTTKXJngSov5M7toscQUOdXDTr1l0U3I="; 15 + hash = "sha256-/KT3JZ/xYcKRynksWgsPsioCLTSxeQxr6WjRUzYXJcU="; 16 16 }; 17 17 18 - vendorHash = "sha256-SuKT+b8g6xEK15ry2IAmpS/vwDG+zJqK9nfsWpHNXuU="; 18 + vendorHash = "sha256-8p5NFxXKaZPsW4B6NMzfi0pqfVroIahSgA0fukvB3JI="; 19 19 20 20 ldflags = ["-s" "-w" "-X github.com/juanfont/headscale/cmd/headscale/cli.Version=v${version}"]; 21 21
+9 -9
pkgs/servers/heisenbridge/default.nix
··· 4 4 python = python3.override { 5 5 packageOverrides = self: super: { 6 6 mautrix = super.mautrix.overridePythonAttrs (oldAttrs: rec { 7 - version = "0.16.3"; 8 - src = oldAttrs.src.override { 9 - inherit (oldAttrs) pname; 10 - inherit version; 11 - hash = "sha256-OpHLh5pCzGooQ5yxAa0+85m/szAafV+l+OfipQcfLtU="; 7 + version = "0.16.10"; 8 + src = fetchFromGitHub { 9 + owner = "mautrix"; 10 + repo = "python"; 11 + rev = "v${version}"; 12 + hash = "sha256-YQsQ7M+mHcRdGUZp+mo46AlBmKSdmlgRdGieEG0Hu9k="; 12 13 }; 13 14 }); 14 15 }; 15 16 }; 16 - 17 - in python.pkgs.buildPythonApplication rec { 17 + in 18 + python.pkgs.buildPythonApplication rec { 18 19 pname = "heisenbridge"; 19 20 version = "1.13.1"; 20 21 ··· 30 31 ''; 31 32 32 33 propagatedBuildInputs = with python.pkgs; [ 33 - aiohttp 34 34 irc 35 + ruamel-yaml 35 36 mautrix 36 37 python-socks 37 - pyyaml 38 38 ]; 39 39 40 40 nativeCheckInputs = with python.pkgs; [
+2 -2
pkgs/servers/jackett/default.nix
··· 9 9 10 10 buildDotnetModule rec { 11 11 pname = "jackett"; 12 - version = "0.20.2732"; 12 + version = "0.20.2782"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = pname; 16 16 repo = pname; 17 17 rev = "v${version}"; 18 - hash = "sha512-h9vQ4OFXt3Fb7+2QSsXJh/uqy9glRFAZfZ8fdBqqna/59PV8GtItYWSJi7FhGVeFMX+WMQnsxG0/8Hq1z7akMA=="; 18 + hash = "sha512-qBstaZfBts2EfYVt+iU9QqIEVRfPIqt122NAMlS42yoV7iLqeXfK989Wm6FoYtTvvgtNpVJ9rLPNMSSH3AX3TQ=="; 19 19 }; 20 20 21 21 projectFile = "src/Jackett.Server/Jackett.Server.csproj";
+2 -2
pkgs/servers/komga/default.nix
··· 8 8 9 9 stdenvNoCC.mkDerivation rec { 10 10 pname = "komga"; 11 - version = "0.160.0"; 11 + version = "0.161.0"; 12 12 13 13 src = fetchurl { 14 14 url = "https://github.com/gotson/${pname}/releases/download/v${version}/${pname}-${version}.jar"; 15 - sha256 = "sha256-maNOiC+hFv/mniU1spZVZrUJETT5sgdi1OmbYR2smFk="; 15 + sha256 = "sha256-TZ/TxX9OgDGx8zD2mI8cTDPZSqBjkYN3Uy+W9MXbJOI="; 16 16 }; 17 17 18 18 nativeBuildInputs = [
+17 -18
pkgs/servers/mautrix-googlechat/default.nix
··· 1 - { fetchFromGitHub, fetchpatch 1 + { fetchFromGitHub 2 + , fetchpatch 2 3 , lib 3 4 , python3 4 - , protobuf3_20 5 - , enableE2be ? true, enableMetrics ? true, enableSqlite ? true 5 + , enableE2be ? true 6 + , enableMetrics ? true 7 + , enableSqlite ? true 6 8 }: python3.pkgs.buildPythonApplication rec { 7 9 pname = "mautrix-googlechat"; 8 - version = "0.4.0"; 10 + version = "unstable-2023-01-25"; 9 11 10 12 src = fetchFromGitHub { 11 13 owner = "mautrix"; 12 14 repo = "googlechat"; 13 - rev = "v${version}"; 14 - sha256 = "sha256-UVWYT0HTOUEkBG0n6KNhCSSO/2PAF1rIvCaw478z+q0="; 15 + rev = "e2eb528745466468f059c506c22e500e0cd832aa"; 16 + sha256 = "sha256-FNlEHzuy89RuFUwZPmVA+4AmpQHGD+18BguGC6qBdBM="; 15 17 }; 16 18 17 19 patches = [ ··· 24 26 }) 25 27 ]; 26 28 27 - doCheck = false; 28 - 29 - postPatch = '' 30 - sed -i requirements.txt \ 31 - -e 's/asyncpg>=.*/asyncpg/' 32 - ''; 33 - 34 29 baseConfigPath = "share/mautrix-googlechat/example-config.yaml"; 35 30 postInstall = '' 36 31 rm $out/example-config.yaml ··· 43 38 pycryptodome 44 39 unpaddedbase64 45 40 ]; 46 - metrics = [ prometheus-client ]; 47 - sqlite = [ aiosqlite ]; 41 + metrics = [ 42 + prometheus-client 43 + ]; 44 + sqlite = [ 45 + aiosqlite 46 + ]; 48 47 }; 49 48 50 49 propagatedBuildInputs = with python3.pkgs; [ ··· 54 53 ruamel-yaml 55 54 CommonMark 56 55 python-magic 57 - (protobuf.override { 58 - protobuf = protobuf3_20; 59 - }) 56 + protobuf3 60 57 mautrix 61 58 ] ++ lib.optionals enableE2be passthru.optional-dependencies.e2be 62 59 ++ lib.optionals enableMetrics passthru.optional-dependencies.metrics 63 60 ++ lib.optionals enableSqlite passthru.optional-dependencies.sqlite; 61 + 62 + doCheck = false; 64 63 65 64 meta = with lib; { 66 65 homepage = "https://github.com/mautrix/googlechat";
+14 -6
pkgs/servers/mautrix-signal/default.nix
··· 11 11 sha256 = "sha256-UbetU1n9zD/mVFaJc9FECDq/Zell1TI/aYPsGXGB8Js="; 12 12 }; 13 13 14 + postPatch = '' 15 + # the version mangling in mautrix_signal/get_version.py interacts badly with pythonRelaxDepsHook 16 + substituteInPlace setup.py \ 17 + --replace 'version=version' 'version="${version}"' 18 + ''; 19 + 20 + nativeBuildInputs = with python3.pkgs; [ 21 + pythonRelaxDepsHook 22 + ]; 23 + 24 + pythonRelaxDeps = [ 25 + "mautrix" 26 + ]; 27 + 14 28 propagatedBuildInputs = with python3.pkgs; [ 15 29 CommonMark 16 30 aiohttp ··· 30 44 ]; 31 45 32 46 doCheck = false; 33 - 34 - postPatch = '' 35 - substituteInPlace requirements.txt \ 36 - --replace "asyncpg>=0.20,<0.26" "asyncpg>=0.20" \ 37 - --replace "mautrix>=0.16.0,<0.17" "mautrix>=0.16.0" 38 - ''; 39 47 40 48 postInstall = '' 41 49 mkdir -p $out/bin
+16 -8
pkgs/servers/mautrix-telegram/default.nix
··· 9 9 python = python3.override { 10 10 packageOverrides = self: super: { 11 11 tulir-telethon = self.telethon.overridePythonAttrs (oldAttrs: rec { 12 - version = "1.27.0a1"; 12 + version = "1.27.0a7"; 13 13 pname = "tulir-telethon"; 14 14 src = super.fetchPypi { 15 15 inherit pname version; 16 - sha256 = "sha256-tABAY4UlTyMK1ZafIFawegjBAtcnq3HMNbE1L6WaT3E="; 16 + sha256 = "sha256-w4WILvLvJBKf3Nlj0omTCDDD4z+b0XFlCplQ/IHwIPs="; 17 17 }; 18 18 doCheck = false; 19 19 }); 20 20 }; 21 21 }; 22 - in python.pkgs.buildPythonPackage rec { 22 + in 23 + python.pkgs.buildPythonPackage rec { 23 24 pname = "mautrix-telegram"; 24 - version = "0.12.2"; 25 + version = "unstable-2023-01-28"; 25 26 disabled = python.pythonOlder "3.8"; 26 27 27 28 src = fetchFromGitHub { 28 29 owner = "mautrix"; 29 30 repo = "telegram"; 30 - rev = "v${version}"; 31 - sha256 = "sha256-htCk0VLr6GfXbpYWF/2bmpko7gSVlkH6HwDjOMhW8is="; 31 + rev = "f12abbe03846fd5897d58572ab24b70a58b337d2"; 32 + sha256 = "sha256-5ZZ85FOmTO26q2zhAIsF7mTlN4BLNLW2dQF+0culkUM="; 32 33 }; 34 + 35 + format = "setuptools"; 33 36 34 37 patches = [ ./0001-Re-add-entrypoint.patch ]; 35 38 ··· 43 46 tulir-telethon 44 47 asyncpg 45 48 Mako 46 - # optional 49 + # speedups 47 50 cryptg 48 - cchardet 49 51 aiodns 50 52 brotli 53 + # qr_login 51 54 pillow 52 55 qrcode 56 + # formattednumbers 53 57 phonenumbers 58 + # metrics 54 59 prometheus-client 60 + # sqlite 55 61 aiosqlite 56 62 ] ++ lib.optionals withHQthumbnails [ 63 + # hq_thumbnails 57 64 moviepy 58 65 ] ++ lib.optionals withE2BE [ 66 + # e2be 59 67 python-olm 60 68 pycryptodome 61 69 unpaddedbase64
+3 -3
pkgs/servers/monitoring/prometheus/redis-exporter.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "redis_exporter"; 5 - version = "1.45.0"; 5 + version = "1.46.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "oliver006"; 9 9 repo = "redis_exporter"; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-5KiqVrhb/yEaxgLJ3SB/WHNOfCbPzfJcgdPZ2kuNFEY="; 11 + sha256 = "sha256-5OZ4DuGIVMw0Yvd4JC+dbX01RAUAZHmROzl+7Pd6+tc="; 12 12 }; 13 13 14 - vendorSha256 = "sha256-SBag82QLLPeGowt10edaAnUWI36i71Ps0pdixiAXVB8="; 14 + vendorHash = "sha256-p6C/j1591cmPtIvBH1022YRkfBo07KQ8fqUwJ5YIUn8="; 15 15 16 16 ldflags = [ 17 17 "-X main.BuildVersion=${version}"
+3 -3
pkgs/servers/monitoring/prometheus/zfs-exporter.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "zfs_exporter"; 8 - version = "2.2.5"; 8 + version = "2.2.7"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "pdf"; 12 12 repo = pname; 13 13 rev = "v" + version; 14 - hash = "sha256-FY3P2wmNWyr7mImc1PJs1G2Ae8rZvDzq0kRZfiRTzyc="; 14 + hash = "sha256-bc9bmGrRGhm58JzrVLLJBUc1zaGXqz2fqx+ZphidFbc="; 15 15 }; 16 16 17 - vendorSha256 = "sha256-jQiw3HlqWcsjdadDdovCsDMBB3rnWtacfbtzDb5rc9c="; 17 + vendorHash = "sha256-jQiw3HlqWcsjdadDdovCsDMBB3rnWtacfbtzDb5rc9c="; 18 18 19 19 postInstall = '' 20 20 install -Dm444 -t $out/share/doc/${pname} *.md
+3 -3
pkgs/servers/pocketbase/default.nix
··· 5 5 6 6 buildGoModule rec { 7 7 pname = "pocketbase"; 8 - version = "0.11.3"; 8 + version = "0.12.0"; 9 9 10 10 src = fetchFromGitHub { 11 11 owner = "pocketbase"; 12 12 repo = pname; 13 13 rev = "v${version}"; 14 - sha256 = "sha256-M55IylFGAKy9TEIyLSHGbf9FjU5OjvoHjwYkiS31Zpk="; 14 + sha256 = "sha256-Ptp01SnVqQ+qFxX4Qsoyw9bkw+inm9gMSRqtmAcFlVE="; 15 15 }; 16 16 17 - vendorHash = "sha256-D8nFoTggxYNj7ZSY1rvA4YSJHbB7wwpPSu1g+S3c1C0="; 17 + vendorHash = "sha256-8NBudXcU3cjSbo6qpGZVLtbrLedzwijwrbiTgC+OMcU="; 18 18 19 19 # This is the released subpackage from upstream repo 20 20 subPackages = [ "examples/base" ];
+5 -5
pkgs/servers/redpanda/default.nix
··· 1 1 { lib, stdenv, fetchzip }: 2 2 3 3 let 4 - version = "22.3.5"; 4 + version = "22.3.11"; 5 5 platform = if stdenv.isLinux then "linux" else "darwin"; 6 6 arch = if stdenv.isAarch64 then "arm" else "amd"; 7 7 sha256s = { 8 - darwin.amd = "sha256-AXk3aP1SGiHTfHTCBRTagX0DAVmdcVVIkxWaTnZxB8g="; 9 - darwin.arm = "sha256-pvOVvNc8lZ2d2fVZVYWvumVWYpnLORNY/3o1t4BN2N4="; 10 - linux.amd = "sha256-wsUuSCstYucjMpFsqssPGEhm3zCrAdE9Mldtkypbthg="; 11 - linux.arm = "sha256-WHjYAbytiu747jFqN0KZ/CkIwAVI7fb32ywtRiQOBm8="; 8 + darwin.amd = "sha256-kwAKxFg7BSNInvsQvFqgtpq8EEwSnmDeDyaF5b8L8SQ="; 9 + darwin.arm = "sha256-kH5Ii672SeAIiRcWuAO3oVJVSBWp+r78RmTiR3BaDbg="; 10 + linux.amd = "sha256-EKgkRKBrM4+X2YGoP2LpWRHL+fdHu44LYwCZ+O+c5ZY="; 11 + linux.arm = "sha256-9b4oerRXjUVUYoswJWtnMBJSQDoCKClf673VjDQFUAw="; 12 12 }; 13 13 in stdenv.mkDerivation rec { 14 14 pname = "redpanda";
+31
pkgs/servers/sql/postgresql/ext/pgaudit.nix
··· 1 + { lib, stdenv, fetchFromGitHub, libkrb5, openssl, postgresql }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "pgaudit"; 5 + version = "1.7.0"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "pgaudit"; 9 + repo = "pgaudit"; 10 + rev = version; 11 + hash = "sha256-8pShPr4HJaJQPjW1iPJIpj3CutTx8Tgr+rOqoXtgCcw="; 12 + }; 13 + 14 + buildInputs = [ libkrb5 openssl postgresql ]; 15 + 16 + makeFlags = [ "USE_PGXS=1" ]; 17 + 18 + installPhase = '' 19 + install -D -t $out/lib *.so 20 + install -D -t $out/share/postgresql/extension *.sql 21 + install -D -t $out/share/postgresql/extension *.control 22 + ''; 23 + 24 + meta = with lib; { 25 + description = "Open Source PostgreSQL Audit Logging"; 26 + homepage = "https://github.com/pgaudit/pgaudit"; 27 + maintainers = with maintainers; [ idontgetoutmuch ]; 28 + platforms = postgresql.meta.platforms; 29 + license = licenses.postgresql; 30 + }; 31 + }
+2
pkgs/servers/sql/postgresql/packages.nix
··· 24 24 25 25 pg_similarity = super.callPackage ./ext/pg_similarity.nix { }; 26 26 27 + pgaudit = super.callPackage ./ext/pgaudit.nix { }; 28 + 27 29 pgroonga = super.callPackage ./ext/pgroonga.nix { }; 28 30 29 31 pgvector = super.callPackage ./ext/pgvector.nix { };
+6 -4
pkgs/servers/tracing/honeycomb/honeymarker/default.nix
··· 1 - { lib, buildGoModule, fetchurl }: 1 + { lib, buildGoModule, fetchFromGitHub }: 2 2 import ./versions.nix ({version, sha256}: 3 3 buildGoModule { 4 4 pname = "honeymarker"; 5 5 inherit version; 6 6 vendorSha256 = "sha256-ZuDobjC/nizZ7G0o/zVTQmDfDjcdBhfPcmkhgwFc7VU="; 7 7 8 - src = fetchurl { 9 - url = "https://github.com/honeycombio/honeymarker/archive/refs/tags/v${version}.tar.gz"; 10 - inherit sha256; 8 + src = fetchFromGitHub { 9 + owner = "honeycombio"; 10 + repo = "honeymarker"; 11 + rev = "v${version}"; 12 + hash = sha256; 11 13 }; 12 14 inherit (buildGoModule.go) GOOS GOARCH; 13 15
+1 -1
pkgs/servers/tracing/honeycomb/honeymarker/versions.nix
··· 1 1 generic: { 2 2 v0_2_1 = generic { 3 3 version = "0.2.1"; 4 - sha256 = "0gp427bsc1y7k6j1sqgl8r3kng5b0qhmqd4bpfb9139ivmp2sykk"; 4 + sha256 = "sha256-tiwX94CRvXnUYpiux94XhOj2abn1Uc+wjcDOmw79ab4="; 5 5 }; 6 6 }
+6 -4
pkgs/servers/tracing/honeycomb/honeytail/default.nix
··· 1 - { lib, buildGoModule, fetchurl }: 1 + { lib, buildGoModule, fetchFromGitHub }: 2 2 import ./versions.nix ({version, sha256}: 3 3 buildGoModule { 4 4 pname = "honeytail"; 5 5 inherit version; 6 6 vendorSha256 = "sha256-LtiiLGLjhbfT49A6Fw5CbSbnmTHMxtcUssr+ayCVrvY="; 7 7 8 - src = fetchurl { 9 - url = "https://github.com/honeycombio/honeytail/archive/refs/tags/v${version}.tar.gz"; 10 - inherit sha256; 8 + src = fetchFromGitHub { 9 + owner = "honeycombio"; 10 + repo = "honeytail"; 11 + rev = "v${version}"; 12 + hash = sha256; 11 13 }; 12 14 inherit (buildGoModule.go) GOOS GOARCH; 13 15
+1 -1
pkgs/servers/tracing/honeycomb/honeytail/versions.nix
··· 1 1 generic: { 2 2 v1_6_0 = generic { 3 3 version = "1.6.0"; 4 - sha256 = "039svpvqjck7s3rq86s29xgcyxl1wr0zj90s3jsyp058zk1dgwdy"; 4 + sha256 = "sha256-S0hIgNNzF1eNe+XJs+PT7EUIl5oJCXu+B/zQago4sf8="; 5 5 }; 6 6 }
+6 -4
pkgs/servers/tracing/honeycomb/honeyvent/default.nix
··· 1 - { lib, buildGoModule, fetchurl }: 1 + { lib, buildGoModule, fetchFromGitHub }: 2 2 import ./versions.nix ({version, sha256}: 3 3 buildGoModule { 4 4 pname = "honeyvent"; 5 5 inherit version; 6 6 vendorSha256 = null; 7 7 8 - src = fetchurl { 9 - url = "https://github.com/honeycombio/honeyvent/archive/refs/tags/v${version}.tar.gz"; 10 - inherit sha256; 8 + src = fetchFromGitHub { 9 + owner = "honeycombio"; 10 + repo = "honeyvent"; 11 + rev = "v${version}"; 12 + hash = sha256; 11 13 }; 12 14 inherit (buildGoModule.go) GOOS GOARCH; 13 15
+1 -1
pkgs/servers/tracing/honeycomb/honeyvent/versions.nix
··· 1 1 generic: { 2 2 v1_1_0 = generic { 3 3 version = "1.1.0"; 4 - sha256 = "0ar2m25ngdd1wk7d70j2781wbrvhjhf9cj9qvp24jjrhqng6hvn7"; 4 + sha256 = "sha256-yFQEOshjaH6fRCQ7IZChANI9guZlTXk35p1NzQvxUdI="; 5 5 }; 6 6 }
+1
pkgs/servers/web-apps/discourse/plugins/all-plugins.nix
··· 18 18 discourse-oauth2-basic = callPackage ./discourse-oauth2-basic {}; 19 19 discourse-openid-connect = callPackage ./discourse-openid-connect {}; 20 20 discourse-prometheus = callPackage ./discourse-prometheus {}; 21 + discourse-reactions = callPackage ./discourse-reactions {}; 21 22 discourse-saved-searches = callPackage ./discourse-saved-searches {}; 22 23 discourse-solved = callPackage ./discourse-solved {}; 23 24 discourse-spoiler-alert = callPackage ./discourse-spoiler-alert {};
+17
pkgs/servers/web-apps/discourse/plugins/discourse-reactions/default.nix
··· 1 + { lib, mkDiscoursePlugin, fetchFromGitHub }: 2 + 3 + mkDiscoursePlugin { 4 + name = "discourse-reactions"; 5 + src = fetchFromGitHub { 6 + owner = "discourse"; 7 + repo = "discourse-reactions"; 8 + rev = "3afaabc8e430dfe655be4efbbcb20ab7f0c7c8d3"; 9 + sha256 = "sha256-CdrInrPFDpvYW7j0epIeAFUoPGTbmMOGdm2DpkIQBbs="; 10 + }; 11 + meta = with lib; { 12 + homepage = "https://github.com/discourse/discourse-reactions"; 13 + maintainers = with maintainers; [ bbenno ]; 14 + license = licenses.mit; 15 + description = "Allows users to react to a post from a choice of emojis, rather than only the like heart"; 16 + }; 17 + }
+2 -1
pkgs/servers/web-apps/discourse/update.py
··· 294 294 {'name': 'discourse-ldap-auth', 'owner': 'jonmbake'}, 295 295 {'name': 'discourse-math'}, 296 296 {'name': 'discourse-migratepassword', 'owner': 'discoursehosting'}, 297 + {'name': 'discourse-openid-connect'}, 297 298 {'name': 'discourse-prometheus'}, 298 - {'name': 'discourse-openid-connect'}, 299 + {'name': 'discourse-reactions'}, 299 300 {'name': 'discourse-saved-searches'}, 300 301 {'name': 'discourse-solved'}, 301 302 {'name': 'discourse-spoiler-alert'},
+3 -3
pkgs/tools/admin/procs/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "procs"; 5 - version = "0.13.3"; 5 + version = "0.13.4"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "dalance"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-JVxlfwCA+EetV4QYB6uEKe1yWt3sCvMPZwyIr6Td7Bw="; 11 + sha256 = "sha256-PTUATmnpJGeY0Ushf7sAapsZ51VC2IdnKMzYJX5+h9A="; 12 12 }; 13 13 14 - cargoSha256 = "sha256-uUxwQIQTzQkKgR4F4sf4J1G2LaXiGbIvA6VM55zLK2E="; 14 + cargoHash = "sha256-jxGdozSEIop2jBL4lK3ZcEuuR7P8qDoQD/Lrl4yaBN0="; 15 15 16 16 nativeBuildInputs = [ installShellFiles ]; 17 17
+2 -2
pkgs/tools/admin/syft/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "syft"; 5 - version = "0.68.1"; 5 + version = "0.69.0"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "anchore"; 9 9 repo = pname; 10 10 rev = "v${version}"; 11 - sha256 = "sha256-iOJnSeVRAjmJblaipmk05J9BvAkYgyS1OA8b3xDykXc="; 11 + hash = "sha256-nwS5Oar8ck9StNJtbnZoRv3/v/fYKq/RXVl7CPWBfGY="; 12 12 # populate values that require us to use git. By doing this in postFetch we 13 13 # can delete .git afterwards and maintain better reproducibility of the src. 14 14 leaveDotGit = true;
+2 -2
pkgs/tools/archivers/xarchiver/default.nix
··· 2 2 coreutils, zip, unzip, p7zip, unar, gnutar, bzip2, gzip, lhasa, wrapGAppsHook }: 3 3 4 4 stdenv.mkDerivation rec { 5 - version = "0.5.4.19"; 5 + version = "0.5.4.20"; 6 6 pname = "xarchiver"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "ib"; 10 10 repo = "xarchiver"; 11 11 rev = version; 12 - sha256 = "sha256-YCfjOGbjjv4ntNDK3E49hYCVYDhMsRBJ7zsHt8hqQ7Y="; 12 + sha256 = "sha256-OzcfIFYaWez2B1lmAYvhm+knuYbyMu2ohs+kGEVG7K0="; 13 13 }; 14 14 15 15 nativeBuildInputs = [ intltool pkg-config makeWrapper wrapGAppsHook ];
+2 -2
pkgs/tools/backup/pgbackrest/default.nix
··· 13 13 }: 14 14 stdenv.mkDerivation rec { 15 15 pname = "pgbackrest"; 16 - version = "2.43"; 16 + version = "2.44"; 17 17 18 18 src = fetchFromGitHub { 19 19 owner = "pgbackrest"; 20 20 repo = "pgbackrest"; 21 21 rev = "release/${version}"; 22 - sha256 = "sha256-JZHE68d8fzqr0kI35TxoVB3Frt/v22xkZexfzhkqzBU="; 22 + sha256 = "sha256-N56HUW1JZNvaqzU01xaZ8BsFA2KW4z8ixulPngYCIY0="; 23 23 }; 24 24 25 25 nativeBuildInputs = [ pkg-config ];
+3 -3
pkgs/tools/networking/pritunl-client/default.nix
··· 2 2 3 3 buildGoModule rec { 4 4 pname = "pritunl-client"; 5 - version = "1.3.3373.6"; 5 + version = "1.3.3420.31"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "pritunl"; 9 9 repo = "pritunl-client-electron"; 10 10 rev = version; 11 - sha256 = "sha256-Ttg6SNDcNIQlbNnKQY32hmsrgLhzHkeQfwlmCHe0bI0="; 11 + sha256 = "sha256-FKLYpn2HeAVGN9OjLowv2BJRLZKReqXLPFvbin/jaBo="; 12 12 }; 13 13 14 14 modRoot = "cli"; 15 - vendorSha256 = "sha256-fI2RIzvfbqBgchsvY8hsiecXYItM2XX9h8oiP3zmfTA="; 15 + vendorHash = "sha256-fI2RIzvfbqBgchsvY8hsiecXYItM2XX9h8oiP3zmfTA="; 16 16 17 17 postInstall = '' 18 18 mv $out/bin/cli $out/bin/pritunl-client
+2 -2
pkgs/tools/nix/info/info.sh
··· 70 70 } 71 71 72 72 desc_system() { 73 - nixev '(import <nixpkgs> {}).stdenv.hostPlatform.system' 73 + nixev 'builtins.currentSystem' 74 74 } 75 75 76 76 desc_host_os() { ··· 98 98 } 99 99 100 100 desc_nixpkgs_path() { 101 - nixev '<nixpkgs>' 101 + nixev '<nixpkgs>' 2>/dev/null || echo "not found" 102 102 } 103 103 104 104 channel_facts() {
+3 -3
pkgs/tools/text/igrep/default.nix
··· 9 9 10 10 rustPlatform.buildRustPackage rec { 11 11 pname = "igrep"; 12 - version = "1.0.0"; 12 + version = "1.1.0"; 13 13 14 14 src = fetchFromGitHub { 15 15 owner = "konradsz"; 16 16 repo = "igrep"; 17 17 rev = "v${version}"; 18 - sha256 = "sha256-pXgmbSmOLeAtI7pP0X9go4KnlLv4RChBQNCPYeG4Q84="; 18 + sha256 = "sha256-g6DY3+HwBNQ+jxByXyTJK5CjAaC48FpmsDf1qGGO/Lk="; 19 19 }; 20 20 21 - cargoHash = "sha256-n1AVD6PuZFdZbTuGxNHvR6ngoVmSAixabcJl6nIcyP0="; 21 + cargoHash = "sha256-7cSUIwWyWPxFDuRWplidbI93zbBV84T7e4Q//Uwj6N4="; 22 22 23 23 buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 24 24
+3 -3
pkgs/tools/text/mdbook-open-on-gh/default.nix
··· 2 2 3 3 rustPlatform.buildRustPackage rec { 4 4 pname = "mdbook-open-on-gh"; 5 - version = "2.3.0"; 5 + version = "2.3.1"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "badboy"; 9 9 repo = pname; 10 10 rev = version; 11 - hash = "sha256-omQTyJ7XKRBjX8jyWLONajAYnwr93nElrwDLdvs2MxM="; 11 + hash = "sha256-uXfvE34yRrTUjh/HTMvOeZVxX4Drt6sxziaazg0CR3I="; 12 12 }; 13 13 14 - cargoHash = "sha256-57KcqALWbiGtp6HWSN42gZ0St38oHu3inZ0TT77j7go="; 14 + cargoHash = "sha256-ol06ErggVLw2ThpXq9NRWEr7ymDSEBN4ae5zUmHKa7k="; 15 15 16 16 meta = with lib; { 17 17 description = "mdbook preprocessor to add a open-on-github link on every page";
+8
pkgs/top-level/all-packages.nix
··· 21477 21477 21478 21478 libopusenc = callPackage ../development/libraries/libopusenc { }; 21479 21479 21480 + liboqs = callPackage ../development/libraries/liboqs { }; 21481 + 21480 21482 libosinfo = callPackage ../development/libraries/libosinfo { }; 21481 21483 21482 21484 libosip = callPackage ../development/libraries/osip {}; ··· 26330 26332 pcstat = callPackage ../tools/system/pcstat { }; 26331 26333 26332 26334 perf-tools = callPackage ../os-specific/linux/perf-tools { }; 26335 + 26336 + picoprobe-udev-rules = callPackage ../os-specific/linux/picoprobe-udev-rules { }; 26333 26337 26334 26338 pipes = callPackage ../misc/screensavers/pipes { }; 26335 26339 ··· 37304 37308 dump = callPackage ../tools/backup/dump { }; 37305 37309 37306 37310 dxvk = callPackage ../misc/dxvk { }; 37311 + dxvk_1 = callPackage ../misc/dxvk/dxvk.nix { dxvkVersion = "1.10"; }; 37312 + dxvk_2 = callPackage ../misc/dxvk/dxvk.nix { dxvkVersion = "2.1"; }; 37307 37313 37308 37314 ecdsatool = callPackage ../tools/security/ecdsatool { }; 37309 37315 ··· 38872 38878 xsos = callPackage ../os-specific/linux/xsos { }; 38873 38879 38874 38880 xmcp = callPackage ../tools/X11/xmcp { }; 38881 + 38882 + yesplaymusic = callPackage ../applications/audio/yesplaymusic { }; 38875 38883 38876 38884 ymuse = callPackage ../applications/audio/ymuse { }; 38877 38885
+2
pkgs/top-level/python-packages.nix
··· 6655 6655 6656 6656 openrouteservice = callPackage ../development/python-modules/openrouteservice { }; 6657 6657 6658 + opensearch-py = callPackage ../development/python-modules/opensearch-py { }; 6659 + 6658 6660 opensensemap-api = callPackage ../development/python-modules/opensensemap-api { }; 6659 6661 6660 6662 opensfm = callPackage ../development/python-modules/opensfm { };