nur-packages

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

default.nix (712B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5 }:
      6 
      7 python3Packages.buildPythonApplication {
      8   pname = "supermercado";
      9   version = "0.2.0";
     10 
     11   src = fetchFromGitHub {
     12     owner = "mapbox";
     13     repo = "supermercado";
     14     rev = "44841a07adff32665fae736f9ba7df8c7b24ac44";
     15     hash = "sha256-k2S1aOHQEJq//4mdWZ5GhJQJjKqJuDbBztoHi373s6w=";
     16   };
     17 
     18   dependencies = with python3Packages; [
     19     click-plugins
     20     rasterio
     21     mercantile
     22     numpy
     23   ];
     24 
     25   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     26 
     27   meta = {
     28     description = "Supercharger for mercantile";
     29     homepage = "https://github.com/mapbox/supermercado";
     30     license = lib.licenses.mit;
     31     maintainers = [ lib.maintainers.sikmir ];
     32   };
     33 }