diff options
author | Aristid Breitkreuz <aristidb@gmail.com> | 2013-08-27 21:16:03 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2013-08-28 21:20:56 +0200 |
commit | 8b4fef8840f59e1017d6a3014defac2eab4000e7 (patch) | |
tree | 09709febf1bd94692b04e78c34f9bde4025e194e | |
parent | a8a197587af4ab9260803b9a49186a041e60448c (diff) |
openobex-1.7.1 (1.5 could no longer be downloaded from kernel repositories)
-rw-r--r-- | pkgs/tools/bluetooth/openobex/default.nix | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/pkgs/tools/bluetooth/openobex/default.nix b/pkgs/tools/bluetooth/openobex/default.nix index 97ed96371c8f4..fc4d8611f8775 100644 --- a/pkgs/tools/bluetooth/openobex/default.nix +++ b/pkgs/tools/bluetooth/openobex/default.nix @@ -1,17 +1,21 @@ -{stdenv, fetchurl, pkgconfig, bluez, libusb}: +{stdenv, fetchurl, pkgconfig, bluez, libusb, cmake}: stdenv.mkDerivation rec { - name = "openobex-1.5"; + name = "openobex-1.7.1"; src = fetchurl { - url = "mirror://kernel/linux/bluetooth/${name}.tar.gz"; - sha256 = "0rayjci99ahhvs2d16as1qql3vrcizd0nhi8n3n4g6krf1sh80p6"; + url = "mirror://sourceforge/openobex/${name}-Source.tar.gz"; + sha256 = "0mza0mrdrbcw4yix6qvl31kqy7bdkgxjycr0yx7yl089v5jlc9iv"; }; - buildInputs = [pkgconfig bluez libusb]; + buildInputs = [pkgconfig bluez libusb cmake]; configureFlags = "--enable-apps"; + patchPhase = '' + sed -i "s!/lib/udev!$out/lib/udev!" udev/CMakeLists.txt + ''; + meta = { homepage = http://dev.zuckschwerdt.org/openobex/; description = "An open source implementation of the Object Exchange (OBEX) protocol"; |