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:
parent
1f20ccb9e6
commit
1eda454543
24
pkgs/development/libraries/libmtp/default.nix
Normal file
24
pkgs/development/libraries/libmtp/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -3250,6 +3250,8 @@ let
|
|||
|
||||
libmhash = callPackage ../development/libraries/libmhash {};
|
||||
|
||||
libmtp = callPackage ../development/libraries/libmtp { };
|
||||
|
||||
libnice = callPackage ../development/libraries/libnice {
|
||||
inherit (gnome) glib;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue