2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkg-config, file, fuse, libmtp }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let version = "0.5"; in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "jmtpfs";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
sha256 = "1pm68agkhrwgrplrfrnbwdcvx5lrivdmqw8pb5gdmm3xppnryji1";
|
|
|
|
rev = "v${version}";
|
|
|
|
repo = "jmtpfs";
|
|
|
|
owner = "JasonFerrara";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ file fuse libmtp ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A FUSE filesystem for MTP devices like Android phones";
|
|
|
|
homepage = "https://github.com/JasonFerrara/jmtpfs";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.coconnor ];
|
|
|
|
};
|
|
|
|
}
|