libmtp: reformat, fix udev path, add maintainer
This commit is contained in:
parent
4c237aa5c6
commit
0d1e63dd1d
|
@ -1,6 +1,13 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoconf, automake, gettext, libtool, pkg-config
|
||||
, libusb1
|
||||
{ stdenv
|
||||
, autoconf
|
||||
, automake
|
||||
, fetchFromGitHub
|
||||
, gettext
|
||||
, lib
|
||||
, libiconv
|
||||
, libtool
|
||||
, libusb1
|
||||
, pkg-config
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -24,30 +31,26 @@ stdenv.mkDerivation rec {
|
|||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libiconv
|
||||
];
|
||||
buildInputs = [ libiconv ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
libusb1
|
||||
];
|
||||
propagatedBuildInputs = [ libusb1 ];
|
||||
|
||||
preConfigure = ''
|
||||
./autogen.sh
|
||||
'';
|
||||
preConfigure = "./autogen.sh";
|
||||
|
||||
# tried to install files to /lib/udev, hopefully OK
|
||||
configureFlags = [ "--with-udev=$$bin/lib/udev" ];
|
||||
configureFlags = [ "--with-udev=${placeholder "out"}/lib/udev" ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://libmtp.sourceforge.net";
|
||||
homepage = "https://github.com/libmtp/libmtp";
|
||||
description = "An implementation of Microsoft's Media Transfer Protocol";
|
||||
longDescription = ''
|
||||
libmtp is an implementation of Microsoft's Media Transfer Protocol (MTP)
|
||||
in the form of a library suitable primarily for POSIX compliant operating
|
||||
systems. We implement MTP Basic, the stuff proposed for standardization.
|
||||
'';
|
||||
'';
|
||||
platforms = platforms.unix;
|
||||
license = licenses.lgpl21;
|
||||
maintainers = with maintainers; [ lovesegfault ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue