diff --git a/pkgs/development/libraries/libmtp/default.nix b/pkgs/development/libraries/libmtp/default.nix new file mode 100644 index 000000000000..ced11c0ef4da --- /dev/null +++ b/pkgs/development/libraries/libmtp/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, libusb }: + +stdenv.mkDerivation rec { + name = "libmtp-1.0.1"; + + propagatedBuildInputs = [ libusb ]; + + src = fetchurl { + url = "mirror://sourceforge/libmtp/${name}.tar.gz"; + sha256 = "19iha1yi07cdqzlba4ng1mn7h701binalwwkb71q0ld9b88mad6s"; + }; + + meta = { + homepage = http://libmtp.sourceforge.net; + 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 = stdenv.lib.platforms.all; + maintainers = [ stdenv.lib.maintainers.urkud ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 4d79dd1146d7..85513fd46c15 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3250,6 +3250,8 @@ let libmhash = callPackage ../development/libraries/libmhash {}; + libmtp = callPackage ../development/libraries/libmtp { }; + libnice = callPackage ../development/libraries/libnice { inherit (gnome) glib; };