nur-packages

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

default.nix (650B)


      1 { lib, fetchFromGitHub, python3Packages }:
      2 
      3 python3Packages.buildPythonPackage rec {
      4   pname = "mercantile";
      5   version = "1.2.1";
      6 
      7   src = fetchFromGitHub {
      8     owner = "mapbox";
      9     repo = pname;
     10     rev = version;
     11     hash = "sha256-DiDXO2XnD3We6NhP81z7aIHzHrHDi/nkqy98OT9986w=";
     12   };
     13 
     14   propagatedBuildInputs = with python3Packages; [ click ];
     15 
     16   checkInputs = with python3Packages; [ pytestCheckHook hypothesis ];
     17 
     18   meta = with lib; {
     19     description = "Spherical mercator tile and coordinate utilities";
     20     homepage = "http://mercantile.readthedocs.io/en/latest/";
     21     license = licenses.bsd3;
     22     maintainers = [ maintainers.sikmir ];
     23   };
     24 }