nixpkgs/pkgs/tools/filesystems/jmtpfs/default.nix
John Ericson 531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00

25 lines
660 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, file, fuse, libmtp }:
let version = "0.5"; in
stdenv.mkDerivation {
name = "jmtpfs-${version}";
src = fetchFromGitHub {
sha256 = "1pm68agkhrwgrplrfrnbwdcvx5lrivdmqw8pb5gdmm3xppnryji1";
rev = "v${version}";
repo = "jmtpfs";
owner = "JasonFerrara";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ file fuse libmtp ];
meta = with stdenv.lib; {
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 ];
};
}