Merge pull request #145209 from thiagokokada/zhf-remove-libkml
This commit is contained in:
commit
0d0df3e192
3 changed files with 1 additions and 58 deletions
|
@ -1,56 +0,0 @@
|
||||||
{ lib, 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"
|
|
||||||
# Darwin tests require rpath for libs in build dir
|
|
||||||
] ++ lib.optional stdenv.isDarwin [
|
|
||||||
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
gtest
|
|
||||||
boost
|
|
||||||
expat
|
|
||||||
zlib
|
|
||||||
uriparser
|
|
||||||
minizip
|
|
||||||
];
|
|
||||||
|
|
||||||
preCheck = ''
|
|
||||||
export LD_LIBRARY_PATH=$PWD/lib
|
|
||||||
'';
|
|
||||||
|
|
||||||
doCheck = true;
|
|
||||||
|
|
||||||
meta = with 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;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -432,6 +432,7 @@ mapAliases ({
|
||||||
libintlOrEmpty = lib.optional (!stdenv.isLinux || stdenv.hostPlatform.libc != "glibc") gettext; # added 2018-03-14
|
libintlOrEmpty = lib.optional (!stdenv.isLinux || stdenv.hostPlatform.libc != "glibc") gettext; # added 2018-03-14
|
||||||
libjpeg_drop = libjpeg_original; # added 2020-06-05
|
libjpeg_drop = libjpeg_original; # added 2020-06-05
|
||||||
libjson_rpc_cpp = libjson-rpc-cpp; # added 2017-02-28
|
libjson_rpc_cpp = libjson-rpc-cpp; # added 2017-02-28
|
||||||
|
libkml = throw "libkml has been removed from nixpkgs, as it's abandoned and no package needed it."; # added 2021-11-09
|
||||||
liblapackWithoutAtlas = lapack-reference; # added 2018-11-05
|
liblapackWithoutAtlas = lapack-reference; # added 2018-11-05
|
||||||
liblastfm = libsForQt5.liblastfm; # added 2020-06-14
|
liblastfm = libsForQt5.liblastfm; # added 2020-06-14
|
||||||
liblrdf = lrdf; # added 2018-04-25
|
liblrdf = lrdf; # added 2018-04-25
|
||||||
|
|
|
@ -17854,8 +17854,6 @@ with pkgs;
|
||||||
|
|
||||||
libkeyfinder = callPackage ../development/libraries/audio/libkeyfinder { };
|
libkeyfinder = callPackage ../development/libraries/audio/libkeyfinder { };
|
||||||
|
|
||||||
libkml = callPackage ../development/libraries/libkml { };
|
|
||||||
|
|
||||||
libks = callPackage ../development/libraries/libks { };
|
libks = callPackage ../development/libraries/libks { };
|
||||||
|
|
||||||
libksba = callPackage ../development/libraries/libksba { };
|
libksba = callPackage ../development/libraries/libksba { };
|
||||||
|
|
Loading…
Reference in a new issue