Merge staging-next into staging

This commit is contained in:
github-actions[bot] 2022-09-19 00:03:16 +00:00 committed by GitHub
commit 74bad888b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 1 deletions

View File

@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
# Fix the paths in .pc, even though it's unclear if these .pc are really useful.
postFixup = ''
substituteInPlace "$out"/lib/pkgconfig/SPIRV-Tools{,-shared}.pc \
--replace '=''${prefix}//' '='
--replace '=''${prefix}//' '=/'
'';
meta = with lib; {

View File

@ -50,6 +50,13 @@ in stdenv.mkDerivation rec {
cmakeFlags = [ "-DSHADERC_SKIP_TESTS=ON" ];
# Fix the paths in .pc, even though it's unclear if all these .pc are really useful.
postFixup = ''
substituteInPlace "$dev"/lib/pkgconfig/*.pc \
--replace '=''${prefix}//' '=/' \
--replace "$dev/$dev/" "$dev/"
'';
meta = with lib; {
inherit (src.meta) homepage;
description = "A collection of tools, libraries and tests for shader compilation";

View File

@ -1,4 +1,5 @@
{ lib, buildPythonPackage, fetchFromGitHub
, setuptools
, six
, pytest
, python-dateutil
@ -16,6 +17,7 @@ buildPythonPackage rec {
sha256 = "16rcdw5gd4a21v2xb1j166lc9z2dqcv68gqvk5mvpnm0x6nwadgp";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ six ];
checkInputs = [ python-dateutil pytest ];

View File

@ -5,6 +5,7 @@
, pythonOlder
, backports-zoneinfo
, python-dateutil
, setuptools
, tzdata
, hypothesis
, pytestCheckHook
@ -23,6 +24,8 @@ buildPythonPackage rec {
sha256 = "af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b87445a59d";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = (lib.optionals (pythonAtLeast "3.6" && pythonOlder "3.9") [
backports-zoneinfo
]) ++ (lib.optionals (pythonOlder "3.6") [

View File

@ -11,6 +11,9 @@ let
rev = "pyparsing_${version}";
sha256 = "14pfy80q2flgzjcx8jkracvnxxnr59kjzp3kdm5nh232gk1v6g6h";
};
nativeBuildInputs = [
super.setuptools
];
});
};
};