nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

default.nix (952B)


      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   nativeCheckInputs = with python3Packages; [
     25     pytestCheckHook
     26     mock
     27   ];
     28 
     29   disabledTests = [
     30     "test_get_aoi_from_user_input_address"
     31     "test_get_aoi_from_user_input_rectangle"
     32     "test_get_aoi_from_user_input_coordinates"
     33     "test_get_osm_geometries_from_xml"
     34   ];
     35 
     36   meta = {
     37     description = "Create beautiful maps from OpenStreetMap data in a webapp";
     38     homepage = "https://github.com/chrieke/prettymapp";
     39     license = lib.licenses.mit;
     40     maintainers = [ lib.maintainers.sikmir ];
     41   };
     42 }