Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2023-04-01 18:01:35 +00:00 committed by GitHub
commit 75808a4bf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
53 changed files with 472 additions and 246 deletions

View file

@ -909,6 +909,13 @@ in mkLicense lset) ({
url = "https://github.com/thestk/stk/blob/master/LICENSE"; url = "https://github.com/thestk/stk/blob/master/LICENSE";
}; };
tsl = {
shortName = "TSL";
fullName = "Timescale License Agreegment";
url = "https://github.com/timescale/timescaledb/blob/main/tsl/LICENSE-TIMESCALE";
unfree = true;
};
tcltk = { tcltk = {
spdxId = "TCL"; spdxId = "TCL";
fullName = "TCL/TK License"; fullName = "TCL/TK License";

View file

@ -26,6 +26,8 @@ let
nvidiaPersistencedEnabled = cfg.nvidiaPersistenced; nvidiaPersistencedEnabled = cfg.nvidiaPersistenced;
nvidiaSettings = cfg.nvidiaSettings; nvidiaSettings = cfg.nvidiaSettings;
busIDType = types.strMatching "([[:print:]]+[\:\@][0-9]{1,3}\:[0-9]{1,2}\:[0-9])?"; busIDType = types.strMatching "([[:print:]]+[\:\@][0-9]{1,3}\:[0-9]{1,2}\:[0-9])?";
ibtSupport = cfg.open || (nvidia.ibtSupport or false);
in in
{ {
@ -462,7 +464,7 @@ in
boot.kernelParams = optional (offloadCfg.enable || cfg.modesetting.enable) "nvidia-drm.modeset=1" boot.kernelParams = optional (offloadCfg.enable || cfg.modesetting.enable) "nvidia-drm.modeset=1"
++ optional cfg.powerManagement.enable "nvidia.NVreg_PreserveVideoMemoryAllocations=1" ++ optional cfg.powerManagement.enable "nvidia.NVreg_PreserveVideoMemoryAllocations=1"
++ optional cfg.open "nvidia.NVreg_OpenRmEnableUnsupportedGpus=1" ++ optional cfg.open "nvidia.NVreg_OpenRmEnableUnsupportedGpus=1"
++ optional (!cfg.open && config.boot.kernelPackages.kernel.kernelAtLeast "6.2" && lib.versionOlder nvidia_x11.version "530") "ibt=off"; ++ optional (config.boot.kernelPackages.kernel.kernelAtLeast "6.2" && !ibtSupport) "ibt=off";
services.udev.extraRules = services.udev.extraRules =
'' ''

View file

@ -22,13 +22,13 @@
let let
# when bumping the version, check if imhex has gotten support for the capstone version in nixpkgs # when bumping the version, check if imhex has gotten support for the capstone version in nixpkgs
version = "1.26.2"; version = "1.27.1";
patterns_src = fetchFromGitHub { patterns_src = fetchFromGitHub {
owner = "WerWolv"; owner = "WerWolv";
repo = "ImHex-Patterns"; repo = "ImHex-Patterns";
rev = "ImHex-v${version}"; rev = "ImHex-v${version}";
hash = "sha256-2+7bJzgwHfXcINM5oxwi3vEbUtq9gGJc/uxFOwT4RnM="; hash = "sha256-7Aaj+W+zXjHO8A2gmWtp5Pa/i5Uk8lXzX2WHjPIPRZI=";
}; };
in in
@ -41,7 +41,7 @@ gcc12Stdenv.mkDerivation rec {
owner = "WerWolv"; owner = "WerWolv";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-H2bnRByCUAltngmVWgPW4vW8k5AWecOAzwtBKsjbpTw="; hash = "sha256-meOx8SkufXbXuBIVefr/mO9fsUi3zeQmqmf86+aDMaI=";
}; };
nativeBuildInputs = [ cmake llvm python3 perl pkg-config ]; nativeBuildInputs = [ cmake llvm python3 perl pkg-config ];

View file

@ -1,14 +1,24 @@
{ lib, stdenv, fetchFromGitHub, { lib, stdenv, fetchFromGitHub, qmake, qtbase, qtxmlpatterns, qtsvg, qtscxml
qmake, qtbase, qtxmlpatterns, qtsvg, qtscxml, qtquick1, libGLU }: , qtquick1, libGLU }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "qxmledit" ; pname = "qxmledit";
version = "0.9.15" ; version = "0.9.17";
src = fetchFromGitHub ( lib.importJSON ./qxmledit.json ) ;
nativeBuildInputs = [ qmake ] ; outputs = [ "out" "doc" ];
buildInputs = [ qtbase qtxmlpatterns qtsvg qtscxml qtquick1 libGLU ] ;
qmakeFlags = [ "CONFIG+=release" ] ; src = fetchFromGitHub {
outputs = [ "out" "doc" ] ; owner = "lbellonda";
repo = pname;
rev = version;
hash = "sha256-UzN5U+aC/uKokSdeUG2zv8+mkaH4ndYZ0sfzkpQ3l1M=";
};
nativeBuildInputs = [ qmake ];
buildInputs = [ qtbase qtxmlpatterns qtsvg qtscxml qtquick1 libGLU ];
qmakeFlags = [ "CONFIG+=release" ];
preConfigure = '' preConfigure = ''
export QXMLEDIT_INST_DATA_DIR="$out/share/data" export QXMLEDIT_INST_DATA_DIR="$out/share/data"
@ -23,9 +33,10 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin; broken = stdenv.isDarwin;
description = "Simple XML editor based on qt libraries" ; description = "Simple XML editor based on qt libraries";
homepage = "https://sourceforge.net/projects/qxmledit"; homepage = "https://sourceforge.net/projects/qxmledit";
license = licenses.lgpl2; license = licenses.lgpl2;
platforms = platforms.all; platforms = platforms.unix;
} ; changelog = "https://github.com/lbellonda/qxmledit/blob/${version}/NEWS";
};
} }

View file

@ -1,6 +0,0 @@
{
"owner": "lbellonda",
"repo": "qxmledit",
"rev": "6136dca50ceb3b4447c91a7a18dcf84785ea11d1",
"sha256": "1wcnphalwf0a5gz9r44jgk8wcv1w2qipbwjkbzkra2kxanxns834"
}

View file

@ -5,13 +5,13 @@
buildGoModule rec { buildGoModule rec {
pname = "dasel"; pname = "dasel";
version = "2.1.1"; version = "2.1.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "TomWright"; owner = "TomWright";
repo = "dasel"; repo = "dasel";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-27tQEWnirDhqYt5smRFwADa9wKXSk6yXR8+mXvJVtYI="; sha256 = "sha256-3zYBgDtptEmuAhLFnPt0eDvgTYltHDdQGX1JCem/UxE=";
}; };
vendorHash = "sha256-GO5Vg8zsXfjMBzRDC1/s/SYpviKUf59JB14vauKVFcE="; vendorHash = "sha256-GO5Vg8zsXfjMBzRDC1/s/SYpviKUf59JB14vauKVFcE=";

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "flink"; pname = "flink";
version = "1.14.4"; version = "1.17.0";
src = fetchurl { src = fetchurl {
url = "mirror://apache/flink/${pname}-${version}/${pname}-${version}-bin-scala_2.11.tgz"; url = "mirror://apache/flink/${pname}-${version}/${pname}-${version}-bin-scala_2.12.tgz";
sha256 = "sha256-qvWUh+EQT/MljN5LCX2JLMEapIEGAbAljrCMTYsFqtw="; sha256 = "sha256-x60Lk/xXf+Isg1J6z5qAIZ2/dbDiztPIKWrdPITp3Tg=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];
@ -33,6 +33,6 @@ stdenv.mkDerivation rec {
downloadPage = "https://flink.apache.org/downloads.html"; downloadPage = "https://flink.apache.org/downloads.html";
license = licenses.asl20; license = licenses.asl20;
platforms = platforms.all; platforms = platforms.all;
maintainers = with maintainers; [ mbode ]; maintainers = with maintainers; [ mbode autophagy ];
}; };
} }

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "dnscontrol"; pname = "dnscontrol";
version = "3.29.1"; version = "3.30.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "StackExchange"; owner = "StackExchange";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-sfmdOwwB3X3GFTg7NNAh7mi+fu4YZy9+c5Co3qaVo1o="; sha256 = "sha256-/ULO0ev1ybENaSrzAgblUdnyGp6QfFxO8XSHpH2wGpU=";
}; };
vendorHash = "sha256-nOgb8UNDhumMyYu1v55qflYrU9HE8cWSGdfLqIAm/w4="; vendorHash = "sha256-BtwSn3MLeMkjKBRXhln7hCB3wBVkKASe0zzfqbALQMQ=";
ldflags = [ "-s" "-w" ]; ldflags = [ "-s" "-w" ];

View file

@ -177,7 +177,7 @@ let
# Fix the desktop link # Fix the desktop link
substituteInPlace $out/share/applications/slack.desktop \ substituteInPlace $out/share/applications/slack.desktop \
--replace /usr/bin/ $out/bin/ \ --replace /usr/bin/ $out/bin/ \
--replace /usr/share/ $out/share/ \ --replace /usr/share/pixmaps/slack.png slack \
--replace bin/slack "bin/slack -s" --replace bin/slack "bin/slack -s"
runHook postInstall runHook postInstall

View file

@ -70,7 +70,6 @@ python3Packages.buildPythonApplication rec {
''; '';
meta = with lib; { meta = with lib; {
broken = stdenv.isDarwin;
inherit description; inherit description;
homepage = "https://www.pymol.org/"; homepage = "https://www.pymol.org/";
license = licenses.mit; license = licenses.mit;

View file

@ -11,15 +11,16 @@
, mono , mono
, mpv , mpv
, tesseract4 , tesseract4
, nix-update-script
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "subtitleedit"; pname = "subtitleedit";
version = "3.6.11"; version = "3.6.12";
src = fetchzip { src = fetchzip {
url = "https://github.com/SubtitleEdit/subtitleedit/releases/download/${version}/SE${lib.replaceStrings [ "." ] [ "" ] version}.zip"; url = "https://github.com/SubtitleEdit/subtitleedit/releases/download/${version}/SE${lib.replaceStrings [ "." ] [ "" ] version}.zip";
sha256 = "00w9jx704in3hbnzp0i7bhqkhbl0h5mahc5izwa980b67w08dc26"; sha256 = "08p67krgcignjisbq7nmnb3nga2sad4vl739ak4a5rp3b49l1dmb";
stripRoot = false; stripRoot = false;
}; };
@ -79,6 +80,8 @@ stdenv.mkDerivation rec {
}) })
]; ];
passthru.updateScript = nix-update-script { };
meta = with lib; { meta = with lib; {
description = "A subtitle editor"; description = "A subtitle editor";
homepage = "https://nikse.dk/subtitleedit/"; homepage = "https://nikse.dk/subtitleedit/";

View file

@ -3,6 +3,7 @@
, substituteAll , substituteAll
, fetchFromGitHub , fetchFromGitHub
, meson , meson
, mesonEmulatorHook
, ninja , ninja
, pkg-config , pkg-config
, gettext , gettext
@ -49,6 +50,12 @@ stdenv.mkDerivation rec {
./installed-tests-path.patch ./installed-tests-path.patch
]; ];
strictDeps = true;
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [ nativeBuildInputs = [
meson meson
ninja ninja
@ -61,6 +68,9 @@ stdenv.mkDerivation rec {
gobject-introspection gobject-introspection
itstool itstool
vala vala
gperf
] ++ lib.optional (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook
]; ];
buildInputs = [ buildInputs = [
@ -71,7 +81,6 @@ stdenv.mkDerivation rec {
libxml2 libxml2
libxmlb libxmlb
libyaml libyaml
gperf
curl curl
]; ];

View file

@ -21,7 +21,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "grpc"; pname = "grpc";
version = "1.52.1"; # N.B: if you change this, please update: version = "1.53.0"; # N.B: if you change this, please update:
# pythonPackages.grpcio-tools # pythonPackages.grpcio-tools
# pythonPackages.grpcio-status # pythonPackages.grpcio-status
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
owner = "grpc"; owner = "grpc";
repo = "grpc"; repo = "grpc";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-TE4Q2L4TF0bhgQyPcfgYolb5VXDWjOIyt5mv/HNIfTk="; hash = "sha256-YRVWR1woMDoq8TWFrL2nqQvAbtqBnUd3QlfbFTJm8dc=";
fetchSubmodules = true; fetchSubmodules = true;
}; };

View file

@ -9,13 +9,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "openexr"; pname = "openexr";
version = "3.1.6"; version = "3.1.7";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "AcademySoftwareFoundation"; owner = "AcademySoftwareFoundation";
repo = "openexr"; repo = "openexr";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-rXiltW7PHvye6bIyhDyo8aaVvssfGOwr9TguaYlLuUc="; sha256 = "sha256-Kl+aOA797aZvrvW4ZQNHdSU7YFPieZEzX3aYeaoH6eU=";
}; };
outputs = [ "bin" "dev" "out" "doc" ]; outputs = [ "bin" "dev" "out" "doc" ];

View file

@ -19,6 +19,11 @@
}: }:
let let
name-zero = "librocfft-device-0.so.0.1";
name-one = "librocfft-device-1.so.0.1";
name-two = "librocfft-device-2.so.0.1";
name-three = "librocfft-device-3.so.0.1";
# This is over 3GB, to allow hydra caching we separate it # This is over 3GB, to allow hydra caching we separate it
rf = stdenv.mkDerivation (finalAttrs: { rf = stdenv.mkDerivation (finalAttrs: {
pname = "rocfft"; pname = "rocfft";
@ -26,6 +31,10 @@ let
outputs = [ outputs = [
"out" "out"
"libzero"
"libone"
"libtwo"
"libthree"
] ++ lib.optionals buildTests [ ] ++ lib.optionals buildTests [
"test" "test"
] ++ lib.optionals buildBenchmarks [ ] ++ lib.optionals buildBenchmarks [
@ -58,7 +67,7 @@ let
openmp openmp
]; ];
propogatedBuildInputs = lib.optionals buildTests [ propagatedBuildInputs = lib.optionals buildTests [
fftw fftw
fftwFloat fftwFloat
]; ];
@ -80,7 +89,16 @@ let
"-DBUILD_CLIENTS_SAMPLES=ON" "-DBUILD_CLIENTS_SAMPLES=ON"
]; ];
postInstall = lib.optionalString buildTests '' postInstall = ''
mv $out/lib/${name-zero} $libzero
mv $out/lib/${name-one} $libone
mv $out/lib/${name-two} $libtwo
mv $out/lib/${name-three} $libthree
ln -s $libzero $out/lib/${name-zero}
ln -s $libone $out/lib/${name-one}
ln -s $libtwo $out/lib/${name-two}
ln -s $libthree $out/lib/${name-three}
'' + lib.optionalString buildTests ''
mkdir -p $test/{bin,lib/fftw} mkdir -p $test/{bin,lib/fftw}
cp -a $out/bin/* $test/bin cp -a $out/bin/* $test/bin
ln -s ${fftw}/lib/libfftw*.so $test/lib/fftw ln -s ${fftw}/lib/libfftw*.so $test/lib/fftw
@ -113,23 +131,31 @@ let
}; };
}); });
rf-zero = runCommand "librocfft-device-0.so.0.1" { preferLocalBuild = true; } '' rf-zero = runCommand name-zero { preferLocalBuild = true; } ''
cp -a ${rf}/lib/$name $out cp -a ${rf.libzero} $out
''; '';
rf-one = runCommand "librocfft-device-1.so.0.1" { preferLocalBuild = true; } '' rf-one = runCommand name-one { preferLocalBuild = true; } ''
cp -a ${rf}/lib/$name $out cp -a ${rf.libone} $out
''; '';
rf-two = runCommand "librocfft-device-2.so.0.1" { preferLocalBuild = true; } '' rf-two = runCommand name-two { preferLocalBuild = true; } ''
cp -a ${rf}/lib/$name $out cp -a ${rf.libtwo} $out
''; '';
rf-three = runCommand "librocfft-device-3.so.0.1" { preferLocalBuild = true; } '' rf-three = runCommand name-three { preferLocalBuild = true; } ''
cp -a ${rf}/lib/$name $out cp -a ${rf.libthree} $out
''; '';
in stdenv.mkDerivation { in stdenv.mkDerivation {
inherit (rf) pname version outputs src passthru meta; inherit (rf) pname version src passthru meta;
outputs = [
"out"
] ++ lib.optionals buildTests [
"test"
] ++ lib.optionals buildBenchmarks [
"benchmark"
];
dontUnpack = true; dontUnpack = true;
dontPatch = true; dontPatch = true;
@ -140,10 +166,10 @@ in stdenv.mkDerivation {
runHook preInstall runHook preInstall
mkdir -p $out/lib mkdir -p $out/lib
cp -as ${rf-zero} $out/lib/${rf-zero.name} ln -sf ${rf-zero} $out/lib/${name-zero}
cp -as ${rf-one} $out/lib/${rf-one.name} ln -sf ${rf-one} $out/lib/${name-one}
cp -as ${rf-two} $out/lib/${rf-two.name} ln -sf ${rf-two} $out/lib/${name-two}
cp -as ${rf-three} $out/lib/${rf-three.name} ln -sf ${rf-three} $out/lib/${name-three}
cp -an ${rf}/* $out cp -an ${rf}/* $out
'' + lib.optionalString buildTests '' '' + lib.optionalString buildTests ''
cp -a ${rf.test} $test cp -a ${rf.test} $test

View file

@ -412,14 +412,13 @@ final: prev: {
src = fetchurl { src = fetchurl {
url = "https://registry.npmjs.org/prisma/-/prisma-${version}.tgz"; url = "https://registry.npmjs.org/prisma/-/prisma-${version}.tgz";
sha512 = "sha512-4zZmBXssPUEiX+GeL0MUq/Yyie4ltiKmGu7jCJFnYMamNrrulTBc+D+QwAQSJ01tyzeGHlD13kOnqPwRipnlNw=="; hash = "sha512-xqVper4mbwl32BWzLpdznHAYvYDWQQWK2tBfXjdUD397XaveRyAP7SkBZ6kFlIg8kKayF4hvuaVtYwXd9BodAg==";
}; };
postInstall = with pkgs; '' postInstall = with pkgs; ''
wrapProgram "$out/bin/prisma" \ wrapProgram "$out/bin/prisma" \
--set PRISMA_MIGRATION_ENGINE_BINARY ${prisma-engines}/bin/migration-engine \ --set PRISMA_MIGRATION_ENGINE_BINARY ${prisma-engines}/bin/migration-engine \
--set PRISMA_QUERY_ENGINE_BINARY ${prisma-engines}/bin/query-engine \ --set PRISMA_QUERY_ENGINE_BINARY ${prisma-engines}/bin/query-engine \
--set PRISMA_QUERY_ENGINE_LIBRARY ${lib.getLib prisma-engines}/lib/libquery_engine.node \ --set PRISMA_QUERY_ENGINE_LIBRARY ${lib.getLib prisma-engines}/lib/libquery_engine.node \
--set PRISMA_INTROSPECTION_ENGINE_BINARY ${prisma-engines}/bin/introspection-engine \
--set PRISMA_FMT_BINARY ${prisma-engines}/bin/prisma-fmt --set PRISMA_FMT_BINARY ${prisma-engines}/bin/prisma-fmt
''; '';

View file

@ -9,14 +9,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "grpcio-status"; pname = "grpcio-status";
version = "1.52.0"; version = "1.53.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-YCo4CNSFobaeEdFQoHXj6Sf2R/Oos4fuPD8BYzRFsvw="; hash = "sha256-WkaCDcfZS6xIquXdl8lMreoJ2AoFVTrKdKkqKVQDBCA=";
}; };
postPatch = '' postPatch = ''

View file

@ -2,12 +2,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "grpcio-tools"; pname = "grpcio-tools";
version = "1.52.0"; version = "1.53.0";
format = "setuptools"; format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-wD6X5M1kMnavIQDL3Mn2sTBLHbeeWflXWMMCOj7kvVQ="; hash = "sha256-kl7/8tY8oyZvk8kk/+ul1JbxaozL4SX6DRis9HzF+og=";
}; };
postPatch = '' postPatch = ''

View file

@ -7,14 +7,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "lightwave2"; pname = "lightwave2";
version = "0.8.22"; version = "0.8.23";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-YrvRlSogw9YSuOvm4PfjrKGvgiBqdXAO9CKqGcBBH0g="; hash = "sha256-umhFqeX16c6o006MU9/9h4EnqcX7v8C5q3XjxYgi+xk=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "losant-rest"; pname = "losant-rest";
version = "1.17.2"; version = "1.17.3";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "Losant"; owner = "Losant";
repo = "losant-rest-python"; repo = "losant-rest-python";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-R17pMVK0T2LLQPNX7mwIlkmuRyNs8rx0sJZa8F60mvs="; hash = "sha256-S4ypZ4yTncoyKi4INpXg0UtcD+CmKRwr3c/FuSoXVKs=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -15,7 +15,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-bsblan"; pname = "python-bsblan";
version = "0.5.10"; version = "0.5.11";
format = "pyproject"; format = "pyproject";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -24,7 +24,7 @@ buildPythonPackage rec {
owner = "liudger"; owner = "liudger";
repo = pname; repo = pname;
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-VOi3v5SPHHx+qgqQmbIcC+APAks9CPklFAlCmHRM1iQ="; hash = "sha256-fTjeJZhKPFi0cxZStegVdq7a48rQ236DnnCGngwZ5GU=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -7,14 +7,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pyvesync"; pname = "pyvesync";
version = "2.1.1"; version = "2.1.6";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-ulYOzCIpHkL/2nQExomoV4mLkU6e0ns4MHxEbjCPGrQ="; hash = "sha256-u31yiTAINjQagDzZZ+6+XCmCSwjGkoGSyFxTosHJ9i0=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -11,7 +11,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "reolink-aio"; pname = "reolink-aio";
version = "0.5.8"; version = "0.5.9";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -20,7 +20,7 @@ buildPythonPackage rec {
owner = "starkillerOG"; owner = "starkillerOG";
repo = "reolink_aio"; repo = "reolink_aio";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-ELAytOxi2wAqt2hbVKFs4+HvJr3V+faWw2leO5bfv9A="; hash = "sha256-CsXpvHwTNMSpgLr4bjwzKnW/R3k9DLlBxLlZ8aZaQG0=";
}; };
postPatch = '' postPatch = ''

View file

@ -8,7 +8,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "securetar"; pname = "securetar";
version = "2022.02.0"; version = "2023.3.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.9"; disabled = pythonOlder "3.9";
@ -16,8 +16,8 @@ buildPythonPackage rec {
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "pvizeli"; owner = "pvizeli";
repo = pname; repo = pname;
rev = version; rev = "refs/tags/${version}";
hash = "sha256-FwQp08jwcGh07zpHqRNoUUmeLZJh78wI8wCXySi3Tdc="; hash = "sha256-3bDboggvKbpWyjpUOrUmtJx3Nj/6Uvut2nEQLYJubDA=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -35,6 +35,7 @@ buildPythonPackage rec {
meta = with lib; { meta = with lib; {
description = "Module to handle tarfile backups"; description = "Module to handle tarfile backups";
homepage = "https://github.com/pvizeli/securetar"; homepage = "https://github.com/pvizeli/securetar";
changelog = "https://github.com/pvizeli/securetar/releases/tag/${version}";
license = licenses.asl20; license = licenses.asl20;
maintainers = with maintainers; [ fab ]; maintainers = with maintainers; [ fab ];
}; };

View file

@ -40,7 +40,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "sentry-sdk"; pname = "sentry-sdk";
version = "1.16.0"; version = "1.17.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
@ -49,7 +49,7 @@ buildPythonPackage rec {
owner = "getsentry"; owner = "getsentry";
repo = "sentry-python"; repo = "sentry-python";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-hJ6OikRro9YUEX8rqMs/JkTvM9aTabEj4E8iNQ71gEc="; hash = "sha256-BcoCYyCz4tkb75P/z+eGQolRB0qxrdvTH+wV90zN884=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -5,12 +5,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "types-colorama"; pname = "types-colorama";
version = "0.4.15.9"; version = "0.4.15.11";
format = "setuptools"; format = "setuptools";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
hash = "sha256-+25tIa07AbGHj8an0/Jm0fhFiwE9cUWTO9kI6x5mj7I="; hash = "sha256-qUIesk2c/FhIgNwdM7f9QGoUInwfmfUMWrkmXgTQdjg=";
}; };
# Module has no tests # Module has no tests

View file

@ -1,5 +1,12 @@
{ buildRubyGem, fetchFromGitHub, makeWrapper, lib, bundler, nix, { buildRubyGem
nix-prefetch-git }: , fetchFromGitHub
, fetchpatch
, makeWrapper
, lib
, bundler
, nix
, nix-prefetch-git
}:
buildRubyGem rec { buildRubyGem rec {
inherit (bundler) ruby; inherit (bundler) ruby;
@ -15,6 +22,14 @@ buildRubyGem rec {
sha256 = "sha256-iMp6Yj7TSWDqge3Lw855/igOWdTIuFH1LGeIN/cpq7U="; sha256 = "sha256-iMp6Yj7TSWDqge3Lw855/igOWdTIuFH1LGeIN/cpq7U=";
}; };
patches = [
# https://github.com/nix-community/bundix/pull/80
(fetchpatch {
url = "https://github.com/nix-community/bundix/commit/3d7820efdd77281234182a9b813c2895ef49ae1f.patch";
hash = "sha256-ShluCWfRQxR+vkXqa7Fh7+WHKf6vAsa9/DVeXjpAXLk=";
})
];
buildInputs = [ ruby bundler ]; buildInputs = [ ruby bundler ];
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];

View file

@ -299,9 +299,9 @@ dependencies = [
[[package]] [[package]]
name = "bumpalo" name = "bumpalo"
version = "3.11.0" version = "3.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c1ad822118d20d2c234f427000d5acc36eabe1e29a348c89b63dd60b13f28e5d" checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535"
[[package]] [[package]]
name = "byteorder" name = "byteorder"
@ -440,6 +440,27 @@ dependencies = [
"cc", "cc",
] ]
[[package]]
name = "codspeed"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2042d58652a59f53ee0d7f61435b6760b63a9c09a598c7044a8c8b1a0a352afe"
dependencies = [
"colored",
"libc",
]
[[package]]
name = "codspeed-criterion-compat"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "93201017af114a2ef3df75212aa456aa1a981673d84aa18555014bb89c2a7262"
dependencies = [
"codspeed",
"colored",
"criterion",
]
[[package]] [[package]]
name = "colored" name = "colored"
version = "2.0.0" version = "2.0.0"
@ -529,6 +550,7 @@ dependencies = [
"schema", "schema",
"schema-builder", "schema-builder",
"serde_json", "serde_json",
"user-facing-errors",
] ]
[[package]] [[package]]
@ -565,6 +587,8 @@ dependencies = [
"lazy_static", "lazy_static",
"num-traits", "num-traits",
"oorandom", "oorandom",
"plotters",
"rayon",
"regex", "regex",
"serde", "serde",
"serde_derive", "serde_derive",
@ -807,14 +831,9 @@ version = "0.1.0"
dependencies = [ dependencies = [
"chrono", "chrono",
"cuid", "cuid",
"either",
"enumflags2",
"indoc",
"nanoid", "nanoid",
"prisma-value", "prisma-value",
"psl-core", "psl-core",
"serde",
"serde_json",
"uuid 1.1.2", "uuid 1.1.2",
] ]
@ -837,9 +856,9 @@ dependencies = [
[[package]] [[package]]
name = "either" name = "either"
version = "1.8.0" version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90e5c1c8368803113bf0c9584fc495a58b86dc8a29edbf8fe877d21d9507e797" checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
[[package]] [[package]]
name = "encode_unicode" name = "encode_unicode"
@ -962,6 +981,27 @@ dependencies = [
"syn", "syn",
] ]
[[package]]
name = "errno"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1"
dependencies = [
"errno-dragonfly",
"libc",
"winapi",
]
[[package]]
name = "errno-dragonfly"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
dependencies = [
"cc",
"libc",
]
[[package]] [[package]]
name = "expect-test" name = "expect-test"
version = "1.4.0" version = "1.4.0"
@ -1517,27 +1557,6 @@ dependencies = [
"user-facing-errors", "user-facing-errors",
] ]
[[package]]
name = "introspection-core"
version = "0.1.0"
dependencies = [
"async-trait",
"introspection-connector",
"json-rpc-stdio",
"jsonrpc-core",
"jsonrpc-derive",
"mongodb-introspection-connector",
"psl",
"serde",
"serde_json",
"sql-introspection-connector",
"tokio",
"tracing",
"tracing-futures",
"tracing-subscriber",
"user-facing-errors",
]
[[package]] [[package]]
name = "introspection-engine-tests" name = "introspection-engine-tests"
version = "0.1.0" version = "0.1.0"
@ -1548,7 +1567,6 @@ dependencies = [
"expect-test", "expect-test",
"indoc", "indoc",
"introspection-connector", "introspection-connector",
"introspection-core",
"migration-connector", "migration-connector",
"pretty_assertions", "pretty_assertions",
"psl", "psl",
@ -1566,6 +1584,16 @@ dependencies = [
"user-facing-errors", "user-facing-errors",
] ]
[[package]]
name = "io-lifetimes"
version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cfa919a82ea574332e2de6e74b4c36e74d41982b335080fa59d4ef31be20fdf3"
dependencies = [
"libc",
"windows-sys 0.45.0",
]
[[package]] [[package]]
name = "ipconfig" name = "ipconfig"
version = "0.3.0" version = "0.3.0"
@ -1644,18 +1672,6 @@ dependencies = [
"serde_json", "serde_json",
] ]
[[package]]
name = "jsonrpc-derive"
version = "17.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34f6326966ebac440db89eba788f5a0e5ac2614b4b4bfbdc049a971e71040f32"
dependencies = [
"proc-macro-crate",
"proc-macro2",
"quote",
"syn",
]
[[package]] [[package]]
name = "lazy_static" name = "lazy_static"
version = "1.4.0" version = "1.4.0"
@ -1743,9 +1759,9 @@ dependencies = [
[[package]] [[package]]
name = "libc" name = "libc"
version = "0.2.132" version = "0.2.140"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8371e4e5341c3a96db127eb2465ac681ced4c433e01dd0e938adbef26ba93ba5" checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c"
[[package]] [[package]]
name = "libloading" name = "libloading"
@ -1785,6 +1801,12 @@ version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
[[package]]
name = "linux-raw-sys"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4"
[[package]] [[package]]
name = "lock_api" name = "lock_api"
version = "0.4.8" version = "0.4.8"
@ -2110,7 +2132,7 @@ dependencies = [
"libc", "libc",
"log", "log",
"wasi 0.11.0+wasi-snapshot-preview1", "wasi 0.11.0+wasi-snapshot-preview1",
"windows-sys", "windows-sys 0.42.0",
] ]
[[package]] [[package]]
@ -2541,9 +2563,9 @@ checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5"
[[package]] [[package]]
name = "openssl" name = "openssl"
version = "0.10.41" version = "0.10.48"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "618febf65336490dfcf20b73f885f5651a0c89c64c2d4a8c3662585a70bf5bd0" checksum = "518915b97df115dd36109bfa429a48b8f737bd05508cf9588977b599648926d2"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"cfg-if", "cfg-if",
@ -2573,18 +2595,18 @@ checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]] [[package]]
name = "openssl-src" name = "openssl-src"
version = "111.22.0+1.1.1q" version = "111.25.0+1.1.1t"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f31f0d509d1c1ae9cada2f9539ff8f37933831fd5098879e482aa687d659853" checksum = "3173cd3626c43e3854b1b727422a276e568d9ec5fe8cec197822cf52cfb743d6"
dependencies = [ dependencies = [
"cc", "cc",
] ]
[[package]] [[package]]
name = "openssl-sys" name = "openssl-sys"
version = "0.9.79" version = "0.9.83"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5454462c0eced1e97f2ec09036abc8da362e66802f66fd20f86854d9d8cbcbc4" checksum = "666416d899cf077260dac8698d60a60b435a46d57e82acb1be3d0dad87284e5b"
dependencies = [ dependencies = [
"autocfg", "autocfg",
"cc", "cc",
@ -2733,7 +2755,7 @@ dependencies = [
"libc", "libc",
"redox_syscall", "redox_syscall",
"smallvec", "smallvec",
"windows-sys", "windows-sys 0.42.0",
] ]
[[package]] [[package]]
@ -2909,6 +2931,34 @@ version = "0.3.25"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae" checksum = "1df8c4ec4b0627e53bdf214615ad287367e482558cf84b109250b37464dc03ae"
[[package]]
name = "plotters"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2538b639e642295546c50fcd545198c9d64ee2a38620a628724a3b266d5fbf97"
dependencies = [
"num-traits",
"plotters-backend",
"plotters-svg",
"wasm-bindgen",
"web-sys",
]
[[package]]
name = "plotters-backend"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "193228616381fecdc1224c62e96946dfbc73ff4384fba576e052ff8c1bea8142"
[[package]]
name = "plotters-svg"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f9a81d2759aae1dae668f783c308bc5c8ebd191ff4184aaa1b37f65a6ae5a56f"
dependencies = [
"plotters-backend",
]
[[package]] [[package]]
name = "postgres-native-tls" name = "postgres-native-tls"
version = "0.5.0" version = "0.5.0"
@ -3019,13 +3069,10 @@ name = "prisma-models"
version = "0.0.0" version = "0.0.0"
dependencies = [ dependencies = [
"bigdecimal", "bigdecimal",
"chrono",
"dml", "dml",
"itertools", "itertools",
"prisma-value", "prisma-value",
"psl", "psl",
"serde",
"serde_json",
"thiserror", "thiserror",
] ]
@ -3043,15 +3090,6 @@ dependencies = [
"uuid 1.1.2", "uuid 1.1.2",
] ]
[[package]]
name = "proc-macro-crate"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785"
dependencies = [
"toml",
]
[[package]] [[package]]
name = "proc-macro-error" name = "proc-macro-error"
version = "1.0.4" version = "1.0.4"
@ -3148,9 +3186,10 @@ dependencies = [
name = "psl" name = "psl"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"base64 0.13.1",
"builtin-psl-connectors", "builtin-psl-connectors",
"dissimilar", "dissimilar",
"dml", "either",
"expect-test", "expect-test",
"indoc", "indoc",
"psl-core", "psl-core",
@ -3186,6 +3225,7 @@ dependencies = [
"migration-core", "migration-core",
"mongodb", "mongodb",
"mongodb-client", "mongodb-client",
"once_cell",
"parking_lot 0.12.1", "parking_lot 0.12.1",
"psl", "psl",
"quaint", "quaint",
@ -3584,6 +3624,28 @@ dependencies = [
"bitflags", "bitflags",
] ]
[[package]]
name = "rayon"
version = "1.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b"
dependencies = [
"either",
"rayon-core",
]
[[package]]
name = "rayon-core"
version = "1.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d"
dependencies = [
"crossbeam-channel",
"crossbeam-deque",
"crossbeam-utils",
"num_cpus",
]
[[package]] [[package]]
name = "redox_syscall" name = "redox_syscall"
version = "0.2.16" version = "0.2.16"
@ -3619,15 +3681,6 @@ version = "0.6.27"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244" checksum = "a3f87b73ce11b1619a3c6332f45341e0047173771e8b8b73f87bfeefb7b56244"
[[package]]
name = "remove_dir_all"
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
dependencies = [
"winapi",
]
[[package]] [[package]]
name = "request-handlers" name = "request-handlers"
version = "0.1.0" version = "0.1.0"
@ -3735,6 +3788,20 @@ dependencies = [
"semver", "semver",
] ]
[[package]]
name = "rustix"
version = "0.36.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fd5c6ff11fecd55b40746d1995a02f2eb375bf8c00d192d521ee09f42bef37bc"
dependencies = [
"bitflags",
"errno",
"io-lifetimes",
"libc",
"linux-raw-sys",
"windows-sys 0.45.0",
]
[[package]] [[package]]
name = "rustls" name = "rustls"
version = "0.19.1" version = "0.19.1"
@ -3808,7 +3875,7 @@ version = "0.1.21"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "713cfb06c7059f3588fb8044c0fad1d09e3c01d225e25b9220dbfdcf16dbb1b3" checksum = "713cfb06c7059f3588fb8044c0fad1d09e3c01d225e25b9220dbfdcf16dbb1b3"
dependencies = [ dependencies = [
"windows-sys", "windows-sys 0.42.0",
] ]
[[package]] [[package]]
@ -3833,7 +3900,7 @@ dependencies = [
name = "schema-builder" name = "schema-builder"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"criterion", "codspeed-criterion-compat",
"once_cell", "once_cell",
"prisma-models", "prisma-models",
"psl", "psl",
@ -4151,6 +4218,8 @@ dependencies = [
"serde", "serde",
"serde_json", "serde_json",
"sql-schema-describer", "sql-schema-describer",
"sqlformat",
"sqlparser",
"thiserror", "thiserror",
"tracing", "tracing",
"tracing-futures", "tracing-futures",
@ -4241,15 +4310,24 @@ dependencies = [
[[package]] [[package]]
name = "sqlformat" name = "sqlformat"
version = "0.2.0" version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f87e292b4291f154971a43c3774364e2cbcaec599d3f5bf6fa9d122885dbc38a" checksum = "0c12bc9199d1db8234678b7051747c07f517cdcf019262d1847b94ec8b1aee3e"
dependencies = [ dependencies = [
"itertools", "itertools",
"nom", "nom",
"unicode_categories", "unicode_categories",
] ]
[[package]]
name = "sqlparser"
version = "0.32.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0366f270dbabb5cc2e4c88427dc4c08bba144f81e32fbd459a013f26a4d16aa0"
dependencies = [
"log",
]
[[package]] [[package]]
name = "static_assertions" name = "static_assertions"
version = "1.1.0" version = "1.1.0"
@ -4352,16 +4430,15 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
[[package]] [[package]]
name = "tempfile" name = "tempfile"
version = "3.3.0" version = "3.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5cdb1ef4eaeeaddc8fbd371e5017057064af0911902ef36b39801f67cc6d79e4" checksum = "af18f7ae1acd354b992402e9ec5864359d693cd8a79dcbef59f76891701c1e95"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"fastrand", "fastrand",
"libc",
"redox_syscall", "redox_syscall",
"remove_dir_all", "rustix",
"winapi", "windows-sys 0.42.0",
] ]
[[package]] [[package]]
@ -4381,9 +4458,9 @@ dependencies = [
"anyhow", "anyhow",
"async-trait", "async-trait",
"colored", "colored",
"dmmf",
"enumflags2", "enumflags2",
"introspection-connector", "introspection-connector",
"introspection-core",
"migration-connector", "migration-connector",
"migration-core", "migration-core",
"psl", "psl",
@ -4566,7 +4643,7 @@ dependencies = [
"signal-hook-registry", "signal-hook-registry",
"socket2", "socket2",
"tokio-macros", "tokio-macros",
"windows-sys", "windows-sys 0.42.0",
] ]
[[package]] [[package]]
@ -5049,6 +5126,7 @@ version = "0.1.0"
dependencies = [ dependencies = [
"backtrace", "backtrace",
"indoc", "indoc",
"itertools",
"quaint", "quaint",
"serde", "serde",
"serde_json", "serde_json",
@ -5179,9 +5257,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
[[package]] [[package]]
name = "wasm-bindgen" name = "wasm-bindgen"
version = "0.2.83" version = "0.2.84"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268" checksum = "31f8dcbc21f30d9b8f2ea926ecb58f6b91192c17e9d33594b3df58b2007ca53b"
dependencies = [ dependencies = [
"cfg-if", "cfg-if",
"wasm-bindgen-macro", "wasm-bindgen-macro",
@ -5189,9 +5267,9 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-backend" name = "wasm-bindgen-backend"
version = "0.2.83" version = "0.2.84"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c8ffb332579b0557b52d268b91feab8df3615f265d5270fec2a8c95b17c1142" checksum = "95ce90fd5bcc06af55a641a86428ee4229e44e07033963a2290a8e241607ccb9"
dependencies = [ dependencies = [
"bumpalo", "bumpalo",
"log", "log",
@ -5204,9 +5282,9 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-macro" name = "wasm-bindgen-macro"
version = "0.2.83" version = "0.2.84"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "052be0f94026e6cbc75cdefc9bae13fd6052cdcaf532fa6c45e7ae33a1e6c810" checksum = "4c21f77c0bedc37fd5dc21f897894a5ca01e7bb159884559461862ae90c0b4c5"
dependencies = [ dependencies = [
"quote", "quote",
"wasm-bindgen-macro-support", "wasm-bindgen-macro-support",
@ -5214,9 +5292,9 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-macro-support" name = "wasm-bindgen-macro-support"
version = "0.2.83" version = "0.2.84"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07bc0c051dc5f23e307b13285f9d75df86bfdf816c5721e573dec1f9b8aa193c" checksum = "2aff81306fcac3c7515ad4e177f521b5c9a15f2b08f4e32d823066102f35a5f6"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -5227,9 +5305,9 @@ dependencies = [
[[package]] [[package]]
name = "wasm-bindgen-shared" name = "wasm-bindgen-shared"
version = "0.2.83" version = "0.2.84"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f" checksum = "0046fef7e28c3804e5e38bfa31ea2a0f73905319b677e57ebe37e49358989b5d"
[[package]] [[package]]
name = "wasm-logger" name = "wasm-logger"
@ -5357,6 +5435,30 @@ dependencies = [
"windows_x86_64_msvc", "windows_x86_64_msvc",
] ]
[[package]]
name = "windows-sys"
version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
dependencies = [
"windows-targets",
]
[[package]]
name = "windows-targets"
version = "0.42.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8e2522491fbfcd58cc84d47aeb2958948c4b8982e9a2d8a2a35bbaed431390e7"
dependencies = [
"windows_aarch64_gnullvm",
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_gnullvm",
"windows_x86_64_msvc",
]
[[package]] [[package]]
name = "windows_aarch64_gnullvm" name = "windows_aarch64_gnullvm"
version = "0.42.1" version = "0.42.1"

View file

@ -14,13 +14,13 @@
# function correctly. # function correctly.
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "prisma-engines"; pname = "prisma-engines";
version = "4.11.0"; version = "4.12.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "prisma"; owner = "prisma";
repo = "prisma-engines"; repo = "prisma-engines";
rev = version; rev = version;
sha256 = "sha256-VAVrXSz75rPdBOz9Jg75rpA3VBvw4WO+hFvk+A4f6Mc="; sha256 = "sha256-bSyAWJ4ukiXVyKI1iGvCs2cMgW1jdYRs5cgTdOCXvrQ=";
}; };
# Use system openssl. # Use system openssl.
@ -60,7 +60,6 @@ rustPlatform.buildRustPackage rec {
"-p" "query-engine" "-p" "query-engine"
"-p" "query-engine-node-api" "-p" "query-engine-node-api"
"-p" "migration-engine-cli" "-p" "migration-engine-cli"
"-p" "introspection-core"
"-p" "prisma-fmt" "-p" "prisma-fmt"
]; ];
@ -76,7 +75,7 @@ rustPlatform.buildRustPackage rec {
homepage = "https://www.prisma.io/"; homepage = "https://www.prisma.io/";
license = licenses.asl20; license = licenses.asl20;
platforms = platforms.unix; platforms = platforms.unix;
maintainers = with maintainers; [ pamplemousse pimeys tomhoule ]; maintainers = with maintainers; [ pamplemousse pimeys tomhoule ivan ];
}; };
} }

View file

@ -2,7 +2,7 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "trino-cli"; pname = "trino-cli";
version = "403"; version = "410";
jarfilename = "${pname}-${version}-executable.jar"; jarfilename = "${pname}-${version}-executable.jar";
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
src = fetchurl { src = fetchurl {
url = "mirror://maven/io/trino/${pname}/${version}/${jarfilename}"; url = "mirror://maven/io/trino/${pname}/${version}/${jarfilename}";
sha256 = "sha256-Yo7WQoY99gbXflcms0v3r9w+GXSNOP+CdKDnUZXEs8Q="; sha256 = "sha256-8ywle5z8OOFejAsBKSrh8RvaKyO1zht1My4QjKe/Lps=";
}; };
dontUnpack = true; dontUnpack = true;
@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
description = "The Trino CLI provides a terminal-based, interactive shell for running queries"; description = "The Trino CLI provides a terminal-based, interactive shell for running queries";
homepage = "https://github.com/trinodb/trino"; homepage = "https://github.com/trinodb/trino";
license = licenses.asl20; license = licenses.asl20;
maintainers = [ maintainers.regadas ]; maintainers = with maintainers; [ regadas cpcloud ];
}; };
} }

View file

@ -5,13 +5,13 @@
}: }:
buildGoModule rec { buildGoModule rec {
pname = "devbox"; pname = "devbox";
version = "0.4.4"; version = "0.4.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "jetpack-io"; owner = "jetpack-io";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-mowrp08L74IgOoyA30cmt4QWDsHo1HPKm7bxiYp+YVI="; hash = "sha256-vAfpx4cGN7NxhQbkrhSRxlD+QNfzaiBRtTgyO3e8brU=";
}; };
ldflags = [ ldflags = [

View file

@ -0,0 +1,23 @@
{ lib, rustPlatform, fetchCrate, stdenv, darwin }:
rustPlatform.buildRustPackage rec {
pname = "functiontrace-server";
version = "0.5.2";
src = fetchCrate {
inherit pname version;
hash = "sha256-p6ypMfg99ohQCyPB2O0wXbGmPvD2K9V3EnFDd5dC6js=";
};
cargoHash = "sha256-3tLjW7yiS1dNsV81KUZbfN2pvYT9kqiC62nWFid2NH8=";
buildInputs = lib.optionals stdenv.isDarwin
[ darwin.apple_sdk.frameworks.CoreFoundation ];
meta = with lib; {
description = "Server for FunctionTrace, a graphical Python profiler";
homepage = "https://functiontrace.com";
license = with licenses; [ prosperity30 ];
maintainers = with maintainers; [ tehmatt ];
};
}

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "gops"; pname = "gops";
version = "0.3.25"; version = "0.3.27";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "google"; owner = "google";
repo = "gops"; repo = "gops";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-y2T+v4EafiVuyRiuQdNDECc06e5eHtquvGA9ugW55Bs="; sha256 = "sha256-F1/1wMO2lQ4v2+r3FPzaxCkL2lW+COgxy4fjv6+p7AY=";
}; };
vendorSha256 = null; vendorHash = "sha256-ea+1AV0WzaQiDHyAUsm0rd/bznehG9UtmB1ubgHrOGM=";
preCheck = "export HOME=$(mktemp -d)"; preCheck = "export HOME=$(mktemp -d)";

View file

@ -15,7 +15,7 @@
, makeWrapper , makeWrapper
}: }:
perlPackages.buildPerlPackage { perlPackages.buildPerlPackage rec {
pname = "foomatic-db-engine"; pname = "foomatic-db-engine";
version = "unstable-2022-05-03"; version = "unstable-2022-05-03";
@ -79,6 +79,7 @@ perlPackages.buildPerlPackage {
doCheck = false; # no tests, would fail doCheck = false; # no tests, would fail
meta = { meta = {
changelog = "https://github.com/OpenPrinting/foomatic-db-engine/blob/${src.rev}/ChangeLog";
description = "OpenPrinting printer support database engine"; description = "OpenPrinting printer support database engine";
downloadPage = "https://www.openprinting.org/download/foomatic/"; downloadPage = "https://www.openprinting.org/download/foomatic/";
homepage = "https://openprinting.github.io/projects/02-foomatic/"; homepage = "https://openprinting.github.io/projects/02-foomatic/";

View file

@ -6,7 +6,7 @@
, perl , perl
}: }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
pname = "foomatic-db-nonfree"; pname = "foomatic-db-nonfree";
version = "unstable-2015-06-05"; version = "unstable-2015-06-05";
@ -60,6 +60,7 @@ stdenv.mkDerivation {
''; '';
meta = { meta = {
changelog = "https://github.com/OpenPrinting/foomatic-db-nonfree/blob/${src.rev}/ChangeLog";
description = "OpenPrinting printer support database (unfree content)"; description = "OpenPrinting printer support database (unfree content)";
downloadPage = "https://www.openprinting.org/download/foomatic/"; downloadPage = "https://www.openprinting.org/download/foomatic/";
homepage = "https://openprinting.github.io/projects/02-foomatic/"; homepage = "https://openprinting.github.io/projects/02-foomatic/";

View file

@ -11,17 +11,17 @@
, patchPpdFilesHook , patchPpdFilesHook
}: }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
pname = "foomatic-db"; pname = "foomatic-db";
version = "unstable-2022-10-03"; version = "unstable-2023-03-30";
src = fetchFromGitHub { src = fetchFromGitHub {
# there is also a daily snapshot at the `downloadPage`, # there is also a daily snapshot at the `downloadPage`,
# but it gets deleted quickly and would provoke 404 errors # but it gets deleted quickly and would provoke 404 errors
owner = "OpenPrinting"; owner = "OpenPrinting";
repo = "foomatic-db"; repo = "foomatic-db";
rev = "2a3c4d1bf7eadc42f936ce8989c1dd2973ea9669"; rev = "d883a215dc062e478c64d4e2eee9b0e39e6c629d";
hash = "sha256-in0/j1nAQvM0NowBIBx3jj5WVMPIfZAeAk1SkuA3tjA="; hash = "sha256-eFgHTbj4pNfLG2ftU29FQ8rgRMbX+44UytfoZ4vdgZ4=";
}; };
buildInputs = [ cups cups-filters ghostscript gnused perl ]; buildInputs = [ cups cups-filters ghostscript gnused perl ];
@ -79,6 +79,7 @@ stdenv.mkDerivation {
''; '';
meta = { meta = {
changelog = "https://github.com/OpenPrinting/foomatic-db/blob/${src.rev}/ChangeLog";
description = "OpenPrinting printer support database (free content)"; description = "OpenPrinting printer support database (free content)";
downloadPage = "https://www.openprinting.org/download/foomatic/"; downloadPage = "https://www.openprinting.org/download/foomatic/";
homepage = "https://openprinting.github.io/projects/02-foomatic/"; homepage = "https://openprinting.github.io/projects/02-foomatic/";
@ -93,7 +94,7 @@ stdenv.mkDerivation {
PPD files generated from the XML files in this package PPD files generated from the XML files in this package
are contained in the package 'foomatic-db-ppds'. are contained in the package 'foomatic-db-ppds'.
Besides the XML files, this package contains Besides the XML files, this package contains
about 6,600 PPD files, for printers from about 6,700 PPD files, for printers from
Brother, Canon, Epson, Gestetner, HP, InfoPrint, Brother, Canon, Epson, Gestetner, HP, InfoPrint,
Infotec, KONICA_MINOLTA, Kyocera, Lanier, Lexmark, NRG, Infotec, KONICA_MINOLTA, Kyocera, Lanier, Lexmark, NRG,
Oce, Oki, Ricoh, Samsung, Savin, Sharp, Toshiba and Utax. Oce, Oki, Ricoh, Samsung, Savin, Sharp, Toshiba and Utax.

View file

@ -10,13 +10,13 @@
buildGoModule rec { buildGoModule rec {
pname = "fastly"; pname = "fastly";
version = "8.1.2"; version = "8.2.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "fastly"; owner = "fastly";
repo = "cli"; repo = "cli";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-M/2ShE1lmT7DLUSANt+JVGUPhXoXkIyachtfXpbu5MU="; hash = "sha256-QJNXmSM8xIw8gN3rB1mGT7GRf1nx0Y0Z+8yf0gjddBo=";
# The git commit is part of the `fastly version` original output; # The git commit is part of the `fastly version` original output;
# leave that output the same in nixpkgs. Use the `.git` directory # leave that output the same in nixpkgs. Use the `.git` directory
# to retrieve the commit SHA, and remove the directory afterwards, # to retrieve the commit SHA, and remove the directory afterwards,
@ -33,7 +33,7 @@ buildGoModule rec {
"cmd/fastly" "cmd/fastly"
]; ];
vendorHash = "sha256-XND6sSjbZCTraKOapAvsVOZGf27YcyFnkC1vl8wO0ug="; vendorHash = "sha256-lNb/RPL+MM2NeAVzGWfkrYJz+z8Lb9jPRmQP9Ht5Meo=";
nativeBuildInputs = [ nativeBuildInputs = [
installShellFiles installShellFiles

View file

@ -25,11 +25,13 @@ rec {
stable = if stdenv.hostPlatform.system == "i686-linux" then legacy_390 else latest; stable = if stdenv.hostPlatform.system == "i686-linux" then legacy_390 else latest;
production = generic { production = generic {
version = "525.89.02"; version = "525.105.17";
sha256_64bit = "sha256-DkEsiMW9mPhCqDmm9kYU8g5MCVDvfP+xKxWKcWM1k+k="; sha256_64bit = "sha256-xjWiGigsm1NIXxnrtkoPS1NqlouU1Nl2KeC8VHpYFCo=";
openSha256 = "sha256-MP9ir0Fuodar239r3PbqVxIHd0vHvpDj8Rw55TeFtZM="; openSha256 = "sha256-O3XB8tNLmNkzrYoVyJVEE0IcE772lOdr8qn4rQHIupE=";
settingsSha256 = "sha256-7rHaJWm0XHJXsKL8VnU9XT15t/DU8jdsCXQwQT+KaV0="; settingsSha256 = "sha256-KUw31Am9Zfwk5QTs6th8+J3C4oUBacNgb7ZUNeV68W4=";
persistencedSha256 = "sha256-4AmOL6b3GKCjGs6bRDpQAkEG4n41X395znyQF1x9VEs="; persistencedSha256 = "sha256-jhBtsf9MXrkU/SsBndR1ESGUHhgUWiSH7R75swk3m40=";
ibtSupport = true;
}; };
latest = selectHighestVersion production (generic { latest = selectHighestVersion production (generic {

View file

@ -11,6 +11,7 @@
, useProfiles ? true , useProfiles ? true
, preferGtk2 ? false , preferGtk2 ? false
, settings32Bit ? false , settings32Bit ? false
, ibtSupport ? false
, prePatch ? "" , prePatch ? ""
, postPatch ? null , postPatch ? null
@ -116,6 +117,7 @@ let
persistenced = mapNullable (hash: callPackage (import ./persistenced.nix self hash) { }) persistencedSha256; persistenced = mapNullable (hash: callPackage (import ./persistenced.nix self hash) { }) persistencedSha256;
inherit persistencedVersion settingsVersion; inherit persistencedVersion settingsVersion;
compressFirmware = false; compressFirmware = false;
ibtSupport = ibtSupport || (lib.versionAtLeast version "530");
} // optionalAttrs (!i686bundled) { } // optionalAttrs (!i686bundled) {
inherit lib32; inherit lib32;
}; };

View file

@ -9,13 +9,13 @@
buildDotnetModule rec { buildDotnetModule rec {
pname = "jackett"; pname = "jackett";
version = "0.20.3689"; version = "0.20.3723";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha512-nsbzTR748vyojwju8ydXTNqgXaMPC2jLCLWPh0kVxzi2M0mG5hk6z1GSWIkfUPk6CogAWlfyFmyY/iMONgXQdw=="; hash = "sha512-Uh/lOBYzE7r4qCTIZbiegWOuqoxvq8W9EWxeh2enWEfkWke7APgAxC6myDNWpmduaPIBSIRJNvhwxaHVykVXvA==";
}; };
projectFile = "src/Jackett.Server/Jackett.Server.csproj"; projectFile = "src/Jackett.Server/Jackett.Server.csproj";

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, cmake, postgresql, openssl, libkrb5 }: { lib, stdenv, fetchFromGitHub, cmake, postgresql, openssl, libkrb5, enableUnfree ? true }:
# # To enable on NixOS: # # To enable on NixOS:
# config.services.postgresql = let # config.services.postgresql = let
@ -12,7 +12,7 @@
# } # }
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "timescaledb"; pname = "timescaledb${lib.optionalString (!enableUnfree) "-apache"}";
version = "2.10.1"; version = "2.10.1";
nativeBuildInputs = [ cmake ]; nativeBuildInputs = [ cmake ];
@ -26,6 +26,7 @@ stdenv.mkDerivation rec {
}; };
cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" "-DREGRESS_CHECKS=OFF" "-DTAP_CHECKS=OFF" ] cmakeFlags = [ "-DSEND_TELEMETRY_DEFAULT=OFF" "-DREGRESS_CHECKS=OFF" "-DTAP_CHECKS=OFF" ]
++ lib.optionals (!enableUnfree) [ "-DAPACHE_ONLY=ON" ]
++ lib.optionals stdenv.isDarwin [ "-DLINTER=OFF" ]; ++ lib.optionals stdenv.isDarwin [ "-DLINTER=OFF" ];
# Fix the install phase which tries to install into the pgsql extension dir, # Fix the install phase which tries to install into the pgsql extension dir,
@ -48,7 +49,7 @@ stdenv.mkDerivation rec {
changelog = "https://github.com/timescale/timescaledb/raw/${version}/CHANGELOG.md"; changelog = "https://github.com/timescale/timescaledb/raw/${version}/CHANGELOG.md";
maintainers = with maintainers; [ marsam ]; maintainers = with maintainers; [ marsam ];
platforms = postgresql.meta.platforms; platforms = postgresql.meta.platforms;
license = licenses.asl20; license = with licenses; if enableUnfree then tsl else asl20;
broken = versionOlder postgresql.version "12"; broken = versionOlder postgresql.version "12";
}; };
} }

View file

@ -55,6 +55,7 @@ self: super: {
temporal_tables = super.callPackage ./ext/temporal_tables.nix { }; temporal_tables = super.callPackage ./ext/temporal_tables.nix { };
timescaledb = super.callPackage ./ext/timescaledb.nix { }; timescaledb = super.callPackage ./ext/timescaledb.nix { };
timescaledb-apache = super.callPackage ./ext/timescaledb.nix { enableUnfree = false; };
timescaledb_toolkit = super.callPackage ./ext/timescaledb_toolkit.nix { }; timescaledb_toolkit = super.callPackage ./ext/timescaledb_toolkit.nix { };

View file

@ -3324,11 +3324,11 @@ self: with self; {
# THIS IS A GENERATED FILE. DO NOT EDIT! # THIS IS A GENERATED FILE. DO NOT EDIT!
xorgserver = callPackage ({ stdenv, pkg-config, fetchurl, xorgproto, openssl, libX11, libXau, libxcb, xcbutil, xcbutilwm, xcbutilimage, xcbutilkeysyms, xcbutilrenderutil, libXdmcp, libXfixes, libxkbfile }: stdenv.mkDerivation { xorgserver = callPackage ({ stdenv, pkg-config, fetchurl, xorgproto, openssl, libX11, libXau, libxcb, xcbutil, xcbutilwm, xcbutilimage, xcbutilkeysyms, xcbutilrenderutil, libXdmcp, libXfixes, libxkbfile }: stdenv.mkDerivation {
pname = "xorg-server"; pname = "xorg-server";
version = "21.1.7"; version = "21.1.8";
builder = ./builder.sh; builder = ./builder.sh;
src = fetchurl { src = fetchurl {
url = "mirror://xorg/individual/xserver/xorg-server-21.1.7.tar.xz"; url = "mirror://xorg/individual/xserver/xorg-server-21.1.8.tar.xz";
sha256 = "1fvpb1wr4bjksr1ag77mcvsz87qb947dn85blrn34lpcs0nhpinr"; sha256 = "0lmimvaw9x0ymdhjfqsrbx689bcapy8c24ajw9705j2harrxpaiq";
}; };
hardeningDisable = [ "bindnow" "relro" ]; hardeningDisable = [ "bindnow" "relro" ];
strictDeps = true; strictDeps = true;

View file

@ -217,4 +217,4 @@ mirror://xorg/individual/util/lndir-1.0.4.tar.xz
mirror://xorg/individual/util/makedepend-1.0.6.tar.bz2 mirror://xorg/individual/util/makedepend-1.0.6.tar.bz2
mirror://xorg/individual/util/util-macros-1.19.3.tar.bz2 mirror://xorg/individual/util/util-macros-1.19.3.tar.bz2
mirror://xorg/individual/util/xorg-cf-files-1.0.7.tar.bz2 mirror://xorg/individual/util/xorg-cf-files-1.0.7.tar.bz2
mirror://xorg/individual/xserver/xorg-server-21.1.7.tar.xz mirror://xorg/individual/xserver/xorg-server-21.1.8.tar.xz

View file

@ -2,17 +2,17 @@
buildGoModule rec { buildGoModule rec {
pname = "aliyun-cli"; pname = "aliyun-cli";
version = "3.0.152"; version = "3.0.160";
src = fetchFromGitHub { src = fetchFromGitHub {
rev = "v${version}"; rev = "v${version}";
owner = "aliyun"; owner = "aliyun";
repo = pname; repo = pname;
fetchSubmodules = true; fetchSubmodules = true;
sha256 = "sha256-n6S9ul9yD63l8Ge9Cs6QonRvvNxdke3u3P8TQOx5Z98="; sha256 = "sha256-gMAYtvmP8dKiLITPx5sWkj3vRJNT468kEA2obCIDER4=";
}; };
vendorHash = "sha256-Z8MDLUMgehoDEEBB2A5QWHGPqX5xt/16afa9T4v6kkQ="; vendorHash = "sha256-H1qeJ37FaQY/EQtg3467gG8tA1PLyXaF8Sb5qKLf4wU=";
subPackages = [ "main" ]; subPackages = [ "main" ];

View file

@ -8,13 +8,13 @@
buildGoModule rec { buildGoModule rec {
pname = "qovery-cli"; pname = "qovery-cli";
version = "0.55.2"; version = "0.56.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Qovery"; owner = "Qovery";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-/KWkU9IpUWhVOyiNkYg98PSltS97XNWXaz9haN11Dac="; hash = "sha256-hbFE2gj4fLA8N8Gh5QvwxfOlPfWTpLlia1lsfQ+RkaU=";
}; };
vendorHash = "sha256-1krHpwjs4kGhPMBF5j3iqUBo8TGKs1h+nDCmDmviPu4="; vendorHash = "sha256-1krHpwjs4kGhPMBF5j3iqUBo8TGKs1h+nDCmDmviPu4=";

View file

@ -8,7 +8,7 @@
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "bzip3"; pname = "bzip3";
version = "1.2.2"; version = "1.2.3";
outputs = [ "bin" "dev" "out" ]; outputs = [ "bin" "dev" "out" ];
@ -16,7 +16,7 @@ stdenv.mkDerivation (finalAttrs: {
owner = "kspalaiologos"; owner = "kspalaiologos";
repo = "bzip3"; repo = "bzip3";
rev = finalAttrs.version; rev = finalAttrs.version;
hash = "sha256-B59Z7+5SFjt/UgppNtdUtzw96y+EVglHoKzq9Il9ud8="; hash = "sha256-sBGY/tZz5qe1YF+MouwE1qpMKxeiHnXRL4gQx7EtuEc=";
}; };
postPatch = '' postPatch = ''

View file

@ -1,4 +1,10 @@
{ lib, buildGoModule, fetchFromGitHub }: { stdenv
, lib
, buildGoModule
, fetchFromGitHub
, installShellFiles
, buildPackages
}:
buildGoModule rec { buildGoModule rec {
pname = "goreleaser"; pname = "goreleaser";
@ -13,20 +19,36 @@ buildGoModule rec {
vendorHash = "sha256-eVuEyQCO2/gufMJp8eUpC82wdJbbJsMKR1ZGv96C9mI="; vendorHash = "sha256-eVuEyQCO2/gufMJp8eUpC82wdJbbJsMKR1ZGv96C9mI=";
ldflags = [ ldflags =
"-s" [ "-s" "-w" "-X main.version=${version}" "-X main.builtBy=nixpkgs" ];
"-w"
"-X main.version=${version}"
"-X main.builtBy=nixpkgs"
];
# tests expect the source files to be a build repo # tests expect the source files to be a build repo
doCheck = false; doCheck = false;
nativeBuildInputs = [ installShellFiles ];
postInstall =
let emulator = stdenv.hostPlatform.emulator buildPackages;
in ''
${emulator} $out/bin/goreleaser man > goreleaser.1
installManPage ./goreleaser.1
installShellCompletion --cmd goreleaser \
--bash <(${emulator} $out/bin/goreleaser completion bash) \
--fish <(${emulator} $out/bin/goreleaser completion fish) \
--zsh <(${emulator} $out/bin/goreleaser completion zsh)
'';
meta = with lib; { meta = with lib; {
description = "Deliver Go binaries as fast and easily as possible"; description = "Deliver Go binaries as fast and easily as possible";
homepage = "https://goreleaser.com"; homepage = "https://goreleaser.com";
maintainers = with maintainers; [ c0deaddict endocrimes sarcasticadmin techknowlogick developer-guy caarlos0 ]; maintainers = with maintainers; [
c0deaddict
endocrimes
sarcasticadmin
techknowlogick
developer-guy
caarlos0
];
license = licenses.mit; license = licenses.mit;
}; };
} }

View file

@ -5,16 +5,16 @@
buildGoModule rec { buildGoModule rec {
pname = "amass"; pname = "amass";
version = "3.22.2"; version = "3.23.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "OWASP"; owner = "OWASP";
repo = "Amass"; repo = "Amass";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-q6neBDk/kcvAoih4urRTFmhH6N7Fh/hEJQtL//kqJiI="; hash = "sha256-cU4PFuVzmHPZDboZXyPUA+MMra+rUhTxjaIrx91qzes=";
}; };
vendorHash = "sha256-fZd++VsLcs3MzcM23zE3AVaDPXf+cuLdJp8hsCeEZ1Y="; vendorHash = "sha256-om7tiYZn8nAOZ3jjAmF0Ncs1OPjiY8v7QW0RSY1Tv6o=";
outputs = [ outputs = [
"out" "out"

View file

@ -2,16 +2,16 @@
buildGoModule rec { buildGoModule rec {
pname = "clash"; pname = "clash";
version = "1.13.0"; version = "1.14.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Dreamacro"; owner = "Dreamacro";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-f/iSnSaRr1dqMRKb7GDZdc2WuykO42XMSNKwMOwuagc="; hash = "sha256-w/Iz1PZekeKVGFHPteMEbjLP3V9qMmLLAz27qW0VtPk=";
}; };
vendorHash = "sha256-fDn6UlijI2TJPF4FS50u1MMDxnd8eDTbqHLnGso/FoU="; vendorHash = "sha256-raNFt+Ymh7m+p1wXy1ofMO1UJ2EouwaY7Ysngfw3X8U=";
# Do not build testing suit # Do not build testing suit
excludedPackages = [ "./test" ]; excludedPackages = [ "./test" ];

View file

@ -8,16 +8,16 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "please"; pname = "please";
version = "0.5.3"; version = "0.5.4";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "edneville"; owner = "edneville";
repo = "please"; repo = "please";
rev = "v${version}"; rev = "v${version}";
hash = "sha256-YL0yKIDoFD6Q5gVXOjHiqH2ub7jlhlE/uDKLK1FlE74="; hash = "sha256-GW2t3pTX06mqEwFTpiLe3mlzFTmb5Fep5R0yHooRmig=";
}; };
cargoHash = "sha256-noZsnFL6G1KcxGY0sn0PvY5nIdx5aOAMErMViIY/7bE="; cargoHash = "sha256-bd3Pc8QPyPjE+xVcwASDILTXvMCioId/n6dXSr/KDOQ=";
nativeBuildInputs = [ installShellFiles ]; nativeBuildInputs = [ installShellFiles ];
@ -29,6 +29,9 @@ rustPlatform.buildRustPackage rec {
installManPage man/* installManPage man/*
''; '';
# Unit tests are broken on NixOS.
doCheck = false;
passthru.tests = { inherit (nixosTests) please; }; passthru.tests = { inherit (nixosTests) please; };
meta = with lib; { meta = with lib; {

View file

@ -1,13 +1,13 @@
diff --git i/src/lib.rs w/src/lib.rs diff --git i/src/lib.rs w/src/lib.rs
index fdd69f2..07c794e 100644 index 5e98cfa..539434f 100644
--- i/src/lib.rs --- i/src/lib.rs
+++ w/src/lib.rs +++ w/src/lib.rs
@@ -1667,7 +1667,7 @@ pub fn search_path(binary: &str) -> Option<String> { @@ -1755,7 +1755,7 @@ pub fn search_path(ro: &mut RunOptions, item: &EnvOptions) -> Option<String> {
} let dirs = if item.search_path.is_some() {
} item.search_path.as_ref().unwrap()
} else {
- for dir in "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin".split(':') { - "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
+ for dir in "/run/wrappers/bin:/run/current-system/sw/bin:/run/current-system/sw/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin".split(':') { + "/run/wrappers/bin:/run/current-system/sw/sbin:/run/current-system/sw/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
let path_name = format!("{}/{}", &dir, &binary); };
let p = Path::new(&path_name);
for dir in dirs.split(':') {

View file

@ -546,6 +546,8 @@ with pkgs;
frugal = callPackage ../development/tools/frugal { }; frugal = callPackage ../development/tools/frugal { };
functiontrace-server = callPackage ../development/tools/functiontrace-server { };
glade = callPackage ../development/tools/glade { }; glade = callPackage ../development/tools/glade { };
goda = callPackage ../development/tools/goda { }; goda = callPackage ../development/tools/goda { };
@ -5269,7 +5271,7 @@ with pkgs;
medusa = callPackage ../tools/security/medusa { }; medusa = callPackage ../tools/security/medusa { };
megasync = libsForQt5.callPackage ../applications/misc/megasync { megasync = libsForQt5.callPackage ../applications/misc/megasync {
ffmpeg = ffmpeg-full; ffmpeg = ffmpeg_4;
}; };
megacmd = callPackage ../applications/misc/megacmd { }; megacmd = callPackage ../applications/misc/megacmd { };