mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
libmtp: Split into multiple outputs
This commit is contained in:
parent
796e36afeb
commit
d24bc080f7
@ -37,7 +37,7 @@ in
|
||||
|
||||
services.dbus.packages = [ gnome3.gvfs ];
|
||||
|
||||
services.udev.packages = [ pkgs.libmtp ];
|
||||
services.udev.packages = [ pkgs.libmtp.bin ];
|
||||
|
||||
};
|
||||
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user