python3Packages.morecantile: fix build
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
flit,
|
||||
hatchling,
|
||||
|
||||
# dependencies
|
||||
attrs,
|
||||
@@ -32,7 +31,7 @@ buildPythonPackage rec {
|
||||
hash = "sha256-VDe39J4z5aSmdARaYknon4BK7OpovEzni0OVCxKRAkE=";
|
||||
};
|
||||
|
||||
build-system = [ flit ];
|
||||
build-system = [ hatchling ];
|
||||
|
||||
dependencies = [
|
||||
attrs
|
||||
@@ -48,26 +47,6 @@ buildPythonPackage rec {
|
||||
versionCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# AssertionError CLI exists with non-zero error code
|
||||
# This is a regression introduced by https://github.com/NixOS/nixpkgs/pull/448189
|
||||
"test_cli_shapes"
|
||||
"test_cli_shapesWGS84"
|
||||
"test_cli_strict_overlap_contain"
|
||||
"test_cli_tiles_bad_bounds"
|
||||
"test_cli_tiles_geosjon"
|
||||
"test_cli_tiles_implicit_stdin"
|
||||
"test_cli_tiles_multi_bounds"
|
||||
"test_cli_tiles_multi_bounds_seq"
|
||||
"test_cli_tiles_ok"
|
||||
"test_cli_tiles_points"
|
||||
"test_cli_tiles_seq"
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
# https://github.com/developmentseed/morecantile/issues/156
|
||||
"test_tiles_when_tms_bounds_and_provided_bounds_cross_antimeridian"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "morecantile" ];
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user