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
29
pkgs/tools/bluetooth/obexftp/default.nix
Normal file
29
pkgs/tools/bluetooth/obexftp/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchurl, pkg-config, openobex, bluez, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "obexftp";
|
||||
version = "0.24.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/openobex/obexftp-${version}-Source.tar.gz";
|
||||
sha256 = "18w9r78z78ri5qc8fjym4nk1jfbrkyr789sq7rxrkshf1a7b83yl";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config cmake ];
|
||||
|
||||
buildInputs = [ bluez ];
|
||||
|
||||
propagatedBuildInputs = [ openobex ];
|
||||
|
||||
# There's no such thing like "bluetooth" library; possibly they meant "bluez" but it links correctly without this.
|
||||
postFixup = ''
|
||||
sed -i 's,^Requires: bluetooth,Requires:,' $out/lib/pkgconfig/obexftp.pc
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp";
|
||||
description = "A library and tool to access files on OBEX-based devices (such as Bluetooth phones)";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.lgpl2Plus;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue