From 164c381f8823fe1cfef63e8b933f93bbbb4c9c75 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Mon, 16 Jun 2025 14:16:12 +0200 Subject: [PATCH] python3Packages.python-djvulibre: fix eval --- .../python-modules/python-djvulibre/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/python-djvulibre/default.nix b/pkgs/development/python-modules/python-djvulibre/default.nix index c505e132ee07..12f31ba423fc 100644 --- a/pkgs/development/python-modules/python-djvulibre/default.nix +++ b/pkgs/development/python-modules/python-djvulibre/default.nix @@ -1,14 +1,16 @@ { lib, - python3Packages, + buildPythonPackage, fetchFromGitHub, + cython, djvulibre, + setuptools, ghostscript_headless, pkg-config, unittestCheckHook, }: -python3Packages.buildPythonPackage rec { +buildPythonPackage rec { pname = "python-djvulibre"; version = "0.9.3"; pyproject = true; @@ -21,14 +23,14 @@ python3Packages.buildPythonPackage rec { }; build-system = [ - python3Packages.cython + cython djvulibre ghostscript_headless pkg-config - python3Packages.setuptools + setuptools ]; - dependencies = with python3Packages; [ + dependencies = [ djvulibre ghostscript_headless ];