python312Packages.pyfuse3: 3.3.0 -> 3.4.0 (#338079)

This commit is contained in:
Robert Schütz 2024-08-30 15:00:23 -07:00 committed by GitHub
commit dc2c9e0d88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,33 +16,33 @@
buildPythonPackage rec {
pname = "pyfuse3";
version = "3.3.0";
version = "3.4.0";
pyproject = true;
disabled = pythonOlder "3.8";
format = "pyproject";
src = fetchFromGitHub {
owner = "libfuse";
repo = "pyfuse3";
rev = "refs/tags/${version}";
hash = "sha256-GLGuTFdTA16XnXKSBD7ET963a8xH9EG/JfPNu6/3DOg=";
hash = "sha256-J4xHiaV8GCtUQ9GJS8YRXpMsuzuwbtnzspvuIonHT24=";
};
postPatch = ''
substituteInPlace setup.py \
--replace "'pkg-config'" "'$(command -v $PKG_CONFIG)'"
--replace-fail "'pkg-config'" "'$(command -v $PKG_CONFIG)'"
'';
nativeBuildInputs = [
build-system = [
cython
pkg-config
setuptools
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ fuse3 ];
propagatedBuildInputs = [ trio ];
dependencies = [ trio ];
preBuild = ''
${python.pythonOnBuildForHost.interpreter} setup.py build_cython