package.nix (979B)
1 { 2 lib, 3 stdenv, 4 python3Packages, 5 fetchFromGitHub, 6 }: 7 8 python3Packages.buildPythonPackage rec { 9 pname = "prettymapp"; 10 version = "0.5.0"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "chrieke"; 15 repo = "prettymapp"; 16 tag = version; 17 hash = "sha256-kjfxHjKLISGXNovX4CPW0cbQizGw1LebXh8yDTAkeYk="; 18 }; 19 20 build-system = with python3Packages; [ setuptools ]; 21 22 dependencies = with python3Packages; [ osmnx ]; 23 24 pythonRelaxDeps = true; 25 26 nativeCheckInputs = with python3Packages; [ 27 pytestCheckHook 28 mock 29 ]; 30 31 disabledTests = [ 32 "test_get_aoi_from_user_input_address" 33 "test_get_aoi_from_user_input_rectangle" 34 "test_get_aoi_from_user_input_coordinates" 35 "test_get_osm_geometries_from_xml" 36 ]; 37 38 meta = { 39 description = "Create beautiful maps from OpenStreetMap data in a webapp"; 40 homepage = "https://github.com/chrieke/prettymapp"; 41 license = lib.licenses.mit; 42 maintainers = [ lib.maintainers.sikmir ]; 43 }; 44 }