3
0
Fork 0
forked from mirrors/nixpkgs

libmtp: Split into multiple outputs

This commit is contained in:
Tuomas Tynkkynen 2015-10-18 00:24:10 +03:00 committed by Vladimír Čunát
parent 796e36afeb
commit d24bc080f7
2 changed files with 9 additions and 7 deletions

View file

@ -37,7 +37,7 @@ in
services.dbus.packages = [ gnome3.gvfs ];
services.udev.packages = [ pkgs.libmtp ];
services.udev.packages = [ pkgs.libmtp.bin ];
};

View file

@ -3,17 +3,19 @@
stdenv.mkDerivation rec {
name = "libmtp-1.1.9";
propagatedBuildInputs = [ libusb1 ];
buildInputs = [ pkgconfig ];
# tried to install files to /lib/udev, hopefully OK
configureFlags = [ "--with-udev=$$out/lib/udev" ];
src = fetchurl {
url = "mirror://sourceforge/libmtp/${name}.tar.gz";
sha256 = "12dinqic0ljnhrwx3rc61jc7q24ybr0mckc2ya5kh1s1np0d7w93";
};
outputs = [ "dev" "bin" "out" ];
propagatedBuildInputs = [ libusb1 ];
buildInputs = [ pkgconfig ];
# tried to install files to /lib/udev, hopefully OK
configureFlags = [ "--with-udev=$$bin/lib/udev" ];
meta = {
homepage = http://libmtp.sourceforge.net;
description = "An implementation of Microsoft's Media Transfer Protocol";