Merge master into staging-next

This commit is contained in:
github-actions[bot] 2021-09-25 12:01:16 +00:00 committed by GitHub
commit c6b76c16a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 30 additions and 27 deletions

View file

@ -476,6 +476,8 @@ in
(mkIf serviceCfg.experimental-features.realtime-scheduling { (mkIf serviceCfg.experimental-features.realtime-scheduling {
security.wrappers.".gnome-shell-wrapped" = { security.wrappers.".gnome-shell-wrapped" = {
source = "${pkgs.gnome.gnome-shell}/bin/.gnome-shell-wrapped"; source = "${pkgs.gnome.gnome-shell}/bin/.gnome-shell-wrapped";
owner = "root";
group = "root";
capabilities = "cap_sys_nice=ep"; capabilities = "cap_sys_nice=ep";
}; };

View file

@ -6,7 +6,7 @@
, alsa-lib, libXdamage, libXtst, libXrandr, libxshmfence, expat, cups , alsa-lib, libXdamage, libXtst, libXrandr, libxshmfence, expat, cups
, dbus, gtk3, gdk-pixbuf, gcc-unwrapped, at-spi2-atk, at-spi2-core , dbus, gtk3, gdk-pixbuf, gcc-unwrapped, at-spi2-atk, at-spi2-core
, libkrb5, libdrm, mesa , libkrb5, libdrm, mesa
, libxkbcommon, wayland # ozone/wayland , libxkbcommon, pipewire, wayland # ozone/wayland
# Command line programs # Command line programs
, coreutils , coreutils
@ -67,7 +67,7 @@ let
flac harfbuzz icu libpng opusWithCustomModes snappy speechd flac harfbuzz icu libpng opusWithCustomModes snappy speechd
bzip2 libcap at-spi2-atk at-spi2-core bzip2 libcap at-spi2-atk at-spi2-core
libkrb5 libdrm mesa coreutils libkrb5 libdrm mesa coreutils
libxkbcommon wayland libxkbcommon pipewire wayland
] ++ optional pulseSupport libpulseaudio ] ++ optional pulseSupport libpulseaudio
++ optional libvaSupport libva ++ optional libvaSupport libva
++ optional vulkanSupport vulkan-loader ++ optional vulkanSupport vulkan-loader

View file

@ -2,14 +2,14 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ethash"; pname = "ethash";
version = "0.7.0"; version = "0.7.1";
src = src =
fetchFromGitHub { fetchFromGitHub {
owner = "chfast"; owner = "chfast";
repo = "ethash"; repo = "ethash";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-QQoWOJGwL03zbBfrFNXz0Ff9Agc2dMBW9nW3jdOwEE8="; sha256 = "sha256-ba8SBtJd0ERunO9KpJZkutkO6ZnZOEGzWn2IjO1Uu28=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -282,11 +282,11 @@ let
nativeBuildInputs = [ pkgs.makeWrapper ]; nativeBuildInputs = [ pkgs.makeWrapper ];
postInstall = with pkgs; '' postInstall = with pkgs; ''
wrapProgram "$out/bin/prisma" \ wrapProgram "$out/bin/prisma" \
--prefix PRISMA_MIGRATION_ENGINE_BINARY : "${prisma-engines}/bin/migration-engine" \ --set PRISMA_MIGRATION_ENGINE_BINARY ${prisma-engines}/bin/migration-engine \
--prefix PRISMA_QUERY_ENGINE_BINARY : "${prisma-engines}/bin/query-engine" \ --set PRISMA_QUERY_ENGINE_BINARY ${prisma-engines}/bin/query-engine \
--prefix PRISMA_QUERY_ENGINE_LIBRARY : "${lib.getLib prisma-engines}/libquery_engine.so.node" --set PRISMA_QUERY_ENGINE_LIBRARY ${lib.getLib prisma-engines}/lib/libquery_engine.node \
--prefix PRISMA_INTROSPECTION_ENGINE_BINARY : "${prisma-engines}/bin/introspection-engine" \ --set PRISMA_INTROSPECTION_ENGINE_BINARY ${prisma-engines}/bin/introspection-engine \
--prefix PRISMA_FMT_BINARY : "${prisma-engines}/bin/prisma-fmt" --set PRISMA_FMT_BINARY ${prisma-engines}/bin/prisma-fmt
''; '';
}; };

View file

@ -12,12 +12,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "deemix"; pname = "deemix";
version = "3.5.1"; version = "3.5.3";
disabled = pythonOlder "3.7"; disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "3347d07fab5dcadcfa7798383ba0a2e026d4bfdc0a7c2a7584d7fbf128a3c233"; sha256 = "36dc6279f547cc0947daceb568e2b5ac1e274655f642c133e2700c22892163ce";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -6,11 +6,11 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "fountains"; pname = "fountains";
version = "1.0.0"; version = "1.1.0";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-e4WCO/CS7LBYUziKPuCQIOHEHUlnKE5vDbOsqC8SrA8="; sha256 = "47c28e598cc3a723327daee28c757de3a40f4d8eb48e6be37081932c1d00fa6f";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -8,13 +8,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "goalzero"; pname = "goalzero";
version = "0.1.59"; version = "0.2.0";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "0d0f11aa31672f3ef4ab617db92c87ef6f143804473022405f6da9d830f17638"; sha256 = "6cb67cf772a758225b2e23b394feb697e8cbfb1aff5a2d7a17a0d4ccf61e55cd";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -10,12 +10,12 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytest-cases"; pname = "pytest-cases";
version = "3.6.3"; version = "3.6.4";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-ExNiaSQGFbx5BB+K+PyW4OPghdpy3SKxhiVFH9okQ7g="; sha256 = "sha256-m2oxE7q46TWadhZgpwTAHKep5ZN9LG1VNCRJkPz5W1E=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View file

@ -4,9 +4,12 @@
, pkg-config , pkg-config
, protobuf , protobuf
, rustPlatform , rustPlatform
, stdenv
}: }:
rustPlatform.buildRustPackage rec { let
node-api-lib = (if stdenv.isDarwin then "libquery_engine.dylib" else "libquery_engine.so");
in rustPlatform.buildRustPackage rec {
pname = "prisma-engines"; pname = "prisma-engines";
version = "2.30.2"; version = "2.30.2";
@ -14,7 +17,7 @@ rustPlatform.buildRustPackage rec {
owner = "prisma"; owner = "prisma";
repo = "prisma-engines"; repo = "prisma-engines";
rev = version; rev = version;
sha256 = "sha256-i4r+TRC8454awbqe35Kg3M9xN2NnP8Sbd/dITtm9MDg="; sha256 = "sha256-39+pEjve7evxcjcBK1JLTRNNjfUMoCgSgtYcdJ3zIKE=";
}; };
cargoPatches = [ cargoPatches = [
@ -28,8 +31,6 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "sha256-BldEj8+tzY0dIA/fdrPLsFn3ZdfoGq6GsomCUhQBoLM="; cargoSha256 = "sha256-BldEj8+tzY0dIA/fdrPLsFn3ZdfoGq6GsomCUhQBoLM=";
outputs = [ "out" "lib" "bin" ];
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl protobuf ]; buildInputs = [ openssl protobuf ];
@ -45,7 +46,7 @@ rustPlatform.buildRustPackage rec {
''; '';
postInstall = '' postInstall = ''
cp target/release/libquery_engine.so $out/lib/libquery_engine.so.node mv $out/lib/${node-api-lib} $out/lib/libquery_engine.node
''; '';
# Tests are long to compile # Tests are long to compile
@ -56,6 +57,6 @@ rustPlatform.buildRustPackage rec {
homepage = "https://www.prisma.io/"; homepage = "https://www.prisma.io/";
license = licenses.asl20; license = licenses.asl20;
platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ pamplemousse ]; maintainers = with maintainers; [ pamplemousse pimeys ];
}; };
} }

View file

@ -5,11 +5,11 @@
}: }:
mkDerivation rec { mkDerivation rec {
pname = "nix-output-monitor"; pname = "nix-output-monitor";
version = "1.0.3.2"; version = "1.0.3.3";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "maralorn"; owner = "maralorn";
repo = "nix-output-monitor"; repo = "nix-output-monitor";
sha256 = "0srfclmqrqcx8b756yxww24ya0xn2ajxbgj07mcvdvwbwl09pys8"; sha256 = "1x26s9gzcygn96600g0r1a1sxqav6c38iq981rhmc808mqlyxmp8";
rev = "v${version}"; rev = "v${version}";
}; };
isLibrary = true; isLibrary = true;

View file

@ -7,13 +7,13 @@
buildGoModule rec { buildGoModule rec {
pname = "gdu"; pname = "gdu";
version = "5.8.0"; version = "5.8.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "dundee"; owner = "dundee";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "14sl0a5c3vfsqxsbai6wvfmxp121rl9wz1vih6gyk6ibvkvlq793"; sha256 = "1410mmijzjvcylrynyq4p2fayi1wjy61sibd3kws96k3k7ylb14n";
}; };
vendorSha256 = "0ls0pw1m6hy203cdkmp9847h2fmvc4hjkv5x2v6r7516cqbs25ac"; vendorSha256 = "0ls0pw1m6hy203cdkmp9847h2fmvc4hjkv5x2v6r7516cqbs25ac";