nur-packages

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

default.nix (848B)


      1 { lib, stdenv, fetchFromGitHub, python3Packages, testers, morecantile }:
      2 
      3 python3Packages.buildPythonPackage rec {
      4   pname = "morecantile";
      5   version = "3.1.2";
      6   disabled = python3Packages.pythonOlder "3.6";
      7 
      8   src = fetchFromGitHub {
      9     owner = "developmentseed";
     10     repo = "morecantile";
     11     rev = version;
     12     hash = "sha256-QvqXpcjunRWzfdcoyt3pUulDd20Ga8Cs9NTeLnUf5c8=";
     13   };
     14 
     15   propagatedBuildInputs = with python3Packages; [ attrs pydantic pyproj ];
     16 
     17   checkInputs = with python3Packages; [ mercantile pytestCheckHook ];
     18 
     19   passthru.tests.version = testers.testVersion {
     20     package = morecantile;
     21   };
     22 
     23   meta = with lib; {
     24     description = "Construct and use map tile grids in different projection";
     25     homepage = "https://developmentseed.org/morecantile/";
     26     license = licenses.mit;
     27     maintainers = [ maintainers.sikmir ];
     28   };
     29 }