nur-packages

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

default.nix (576B)


      1 { lib, stdenv, fetchFromGitHub, cmake }:
      2 
      3 stdenv.mkDerivation rec {
      4   pname = "gpstk";
      5   version = "8.0.0";
      6 
      7   src = fetchFromGitHub {
      8     owner = "SGL-UT";
      9     repo = "GPSTk";
     10     rev = "v${version}";
     11     hash = "sha256-kauRkx7KjVFdjl3JPiCxeuuVGVJ69e87RZQhepRrsWY=";
     12   };
     13 
     14   nativeBuildInputs = [ cmake ];
     15 
     16   cmakeFlags = [ "-DBUILD_EXT=ON" ];
     17 
     18   meta = with lib; {
     19     description = "Toolkit for developing GPS applications";
     20     inherit (src.meta) homepage;
     21     license = licenses.lgpl3Plus;
     22     maintainers = [ maintainers.sikmir ];
     23     platforms = platforms.unix;
     24   };
     25 }