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