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 ];