File tree Expand file tree Collapse file tree 3 files changed +25
-21
lines changed
Expand file tree Collapse file tree 3 files changed +25
-21
lines changed Original file line number Diff line number Diff line change 1111 lz4 ,
1212} :
1313
14- stdenv . mkDerivation rec {
14+ stdenv . mkDerivation ( finalAttrs : {
1515 pname = "libosmium" ;
16- version = "2.20 .0" ;
16+ version = "2.21 .0" ;
1717
1818 src = fetchFromGitHub {
1919 owner = "osmcode" ;
2020 repo = "libosmium" ;
21- rev = "v${ version } " ;
22- sha256 = "sha256-QM6Nj2cmrhUysR2enFKhTWXdBXNqM21/Yqdn/zXEfYE =" ;
21+ tag = "v${ finalAttrs . version } " ;
22+ hash = "sha256-IGZQBziXKYVG+uKLjHr6LsIF5H8klq6LGF5j1KrfHZU =" ;
2323 } ;
2424
2525 nativeBuildInputs = [ cmake ] ;
@@ -33,18 +33,18 @@ stdenv.mkDerivation rec {
3333 lz4
3434 ] ;
3535
36- cmakeFlags = [ "-DINSTALL_GDALCPP:BOOL=ON" ] ;
36+ cmakeFlags = [ ( lib . cmakeBool "INSTALL_GDALCPP" true ) ] ;
3737
3838 doCheck = true ;
3939
40- meta = with lib ; {
40+ meta = {
4141 description = "Fast and flexible C++ library for working with OpenStreetMap data" ;
4242 homepage = "https://osmcode.org/libosmium/" ;
43- license = licenses . boost ;
43+ license = lib . licenses . boost ;
4444 changelog = [
45- "https://github.com/osmcode/libosmium/releases/tag/v${ version } "
46- "https://github.com/osmcode/libosmium/blob/v${ version } /CHANGELOG.md"
45+ "https://github.com/osmcode/libosmium/releases/tag/v${ finalAttrs . version } "
46+ "https://github.com/osmcode/libosmium/blob/v${ finalAttrs . version } /CHANGELOG.md"
4747 ] ;
48- maintainers = with maintainers ; teams . geospatial . members ++ [ das-g ] ;
48+ maintainers = lib . teams . geospatial . members ++ ( with lib . maintainers ; [ das-g ] ) ;
4949 } ;
50- }
50+ } )
Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ stdenv.mkDerivation rec {
3737 url = "https://github.com/Tencent/rapidjson/commit/862c39be371278a45a88d4d1d75164be57bb7e2d.patch" ;
3838 hash = "sha256-V5zbq/THUY75p1RdEPKJK2NVnxbZs07MMwJBAH7nAMg=" ;
3939 } )
40+ ( fetchpatch {
41+ url = "https://github.com/osmcode/osmium-tool/commit/1c62771a62f260b07c1b9a52338a24a978dcd967.patch" ;
42+ hash = "sha256-/2HUu4tLRZzoCcGVEM61gE4RjiA2XGalr9OnhCUhKj8=" ;
43+ } )
4044 ] ;
4145
4246 nativeBuildInputs = [
Original file line number Diff line number Diff line change 55 cmake ,
66} :
77
8- stdenv . mkDerivation rec {
8+ stdenv . mkDerivation ( finalAttrs : {
99 pname = "protozero" ;
10- version = "1.7.1 " ;
10+ version = "1.8.0 " ;
1111
1212 src = fetchFromGitHub {
1313 owner = "mapbox" ;
1414 repo = "protozero" ;
15- rev = "v${ version } " ;
16- sha256 = "sha256-R8lGewsEOxPNbKlkIeiM4yIwUcTzi2Dm0+xJ2WrBTBQ =" ;
15+ tag = "v${ finalAttrs . version } " ;
16+ hash = "sha256-kqR0YLxkRu8WclxaoR/zx+2sRTEZus7dUTbqjBkv12U =" ;
1717 } ;
1818
1919 nativeBuildInputs = [ cmake ] ;
2020
21- meta = with lib ; {
21+ meta = {
2222 description = "Minimalistic protocol buffer decoder and encoder in C++" ;
2323 homepage = "https://github.com/mapbox/protozero" ;
24- license = with licenses ; [
24+ license = with lib . licenses ; [
2525 bsd2
2626 asl20
2727 ] ;
2828 changelog = [
29- "https://github.com/mapbox/protozero/releases/tag/v${ version } "
30- "https://github.com/mapbox/protozero/blob/v${ version } /CHANGELOG.md"
29+ "https://github.com/mapbox/protozero/releases/tag/v${ finalAttrs . version } "
30+ "https://github.com/mapbox/protozero/blob/v${ finalAttrs . version } /CHANGELOG.md"
3131 ] ;
32- maintainers = with maintainers ; teams . geospatial . members ++ [ das-g ] ;
32+ maintainers = lib . teams . geospatial . members ++ ( with lib . maintainers ; [ das-g ] ) ;
3333 } ;
34- }
34+ } )
You can’t perform that action at this time.
0 commit comments