nur-packages

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

package.nix (902B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonApplication rec {
      8   pname = "supermercado";
      9   version = "0.3.0";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "mapbox";
     14     repo = "supermercado";
     15     tag = version;
     16     hash = "sha256-5wE4XGRmMMFOCT4YCn4lwu9O6nn2wqYeQoU/cEjkv0g=";
     17   };
     18 
     19   build-system = with python3Packages; [ setuptools ];
     20 
     21   dependencies = with python3Packages; [
     22     click-plugins
     23     rasterio
     24     mercantile
     25     numpy
     26   ];
     27 
     28   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     29 
     30   disabledTests = [
     31     "test_burn_tile_center_point_roundtrip"
     32     "test_burn_tile_center_lines_roundtrip"
     33     "test_burn_cli_tile_shape"
     34   ];
     35 
     36   meta = {
     37     description = "Supercharger for mercantile";
     38     homepage = "https://github.com/mapbox/supermercado";
     39     license = lib.licenses.mit;
     40     maintainers = [ lib.maintainers.sikmir ];
     41   };
     42 }