nur-packages

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

commit f676a3a8f6736f7ebd3a45e1c17cb91bbbe3b0d2
parent ea3e40c96f68a8295303548e0656f822b4a7d3a0
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Tue, 28 Apr 2020 04:31:14 +0300

Add geographiclib

Diffstat:
Mpkgs/default.nix | 1+
Apkgs/development/libraries/geographiclib/default.nix | 19+++++++++++++++++++
2 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -58,6 +58,7 @@ lib.makeScope newScope ( ### DEVELOPMENT / LIBRARIES + geographiclib = callPackage ./development/libraries/geographiclib {}; libgarmin = callPackage ./development/libraries/libgarmin { automake = pkgs.automake111x; }; diff --git a/pkgs/development/libraries/geographiclib/default.nix b/pkgs/development/libraries/geographiclib/default.nix @@ -0,0 +1,19 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + pname = "geographiclib"; + version = "1.50.1"; + + src = fetchurl { + url = "mirror://sourceforge/geographiclib/GeographicLib-${version}.tar.gz"; + sha256 = "1wc58csjhjp8jmcqxbaaikqczrjwwimmszlmfrgcrf38w04m0xni"; + }; + + meta = with stdenv.lib; { + description = "GeographicLib offers a C++ interfaces to a small (but important!) set of geographic transformations"; + homepage = "http://geographiclib.sourceforge.io/"; + license = licenses.mit; + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.linux; + }; +}