default.nix (735B)
1 { 2 lib, 3 python3Packages, 4 fetchFromGitHub, 5 }: 6 7 python3Packages.buildPythonApplication { 8 pname = "py-osm-static-maps"; 9 version = "0-unstable-2024-10-16"; 10 11 src = fetchFromGitHub { 12 owner = "NHellFire"; 13 repo = "py-osm-static-maps"; 14 rev = "0ef9cee293f0b1aeb64838da186076f35cebc16d"; 15 hash = "sha256-5+7hPRzryiH9fC2cY+/IDZAAxGw2wYZvSR9V+EjVN1I="; 16 }; 17 18 dependencies = with python3Packages; [ 19 flask 20 pillow 21 requests 22 selenium 23 setuptools 24 ]; 25 26 meta = { 27 description = "Python rewrite of jperelli/osm-static-maps"; 28 homepage = "https://github.com/NHellFire/py-osm-static-maps"; 29 license = lib.licenses.gpl2; 30 maintainers = [ lib.maintainers.sikmir ]; 31 mainProgram = "osmsm"; 32 }; 33 }