nur-packages

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

default.nix (800B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5   pymbtiles,
      6 }:
      7 
      8 python3Packages.buildPythonApplication rec {
      9   pname = "tpkutils";
     10   version = "0.8.2";
     11   pyproject = true;
     12 
     13   src = fetchFromGitHub {
     14     owner = "consbio";
     15     repo = "tpkutils";
     16     rev = version;
     17     hash = "sha256-iKM+tEEOtSkwDdkBN+n35q3D2IBi7a/bnY/fSlGDowU=";
     18   };
     19 
     20   build-system = with python3Packages; [ poetry-core ];
     21 
     22   dependencies = with python3Packages; [
     23     mercantile
     24     pymbtiles
     25     six
     26     setuptools # pkg_resources
     27   ];
     28 
     29   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     30 
     31   meta = {
     32     description = "ArcGIS Tile Package Utilities";
     33     homepage = "https://github.com/consbio/tpkutils";
     34     license = lib.licenses.isc;
     35     maintainers = [ lib.maintainers.sikmir ];
     36     mainProgram = "tpk";
     37   };
     38 }