Skip to content

Commit

Permalink
Merge pull request #330432 from Sigmanificient/python-mapnik
Browse files Browse the repository at this point in the history
python312Packages.python-mapnik: drop nose dependency
  • Loading branch information
emilazy committed Jul 28, 2024
2 parents 82ecf9f + 82b91bc commit 5b87953
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions pkgs/development/python-modules/python-mapnik/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
substituteAll,
isPyPy,
python,
setuptools,
pillow,
pycairo,
pkg-config,
Expand All @@ -21,7 +22,6 @@
zlib,
libxml2,
sqlite,
nose,
pytestCheckHook,
darwin,
sparsehash,
Expand All @@ -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";
Expand All @@ -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
Expand Down Expand Up @@ -94,10 +96,7 @@ buildPythonPackage rec {
export XMLPARSER=libxml2
'';

nativeCheckInputs = [
nose
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];

preCheck =
''
Expand Down

0 comments on commit 5b87953

Please sign in to comment.