libkml: init at 1.3.0
Adding libkml with all tests enabled
This commit is contained in:
parent
2ff00c41d7
commit
8be2040cf7
53
pkgs/development/libraries/libkml/default.nix
Normal file
53
pkgs/development/libraries/libkml/default.nix
Normal file
@ -0,0 +1,53 @@
|
||||
{ stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, boost
|
||||
, expat
|
||||
, zlib
|
||||
, uriparser
|
||||
, minizip
|
||||
, gtest
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libkml";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libkml";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0gl4cqfps9mzx6hzf3dc10hy5y8smpyf1s31sqm7w343hgsllv0z";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DBUILD_TESTING=ON"
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtest
|
||||
boost
|
||||
expat
|
||||
zlib
|
||||
uriparser
|
||||
minizip
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export LD_LIBRARY_PATH=$PWD/lib
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Reference implementation of OGC KML 2.2";
|
||||
homepage = https://github.com/libkml/libkml;
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ costrouc ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
@ -12907,6 +12907,8 @@ in
|
||||
|
||||
libkate = callPackage ../development/libraries/libkate { };
|
||||
|
||||
libkml = callPackage ../development/libraries/libkml { };
|
||||
|
||||
libksba = callPackage ../development/libraries/libksba { };
|
||||
|
||||
libksi = callPackage ../development/libraries/libksi { };
|
||||
|
Loading…
Reference in New Issue
Block a user