nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 31430f681079c175c136d8b8f3713641f228266f
parent 198fdd27045aba6efa7726ab0bc2ada8599d8cf9
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Sun, 23 Oct 2022 06:39:54 +0300

Move geographiclib to nixpkgs

Diffstat:
Mpkgs/default.nix | 1-
Dpkgs/geospatial/geographiclib/default.nix | 34----------------------------------
2 files changed, 0 insertions(+), 35 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -178,7 +178,6 @@ lib.makeScope newScope ( elevation = callPackage ./geospatial/elevation { click = click-6-7; }; - geographiclib = callPackage ./geospatial/geographiclib { }; geojson-pydantic = callPackage ./geospatial/geojson-pydantic { }; geowebcache = callPackage ./geospatial/geowebcache { }; go-pmtiles = callPackage ./geospatial/go-pmtiles { }; diff --git a/pkgs/geospatial/geographiclib/default.nix b/pkgs/geospatial/geographiclib/default.nix @@ -1,34 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, cmake, doxygen }: - -stdenv.mkDerivation rec { - pname = "geographiclib"; - version = "2.1.1"; - - src = fetchFromGitHub { - owner = "geographiclib"; - repo = "geographiclib"; - rev = "v${version}"; - hash = "sha256-7K4vI5vNSGPo2d9QNmasjJa4oMDfE8WTW6Guk2604Yg="; - }; - - nativeBuildInputs = [ cmake doxygen ]; - - cmakeFlags = [ - "-DBUILD_DOCUMENTATION=ON" - "-DCMAKE_INSTALL_LIBDIR=lib" - ]; - - meta = with lib; { - description = "C++ geographic library"; - longDescription = '' - GeographicLib is a small C++ library for: - * geodesic and rhumb line calculations - * conversions between geographic, UTM, UPS, MGRS, geocentric, and local cartesian coordinates - * gravity (e.g., EGM2008) and geomagnetic field (e.g., WMM2020) calculations - ''; - homepage = "https://geographiclib.sourceforge.io/"; - license = licenses.mit; - maintainers = [ maintainers.sikmir ]; - platforms = platforms.unix; - }; -}