nur-packages

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

commit e654c9c4b4f8ad880c37d1fc8ee66c0be2fc7afa
parent d19b498f80b864301e3fd5e2118910a8d0ca7f3c
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Mon, 27 Apr 2020 00:34:17 +0300

Add libgarmin

Diffstat:
Mpkgs/default.nix | 3+++
Apkgs/development/libraries/libgarmin/default.nix | 29+++++++++++++++++++++++++++++
2 files changed, 32 insertions(+), 0 deletions(-)

diff --git a/pkgs/default.nix b/pkgs/default.nix @@ -56,6 +56,9 @@ lib.makeScope newScope ( ### DEVELOPMENT / LIBRARIES + libgarmin = callPackage ./development/libraries/libgarmin { + automake = pkgs.automake111x; + }; libshell = callPackage ./development/libraries/libshell {}; ### DEVELOPMENT / PERL MODULES diff --git a/pkgs/development/libraries/libgarmin/default.nix b/pkgs/development/libraries/libgarmin/default.nix @@ -0,0 +1,29 @@ +{ stdenv, fetchsvn, autoconf, automake, libtool }: + +stdenv.mkDerivation rec { + pname = "libgarmin"; + version = "2008-12-27"; + + src = fetchsvn { + url = "https://svn.code.sf.net/p/libgarmin/svn/libgarmin/dev"; + rev = "320"; + sha256 = "sha256-aFXD+HnEZBsg2kcc8m8v95poz87DrwgZl4diHSeQZ78="; + }; + + nativeBuildInputs = [ autoconf automake libtool ]; + + preConfigure = '' + aclocal \ + && autoheader \ + && automake --add-missing \ + && autoreconf + ''; + + meta = with stdenv.lib; { + description = "Garmin IMG format library"; + homepage = "http://libgarmin.sourceforge.net/"; + license = licenses.gpl2; + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.linux; + }; +}