mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
openobex: cleanup, add license
This commit is contained in:
parent
1f20ca1f74
commit
bd4b54557d
1 changed files with 7 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, pkgconfig, bluez, libusb, cmake}:
|
||||
{ stdenv, fetchurl, pkgconfig, bluez, libusb, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "openobex-1.7.1";
|
||||
|
@ -8,18 +8,20 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0mza0mrdrbcw4yix6qvl31kqy7bdkgxjycr0yx7yl089v5jlc9iv";
|
||||
};
|
||||
|
||||
buildInputs = [pkgconfig bluez libusb cmake];
|
||||
nativeBuildInputs = [ pkgconfig cmake ];
|
||||
buildInputs = [ bluez libusb ];
|
||||
|
||||
configureFlags = "--enable-apps";
|
||||
configureFlags = [ "--enable-apps" ];
|
||||
|
||||
patchPhase = ''
|
||||
sed -i "s!/lib/udev!$out/lib/udev!" udev/CMakeLists.txt
|
||||
sed -i "/if ( PKGCONFIG_UDEV_FOUND )/,/endif ( PKGCONFIG_UDEV_FOUND )/d" udev/CMakeLists.txt
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://dev.zuckschwerdt.org/openobex/;
|
||||
description = "An open source implementation of the Object Exchange (OBEX) protocol";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = platforms.linux;
|
||||
license = licenses.lgpl2Plus;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue