python3Packages.gphoto2: fix build (#380469)

This commit is contained in:
kpine
2025-02-11 13:35:29 +01:00
committed by GitHub
parent 42b32f1855
commit 15ff4bbe97
@@ -1,7 +1,6 @@
{
lib,
fetchPypi,
fetchpatch,
buildPythonPackage,
pkg-config,
libgphoto2,
@@ -19,13 +18,6 @@ buildPythonPackage rec {
hash = "sha256-Jgh7ff+iUaeNQtBsXw2Jm+2gj1ctvrY3oahGrbxx3uE=";
};
# only convert first 2 values from setuptools_version to ints to avoid
# parse errors if last value is a string.
patches = fetchpatch {
url = "https://github.com/jim-easterbrook/python-gphoto2/commit/d388971b63fea831eb986d2212d4828c6c553235.patch";
hash = "sha256-EXtXlhBx2jCKtMl7HmN87liqiHVAFSeXr11y830AlpY=";
};
nativeBuildInputs = [
pkg-config
setuptools