default.nix (910B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonPackage rec { 8 pname = "geotiler"; 9 version = "0.15.1"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "wrobell"; 14 repo = "geotiler"; 15 tag = "geotiler-${version}"; 16 hash = "sha256-fiY5cJIus4eLzSfqVjZfmco4pFABYWNPVUOXGGYPEso="; 17 }; 18 19 dependencies = with python3Packages; [ 20 aiohttp 21 cytoolz 22 numpy 23 pillow 24 setuptools 25 ]; 26 27 nativeCheckInputs = with python3Packages; [ 28 pytestCheckHook 29 pytest-asyncio 30 pytest-cov 31 ]; 32 33 postInstall = '' 34 cp -r geotiler/source $out/lib/${python3Packages.python.libPrefix}/site-packages/geotiler 35 ''; 36 37 meta = { 38 description = "GeoTiler is a library to create map using tiles from a map provider"; 39 homepage = "https://wrobell.dcmod.org/geotiler"; 40 license = lib.licenses.gpl3Plus; 41 maintainers = [ lib.maintainers.sikmir ]; 42 }; 43 }