Unverified Commit f2287920 authored by Adam C. Stephens's avatar Adam C. Stephens Committed by GitHub
Browse files

mbutil: migrate to by-name (#488835)

parents b5832c03 769e3e8c
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
{
  lib,
  buildPythonApplication,
  python3Packages,
  fetchFromGitHub,
  setuptools,
  pytestCheckHook,
}:

buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
  pname = "mbutil";
  version = "0.3.0";
  pyproject = true;
@@ -20,10 +18,14 @@ buildPythonApplication rec {

  patches = [ ./migrate_to_pytest.patch ];

  build-system = [ setuptools ];
  build-system = [ python3Packages.setuptools ];

  nativeCheckInputs = [ pytestCheckHook ];
  nativeCheckInputs = [ python3Packages.pytestCheckHook ];
  enabledTestPaths = [ "test/test.py" ];
  disabledTests = [
    # sqlite3.OperationalError: database is locked
    "test_utf8grid_disk_to_mbtiles"
  ];

  meta = {
    description = "Importer and exporter for MBTiles";
+0 −2
Original line number Diff line number Diff line
@@ -2995,8 +2995,6 @@ with pkgs;

  marimo = with python3Packages; toPythonApplication marimo;

  mbutil = python310Packages.callPackage ../applications/misc/mbutil { };

  mcstatus = with python3Packages; toPythonApplication mcstatus;

  miniupnpd = callPackage ../tools/networking/miniupnpd { };