nur-packages

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

default.nix (782B)


      1 { lib, python3Packages, fetchFromGitHub }:
      2 
      3 python3Packages.buildPythonPackage rec {
      4   pname = "large-image";
      5   version = "1.25.0";
      6 
      7   src = fetchFromGitHub {
      8     owner = "girder";
      9     repo = "large_image";
     10     rev = "v${version}";
     11     hash = "sha256-JJKQ5Dt4T5I4iy2ghUo7URtCNzZKncAih9KSo/6nzbQ=";
     12   };
     13 
     14   nativeBuildInputs = with python3Packages; [ setuptools-scm ];
     15 
     16   SETUPTOOLS_SCM_PRETEND_VERSION = version;
     17 
     18   propagatedBuildInputs = with python3Packages; [ cachetools palettable pillow psutil numpy ];
     19 
     20   doCheck = false;
     21 
     22   meta = with lib; {
     23     description = "Python modules to work with large multiresolution images";
     24     homepage = "http://girder.github.io/large_image/";
     25     license = licenses.asl20;
     26     maintainers = [ maintainers.sikmir ];
     27     broken = true;
     28   };
     29 }