summary refs log tree commit diff
path: root/pkgs/development/python-modules/staticmap/default.nix
blob: bb3eac8655bdfed8d6865efc9a17444cd9ffa800 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ lib
, buildPythonPackage
, fetchPypi
, pillow
, requests
}:

buildPythonPackage rec {
  pname = "staticmap";
  version = "0.5.7";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-x6lrkCumEpLoGMILCBBhnWuBps21C8wauS1QrE2yCn8=";
  };

  propagatedBuildInputs = [ requests pillow ];

  pythonImportsCheck = [ "staticmap" ];

  # Tests seem to be broken
  doCheck = false;

  meta = with lib; {
    description = "A small, python-based library for creating map images with lines and markers";
    homepage = "https://pypi.org/project/staticmap/";
    license = with licenses; [ asl20 ];
    maintainers = with maintainers; [ traxys ];
  };
}