Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / neardal / default.nix
blob485c803d4cbea01df1ed2b80ebc03804279cde76
1 { lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, glib, readline, makeWrapper }:
3 stdenv.mkDerivation {
4   pname = "neardal";
5   version = "unstable-0.7-post-git-2015-09-30";
7   src = fetchFromGitHub {
8     owner = "connectivity";
9     repo = "neardal";
10     rev = "5b1c8b5c2c45c10f11cee12fbcb397f8953850d7";
11     sha256 = "12qwg7qiw2wfpaxfg2fjkmj5lls0g33xp6w433g8bnkvwlq4s29g";
12   };
14   nativeBuildInputs = [ pkg-config makeWrapper autoconf automake ];
15   buildInputs = [ glib readline ];
17   preConfigure = ''
18     substituteInPlace "ncl/Makefile.am" --replace "noinst_PROGRAMS" "bin_PROGRAMS"
19     substituteInPlace "demo/Makefile.am" --replace "noinst_PROGRAMS" "bin_PROGRAMS"
20     sh autogen.sh
21   '';
23   configureFlags = [ "--disable-dependency-tracking" "--disable-traces" ];
25   meta = with lib; {
26     broken = true; # 2022-11-13
27     description = "C APIs to exchange datas with the NFC daemon 'Neard'";
28     license = licenses.lgpl2;
29     homepage = "https://01.org/linux-nfc";
30     maintainers = with maintainers; [ ];
31     platforms = platforms.linux;
32   };