nur-packages

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

default.nix (789B)


      1 {
      2   lib,
      3   fetchFromGitHub,
      4   python3Packages,
      5   rio-mucho,
      6 }:
      7 
      8 python3Packages.buildPythonPackage rec {
      9   pname = "rio-color";
     10   version = "1.0.4";
     11 
     12   src = fetchFromGitHub {
     13     owner = "mapbox";
     14     repo = "rio-color";
     15     rev = version;
     16     hash = "sha256-bkXDw8MW0Q+xhYbfN7vexNUzTIjT9c67e6adavQSP1A=";
     17   };
     18 
     19   nativeBuildInputs = with python3Packages; [ cython ];
     20 
     21   dependencies = with python3Packages; [
     22     click
     23     rasterio
     24     rio-mucho
     25   ];
     26 
     27   doCheck = false;
     28 
     29   nativeCheckInputs = with python3Packages; [ pytestCheckHook ];
     30 
     31   pythonImportsCheck = [ "rio_color" ];
     32 
     33   meta = {
     34     description = "Color correction plugin for rasterio";
     35     homepage = "https://github.com/mapbox/rio-color";
     36     license = lib.licenses.mit;
     37     maintainers = [ lib.maintainers.sikmir ];
     38   };
     39 }