Skip to content

Commit

Permalink
python312Packages.pyvips: 2.2.1 -> 2.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyroussel committed Oct 26, 2024
1 parent 48e86e9 commit c05c2ab
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions pkgs/development/python-modules/pyvips/default.nix
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
{
lib,
stdenv,
buildPythonPackage,
pythonOlder,
cffi,
fetchFromGitHub,
pytestCheckHook,
glib,
vips,
cffi,
pkgconfig, # from pythonPackages
pkg-config, # from pkgs
lib,
pkgconfig, # from pythonPackages
pytestCheckHook,
pythonOlder,
setuptools,
vips,
}:

buildPythonPackage rec {
pname = "pyvips";
version = "2.2.1";
format = "setuptools";
version = "2.2.3";
pyproject = true;

disabled = pythonOlder "3.7";

src = fetchFromGitHub {
owner = "libvips";
repo = "pyvips";
rev = "v${version}";
hash = "sha256-9S7h3bkm+QP78cpemYS7l3c8t+wXsJ5MUAP2T50R/Mc=";
rev = "refs/tags/v${version}";
hash = "sha256-EGB1cOR1pVCXGjRj1NLj4Mk3kIy8luRqk3gGJqVNs7U=";
};

nativeBuildInputs = [
pkgconfig
pkg-config
];

Expand All @@ -36,7 +36,12 @@ buildPythonPackage rec {
vips
];

propagatedBuildInputs = [ cffi ];
build-system = [
pkgconfig
setuptools
];

dependencies = [ cffi ];

env = lib.optionalAttrs stdenv.cc.isClang {
NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-function-pointer-types";
Expand Down

0 comments on commit c05c2ab

Please sign in to comment.