nur-packages

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

default.nix (782B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonApplication rec {
      8   pname = "supermorecado";
      9   version = "0.1.2";
     10   pyproject = true;
     11 
     12   src = fetchFromGitHub {
     13     owner = "developmentseed";
     14     repo = "supermorecado";
     15     rev = version;
     16     hash = "sha256-CuuJ4B/f7JoGQuTo5LS3WqMD860tucZ6z/97atw94k0=";
     17   };
     18 
     19   build-system = with python3Packages; [ flit ];
     20 
     21   dependencies = with python3Packages; [
     22     morecantile
     23     rasterio
     24   ];
     25 
     26   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     27 
     28   meta = {
     29     description = "Extend the functionality of morecantile with additional commands";
     30     homepage = "https://github.com/developmentseed/supermorecado";
     31     license = lib.licenses.mit;
     32     maintainers = [ lib.maintainers.sikmir ];
     33   };
     34 }