mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-07 20:53:22 +00:00
Merge staging-next into staging
This commit is contained in:
commit
74bad888b4
@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
|||||||
# Fix the paths in .pc, even though it's unclear if these .pc are really useful.
|
# Fix the paths in .pc, even though it's unclear if these .pc are really useful.
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
substituteInPlace "$out"/lib/pkgconfig/SPIRV-Tools{,-shared}.pc \
|
substituteInPlace "$out"/lib/pkgconfig/SPIRV-Tools{,-shared}.pc \
|
||||||
--replace '=''${prefix}//' '='
|
--replace '=''${prefix}//' '=/'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
@ -50,6 +50,13 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
cmakeFlags = [ "-DSHADERC_SKIP_TESTS=ON" ];
|
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; {
|
meta = with lib; {
|
||||||
inherit (src.meta) homepage;
|
inherit (src.meta) homepage;
|
||||||
description = "A collection of tools, libraries and tests for shader compilation";
|
description = "A collection of tools, libraries and tests for shader compilation";
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ lib, buildPythonPackage, fetchFromGitHub
|
{ lib, buildPythonPackage, fetchFromGitHub
|
||||||
|
, setuptools
|
||||||
, six
|
, six
|
||||||
, pytest
|
, pytest
|
||||||
, python-dateutil
|
, python-dateutil
|
||||||
@ -16,6 +17,7 @@ buildPythonPackage rec {
|
|||||||
sha256 = "16rcdw5gd4a21v2xb1j166lc9z2dqcv68gqvk5mvpnm0x6nwadgp";
|
sha256 = "16rcdw5gd4a21v2xb1j166lc9z2dqcv68gqvk5mvpnm0x6nwadgp";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ setuptools ];
|
||||||
propagatedBuildInputs = [ six ];
|
propagatedBuildInputs = [ six ];
|
||||||
|
|
||||||
checkInputs = [ python-dateutil pytest ];
|
checkInputs = [ python-dateutil pytest ];
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
, pythonOlder
|
, pythonOlder
|
||||||
, backports-zoneinfo
|
, backports-zoneinfo
|
||||||
, python-dateutil
|
, python-dateutil
|
||||||
|
, setuptools
|
||||||
, tzdata
|
, tzdata
|
||||||
, hypothesis
|
, hypothesis
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
@ -23,6 +24,8 @@ buildPythonPackage rec {
|
|||||||
sha256 = "af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b87445a59d";
|
sha256 = "af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b87445a59d";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ setuptools ];
|
||||||
|
|
||||||
propagatedBuildInputs = (lib.optionals (pythonAtLeast "3.6" && pythonOlder "3.9") [
|
propagatedBuildInputs = (lib.optionals (pythonAtLeast "3.6" && pythonOlder "3.9") [
|
||||||
backports-zoneinfo
|
backports-zoneinfo
|
||||||
]) ++ (lib.optionals (pythonOlder "3.6") [
|
]) ++ (lib.optionals (pythonOlder "3.6") [
|
||||||
|
@ -11,6 +11,9 @@ let
|
|||||||
rev = "pyparsing_${version}";
|
rev = "pyparsing_${version}";
|
||||||
sha256 = "14pfy80q2flgzjcx8jkracvnxxnr59kjzp3kdm5nh232gk1v6g6h";
|
sha256 = "14pfy80q2flgzjcx8jkracvnxxnr59kjzp3kdm5nh232gk1v6g6h";
|
||||||
};
|
};
|
||||||
|
nativeBuildInputs = [
|
||||||
|
super.setuptools
|
||||||
|
];
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user