uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
33
pkgs/development/libraries/neardal/default.nix
Normal file
33
pkgs/development/libraries/neardal/default.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, libtool, pkg-config, glib, readline, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "neardal";
|
||||
version = "unstable-0.7-post-git-2015-09-30";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "connectivity";
|
||||
repo = "neardal";
|
||||
rev = "5b1c8b5c2c45c10f11cee12fbcb397f8953850d7";
|
||||
sha256 = "12qwg7qiw2wfpaxfg2fjkmj5lls0g33xp6w433g8bnkvwlq4s29g";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config makeWrapper autoconf automake ];
|
||||
buildInputs = [ glib readline ];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace "ncl/Makefile.am" --replace "noinst_PROGRAMS" "bin_PROGRAMS"
|
||||
substituteInPlace "demo/Makefile.am" --replace "noinst_PROGRAMS" "bin_PROGRAMS"
|
||||
sh autogen.sh
|
||||
'';
|
||||
|
||||
configureFlags = [ "--disable-dependency-tracking" "--disable-traces" ];
|
||||
|
||||
meta = with lib; {
|
||||
broken = (stdenv.isLinux && stdenv.isAarch64);
|
||||
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 = platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue