Merge pull request #91735 from danieldk/osmium-tests
osmium-tools: run tests, install man pages and zsh completions
This commit is contained in:
commit
3d4a02f1a7
@ -1,4 +1,15 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, libosmium, protozero, boost, bzip2, zlib, expat }:
|
{ stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, installShellFiles
|
||||||
|
, pandoc
|
||||||
|
, boost
|
||||||
|
, bzip2
|
||||||
|
, expat
|
||||||
|
, libosmium
|
||||||
|
, protozero
|
||||||
|
, zlib
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "osmium-tool";
|
pname = "osmium-tool";
|
||||||
@ -11,8 +22,26 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "13142hj8gfgj6w51a62hjzfmzic90xgrnnlnb70hpdqjy86bxv7j";
|
sha256 = "13142hj8gfgj6w51a62hjzfmzic90xgrnnlnb70hpdqjy86bxv7j";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ libosmium protozero boost bzip2 zlib expat ];
|
cmake
|
||||||
|
installShellFiles
|
||||||
|
pandoc
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
boost
|
||||||
|
bzip2
|
||||||
|
expat
|
||||||
|
libosmium
|
||||||
|
protozero
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installShellCompletion --zsh ../zsh_completion/_osmium
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Multipurpose command line tool for working with OpenStreetMap data based on the Osmium library";
|
description = "Multipurpose command line tool for working with OpenStreetMap data based on the Osmium library";
|
||||||
|
@ -12,8 +12,10 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
buildInputs = [ protozero zlib bzip2 expat boost ];
|
buildInputs = [ protozero zlib bzip2 expat boost ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Fast and flexible C++ library for working with OpenStreetMap data";
|
description = "Fast and flexible C++ library for working with OpenStreetMap data";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user