nur-packages

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

default.nix (936B)


      1 { lib, stdenv, python3Packages, fetchFromGitHub }:
      2 
      3 python3Packages.buildPythonPackage rec {
      4   pname = "contextily";
      5   version = "1.5.0";
      6   pyproject = true;
      7   disabled = python3Packages.pythonOlder "3.8";
      8 
      9   src = fetchFromGitHub {
     10     owner = "geopandas";
     11     repo = "contextily";
     12     rev = "v${version}";
     13     hash = "sha256-JSEjxAD7e2LZktKBL5c+64HosY1VlOqn6+vbCX6MzVs=";
     14   };
     15 
     16   nativeBuildInputs = with python3Packages; [ setuptools-scm ];
     17 
     18   SETUPTOOLS_SCM_PRETEND_VERSION = version;
     19 
     20   propagatedBuildInputs = with python3Packages; [
     21     geopy
     22     matplotlib
     23     mercantile
     24     pillow
     25     rasterio
     26     requests
     27     joblib
     28     xyzservices
     29   ];
     30 
     31   checkInputs = with python3Packages; [ pytestCheckHook ];
     32 
     33   doCheck = false;
     34 
     35   meta = with lib; {
     36     description = "Context geo-tiles in Python";
     37     homepage = "https://github.com/geopandas/contextily";
     38     license = licenses.bsd3;
     39     maintainers = [ maintainers.sikmir ];
     40   };
     41 }