0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

geographiclib: 2.4 -> 2.5 (#369112)

This commit is contained in:
Nikolay Korotkiy 2024-12-29 19:02:57 +04:00 committed by GitHub
commit 8408ef9aaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,26 +8,32 @@
stdenv.mkDerivation rec {
pname = "geographiclib";
version = "2.4";
version = "2.5";
src = fetchFromGitHub {
owner = "geographiclib";
repo = "geographiclib";
rev = "v${version}";
hash = "sha256-1CuB3H4KFFRo8wdFaa9NQLBdT8HxK2AdiVkEhbeYagM=";
tag = "v${version}";
hash = "sha256-hFheJ6Q1GEfqPVq7t4SHN/n2JniqCQUzwl7GEVG0jgo=";
};
outputs = [
"dev"
"doc"
"out"
];
nativeBuildInputs = [
cmake
doxygen
];
cmakeFlags = [
"-DBUILD_DOCUMENTATION=ON"
"-DCMAKE_INSTALL_LIBDIR=lib"
(lib.cmakeBool "BUILD_DOCUMENTATION" true)
(lib.cmakeFeature "CMAKE_INSTALL_LIBDIR" "lib")
];
meta = with lib; {
meta = {
description = "C++ geographic library";
longDescription = ''
GeographicLib is a small C++ library for:
@ -36,8 +42,8 @@ stdenv.mkDerivation rec {
* gravity (e.g., EGM2008) and geomagnetic field (e.g., WMM2020) calculations
'';
homepage = "https://geographiclib.sourceforge.io/";
license = licenses.mit;
maintainers = with maintainers; [ sikmir ];
platforms = platforms.unix;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sikmir ];
platforms = lib.platforms.unix;
};
}