nur-packages

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

default.nix (759B)


      1 { lib, stdenv, python3Packages, fetchFromGitHub, xyzservices }:
      2 
      3 python3Packages.buildPythonPackage rec {
      4   pname = "contextily";
      5   version = "1.2.0";
      6   disabled = python3Packages.pythonOlder "3.6";
      7 
      8   src = fetchFromGitHub {
      9     owner = "geopandas";
     10     repo = "contextily";
     11     rev = "v${version}";
     12     hash = "sha256-ByLPd75MZCsa8l24lkIZVNX4RrT8LN3D0O4tLOb6hTI=";
     13   };
     14 
     15   propagatedBuildInputs = with python3Packages; [
     16     geopy
     17     matplotlib
     18     mercantile
     19     pillow
     20     rasterio
     21     requests
     22     joblib
     23     xyzservices
     24   ];
     25 
     26   doCheck = false;
     27 
     28   meta = with lib; {
     29     description = "Context geo-tiles in Python";
     30     homepage = "https://github.com/geopandas/contextily";
     31     license = licenses.bsd3;
     32     maintainers = [ maintainers.sikmir ];
     33   };
     34 }