nixpkgs/pkgs/tools/filesystems/jmtpfs/default.nix

25 lines
660 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, pkgconfig, file, fuse, libmtp }:
2014-05-11 21:35:28 +02:00
let version = "0.5"; in
stdenv.mkDerivation {
2014-05-11 21:35:28 +02:00
name = "jmtpfs-${version}";
src = fetchFromGitHub {
sha256 = "1pm68agkhrwgrplrfrnbwdcvx5lrivdmqw8pb5gdmm3xppnryji1";
rev = "v${version}";
repo = "jmtpfs";
owner = "JasonFerrara";
2014-05-11 21:35:28 +02:00
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ file fuse libmtp ];
2014-05-11 21:35:28 +02:00
meta = with stdenv.lib; {
2014-11-11 14:20:43 +01:00
description = "A FUSE filesystem for MTP devices like Android phones";
2014-05-11 21:35:28 +02:00
homepage = https://github.com/JasonFerrara/jmtpfs;
license = licenses.gpl3;
2015-06-16 11:30:20 +02:00
platforms = platforms.linux;
maintainers = [ maintainers.coconnor ];
2014-05-11 21:35:28 +02:00
};
}