connman-gtk: fix FTBFS with GCC-14 (incompatible pointer types) (#376077)
[NixPkgs.git] / pkgs / development / python-modules / tiler / default.nix
blob40766f6436c6d9b2cb7fa4e57abb03f9a4c1b608
2   lib,
3   buildPythonPackage,
4   fetchpatch,
5   fetchPypi,
6   setuptools,
7   setuptools-scm,
8   wheel,
9   numpy,
10   tqdm,
11   pytestCheckHook,
14 buildPythonPackage rec {
15   pname = "tiler";
16   version = "0.5.7";
17   format = "pyproject";
19   src = fetchPypi {
20     inherit pname version;
21     hash = "sha256-2HWO/iJ9RCWNVmw2slu9F/+Mchk3evB5/F8EfbuMI/Y=";
22   };
24   patches = [
25     # https://github.com/the-lay/tiler/pull/24
26     (fetchpatch {
27       name = "unpin-setuptools-scm-dependency.patch";
28       url = "https://github.com/the-lay/tiler/commit/7a9f7e32c5f9c263c1ae28bfd19c7539556684cb.patch";
29       hash = "sha256-TMr3LJtiKUxJv2pAzAd8CWs3AtWsF0YS79NzKBN5TKM=";
30     })
31   ];
33   nativeBuildInputs = [
34     setuptools
35     setuptools-scm
36     wheel
37   ];
39   propagatedBuildInputs = [
40     numpy
41     tqdm
42   ];
44   nativeCheckInputs = [ pytestCheckHook ];
46   pythonImportsCheck = [ "tiler" ];
48   meta = with lib; {
49     description = "N-dimensional NumPy array tiling and merging with overlapping, padding and tapering";
50     homepage = "https://the-lay.github.io/tiler/";
51     license = licenses.mit;
52     maintainers = with maintainers; [ atila ];
53   };