nur-packages

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

default.nix (876B)


      1 {
      2   lib,
      3   stdenv,
      4   python3Packages,
      5   fetchFromGitHub,
      6 }:
      7 
      8 python3Packages.buildPythonPackage rec {
      9   pname = "prettymapp";
     10   version = "0.3.0";
     11 
     12   src = fetchFromGitHub {
     13     owner = "chrieke";
     14     repo = "prettymapp";
     15     rev = version;
     16     hash = "sha256-6UO2+pvtm3t6LjC2v91NJVLVo74Bdx1xzpHqvL15UCg=";
     17   };
     18 
     19   dependencies = with python3Packages; [ osmnx ];
     20 
     21   nativeCheckInputs = with python3Packages; [
     22     pytestCheckHook
     23     mock
     24   ];
     25 
     26   disabledTests = [
     27     "test_get_aoi_from_user_input_address"
     28     "test_get_aoi_from_user_input_rectangle"
     29     "test_get_aoi_from_user_input_coordinates"
     30     "test_get_osm_geometries_from_xml"
     31   ];
     32 
     33   meta = {
     34     description = "Create beautiful maps from OpenStreetMap data in a webapp";
     35     homepage = "https://github.com/chrieke/prettymapp";
     36     license = lib.licenses.mit;
     37     maintainers = [ lib.maintainers.sikmir ];
     38   };
     39 }