default.nix (811B)
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 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "NHellFire"; 14 repo = "py-osm-static-maps"; 15 rev = "0ef9cee293f0b1aeb64838da186076f35cebc16d"; 16 hash = "sha256-5+7hPRzryiH9fC2cY+/IDZAAxGw2wYZvSR9V+EjVN1I="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 dependencies = with python3Packages; [ 22 flask 23 pillow 24 requests 25 selenium 26 setuptools 27 ]; 28 29 meta = { 30 description = "Python rewrite of jperelli/osm-static-maps"; 31 homepage = "https://github.com/NHellFire/py-osm-static-maps"; 32 license = lib.licenses.gpl2; 33 maintainers = [ lib.maintainers.sikmir ]; 34 mainProgram = "osmsm"; 35 }; 36 }