1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 05:00:16 +00:00

Add libmtp

svn path=/nixpkgs/trunk/; revision=23947
This commit is contained in:
Yury G. Kudryashov 2010-09-26 19:39:28 +00:00
parent 1f20ccb9e6
commit 1eda454543
2 changed files with 26 additions and 0 deletions

View file

@ -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 ];
};
}

View file

@ -3250,6 +3250,8 @@ let
libmhash = callPackage ../development/libraries/libmhash {};
libmtp = callPackage ../development/libraries/libmtp { };
libnice = callPackage ../development/libraries/libnice {
inherit (gnome) glib;
};