nur-packages

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

default.nix (795B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5   sqlite,
      6 }:
      7 
      8 python3Packages.buildPythonApplication {
      9   pname = "polytiles";
     10   version = "0-unstable-2017-06-09";
     11   pyproject = true;
     12 
     13   src = fetchFromGitHub {
     14     owner = "Zverik";
     15     repo = "polytiles";
     16     rev = "c0a057594de9041c7b3ac234a3590101e3825f2d";
     17     hash = "sha256-7rsMx8sQgl8cRiUncP3/mPne6ARj3K2FICU+frUeEUs=";
     18   };
     19 
     20   build-system = with python3Packages; [ setuptools ];
     21 
     22   dependencies = with python3Packages; [
     23     psycopg2
     24     python-mapnik
     25     shapely
     26     sqlite
     27   ];
     28 
     29   meta = {
     30     description = "A script to render tiles for an area with mapnik";
     31     homepage = "https://github.com/Zverik/polytiles";
     32     license = lib.licenses.wtfpl;
     33     maintainers = [ lib.maintainers.sikmir ];
     34     broken = true; # python-mapnik
     35   };
     36 }