Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, pkg-config, glib, dbus, openobex, bluez, libical }: 2 3stdenv.mkDerivation rec { 4 pname = "obexd"; 5 version = "0.48"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/bluetooth/obexd-${version}.tar.bz2"; 9 sha256 = "1i20dnibvnq9lnkkhajr5xx3kxlwf9q5c4jm19kyb0q1klzgzlb8"; 10 }; 11 12 buildInputs = [ glib dbus openobex bluez libical ]; 13 14 nativeBuildInputs = [ pkg-config ]; 15 16 meta = with lib; { 17 homepage = "http://www.bluez.org/"; 18 platforms = platforms.linux; 19 license = licenses.gpl3; 20 }; 21}