mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
obexftp: fix pkgconfig file, add license
This commit is contained in:
parent
bd4b54557d
commit
4a00e1f70b
@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, pkgconfig, openobex, bluez, cmake}:
|
||||
{ stdenv, fetchurl, pkgconfig, openobex, bluez, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "obexftp-0.24";
|
||||
@ -8,13 +8,21 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0szy7p3y75bd5h4af0j5kf0fpzx2w560fpy4kg3603mz11b9c1xr";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig bluez cmake];
|
||||
nativeBuildInputs = [ pkgconfig cmake ];
|
||||
|
||||
propagatedBuildInputs = [openobex];
|
||||
buildInputs = [ bluez ];
|
||||
|
||||
meta = {
|
||||
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 stdenv.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 = stdenv.lib.platforms.linux;
|
||||
platforms = platforms.linux;
|
||||
license = licenses.lgpl2Plus;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user