diff --git a/pkgs/development/libraries/neardal/default.nix b/pkgs/development/libraries/neardal/default.nix new file mode 100644 index 000000000000..8ef5d83c211f --- /dev/null +++ b/pkgs/development/libraries/neardal/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, autoconf, automake, libtool, gettext, pkgconfig, glib, readline }: + +stdenv.mkDerivation rec { + name = "neardal-0.7-post-git-20150930"; + + src = fetchFromGitHub { + owner = "connectivity"; + repo = "neardal"; + rev = "5b1c8b5c2c45c10f11cee12fbcb397f8953850d7"; + sha256 = "12qwg7qiw2wfpaxfg2fjkmj5lls0g33xp6w433g8bnkvwlq4s29g"; + }; + + buildInputs = [ autoconf automake libtool pkgconfig glib readline ]; + + preConfigure = '' + sh autogen.sh + ''; + + configureFlags = [ "--disable-dependency-tracking" "--disable-traces" ]; + + meta = with stdenv.lib; { + description = "C APIs to exchange datas with the NFC daemon 'Neard'"; + license = licenses.lgpl2; + homepage = https://01.org/linux-nfc; + maintainers = with maintainers; [ tstrobel ]; + platforms = with platforms; unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6ccf4b109a60..9d75eae8cacc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7658,6 +7658,8 @@ let ncurses = callPackage ../development/libraries/ncurses { }; + neardal = callPackage ../development/libraries/neardal { }; + neon = callPackage ../development/libraries/neon { compressionSupport = true; sslSupport = true;