python3Packages.pyosmium: 3.1.0 → 3.1.3

This commit is contained in:
Nikolay Korotkiy 2021-03-28 16:47:23 +03:00
parent 4aacd02d33
commit f525c90794
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5
2 changed files with 8 additions and 5 deletions

View File

@ -1,10 +1,10 @@
{ lib, buildPythonPackage, fetchFromGitHub, cmake, python
, libosmium, protozero, boost, expat, bzip2, zlib, pybind11
, nose, shapely, pythonOlder, isPyPy }:
, nose, shapely, pythonOlder, isPyPy, lz4 }:
buildPythonPackage rec {
pname = "pyosmium";
version = "3.1.0";
version = "3.1.3";
disabled = pythonOlder "3.4" || isPyPy;
@ -12,11 +12,11 @@ buildPythonPackage rec {
owner = "osmcode";
repo = pname;
rev = "v${version}";
sha256 = "0m11hdgiysdhyi5yn6nj8a8ycjzx5hpjy7n1c4j6q5caifj7rf7h";
sha256 = "11ma8nr7k2ixwwb55fiqvrj5qbmpgkyfk0canz4l0m8b7rcw3qsc";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libosmium protozero boost expat bzip2 zlib pybind11 ];
buildInputs = [ libosmium protozero boost expat bzip2 zlib pybind11 lz4 ];
preBuild = "cd ..";
@ -27,6 +27,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python bindings for libosmium";
homepage = "https://osmcode.org/pyosmium";
changelog = "https://github.com/osmcode/pyosmium/blob/v${version}/CHANGELOG.md";
license = licenses.bsd2;
maintainers = with maintainers; [ sikmir ];
};

View File

@ -6055,7 +6055,9 @@ in {
pyosf = callPackage ../development/python-modules/pyosf { };
pyosmium = callPackage ../development/python-modules/pyosmium { };
pyosmium = callPackage ../development/python-modules/pyosmium {
inherit (pkgs) lz4;
};
pyotp = callPackage ../development/python-modules/pyotp { };