default.nix (839B)
1 { lib, python3Packages, fetchFromGitHub }: 2 3 python3Packages.buildPythonPackage rec { 4 pname = "prettymapp"; 5 version = "2022-08-10"; 6 7 src = fetchFromGitHub { 8 owner = "chrieke"; 9 repo = "prettymapp"; 10 rev = "053b215dafb6493b9efac5093e2e80bf65c5c5b2"; 11 hash = "sha256-/SlXbDv0tkSMSW878zqQ1zSEzt1BAcfK1Ny8kYiUfZs="; 12 }; 13 14 postPatch = "sed -i 's/==.*//' requirements.txt"; 15 16 propagatedBuildInputs = with python3Packages; [ osmnx ]; 17 18 nativeCheckInputs = with python3Packages; [ pytestCheckHook ]; 19 20 disabledTests = [ 21 "test_get_aoi_from_user_input_address" 22 "test_get_aoi_from_user_input_rectangle" 23 ]; 24 25 meta = with lib; { 26 description = "Create beautiful maps from OpenStreetMap data in a webapp"; 27 inherit (src.meta) homepage; 28 license = licenses.mit; 29 maintainers = [ maintainers.sikmir ]; 30 }; 31 }