summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik
diff options
context:
space:
mode:
authorgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>2024-07-28 12:01:38 +0000
committerGitHub <noreply@github.com>2024-07-28 12:01:38 +0000
commit38b57cc2a98f21198321ae322ac31900a6fef528 (patch)
tree8818442625f374c75e6b3a4a803a70bca2012d02 /pkgs/development/python-modules/python-mapnik
parentf59383d662f1996792150738103a5450eebdee74 (diff)
parentd98191ce37fd95d64c66081d63da76dee0ca9b72 (diff)
Merge staging-next into staging
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik')
-rw-r--r--pkgs/development/python-modules/python-mapnik/default.nix13
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/python-mapnik/default.nix b/pkgs/development/python-modules/python-mapnik/default.nix
index d2d0ae00f08c..1cf3b7ff4bbf 100644
--- a/pkgs/development/python-modules/python-mapnik/default.nix
+++ b/pkgs/development/python-modules/python-mapnik/default.nix
@@ -5,6 +5,7 @@
substituteAll,
isPyPy,
python,
+ setuptools,
pillow,
pycairo,
pkg-config,
@@ -21,7 +22,6 @@
zlib,
libxml2,
sqlite,
- nose,
pytestCheckHook,
darwin,
sparsehash,
@@ -30,7 +30,7 @@
buildPythonPackage rec {
pname = "python-mapnik";
version = "3.0.16-unstable-2024-02-22";
- format = "setuptools";
+ pyproject = true;
src = fetchFromGitHub {
owner = "mapnik";
@@ -55,12 +55,14 @@ buildPythonPackage rec {
stdenv = if python.stdenv.isDarwin then darwin.apple_sdk_11_0.stdenv else python.stdenv;
+ build-system = [ setuptools ];
+
nativeBuildInputs = [
mapnik # for mapnik_config
pkg-config
];
- buildInputs = [
+ dependencies = [
mapnik
boost
cairo
@@ -94,10 +96,7 @@ buildPythonPackage rec {
export XMLPARSER=libxml2
'';
- nativeCheckInputs = [
- nose
- pytestCheckHook
- ];
+ nativeCheckInputs = [ pytestCheckHook ];
preCheck =
''