nur-packages

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

default.nix (749B)


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