nur-packages

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

default.nix (668B)


      1 { lib, fetchFromGitHub, python3Packages }:
      2 
      3 python3Packages.buildPythonPackage rec {
      4   pname = "s2sphere";
      5   version = "0.2.5";
      6 
      7   src = fetchFromGitHub {
      8     owner = "sidewalklabs";
      9     repo = pname;
     10     rev = "d1d067e8c06e5fbaf0cc0158bade947b4a03a438";
     11     hash = "sha256-6hNIuyLTcGcXpLflw2ajCOjel0IaZSFRlPFi81Z5LUo=";
     12   };
     13 
     14   propagatedBuildInputs = with python3Packages; [ future ];
     15 
     16   doCheck = false;
     17 
     18   pythonImportsCheck = [ "s2sphere" ];
     19 
     20   meta = with lib; {
     21     description = "Python implementation of the S2 geometry library";
     22     homepage = "http://s2sphere.sidewalklabs.com/";
     23     license = licenses.mit;
     24     maintainers = [ maintainers.sikmir ];
     25   };
     26 }