nur-packages

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

default.nix (723B)


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