nur-packages

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

default.nix (709B)


      1 { lib, stdenv, fetchFromGitHub, cmake, doxygen }:
      2 
      3 stdenv.mkDerivation rec {
      4   pname = "geographiclib";
      5   version = "2.1.1";
      6 
      7   src = fetchFromGitHub {
      8     owner = "geographiclib";
      9     repo = "geographiclib";
     10     rev = "v${version}";
     11     hash = "sha256-7K4vI5vNSGPo2d9QNmasjJa4oMDfE8WTW6Guk2604Yg=";
     12   };
     13 
     14   nativeBuildInputs = [ cmake doxygen ];
     15 
     16   cmakeFlags = [
     17     "-DBUILD_DOCUMENTATION=ON"
     18   ];
     19 
     20   meta = with lib; {
     21     description = "GeographicLib offers a C++ interfaces to a small (but important!) set of geographic transformations";
     22     homepage = "https://geographiclib.sourceforge.io/";
     23     license = licenses.mit;
     24     maintainers = [ maintainers.sikmir ];
     25     platforms = platforms.unix;
     26   };
     27 }