nixpkgs/pkgs/tools/filesystems/android-file-transfer/default.nix

28 lines
778 B
Nix
Raw Normal View History

2018-07-23 14:24:12 +00:00
{ lib, stdenv, fetchFromGitHub, cmake, fuse, readline, pkgconfig, qtbase }:
stdenv.mkDerivation rec {
name = "android-file-transfer-${version}";
version = "3.7";
2018-07-23 14:24:12 +00:00
src = fetchFromGitHub {
owner = "whoozle";
repo = "android-file-transfer-linux";
rev = "v${version}";
sha256 = "0a388pqc0azgn0wy85wb1mjk3b5zb6vcr58l4warwfzhca400zn0";
2018-07-23 14:24:12 +00:00
};
buildInputs = [ cmake fuse readline pkgconfig qtbase ];
buildPhase = ''
cmake .
make
'';
installPhase = ''
make install
'';
meta = with stdenv.lib; {
description = "Reliable MTP client with minimalistic UI";
2018-09-12 11:47:45 +00:00
homepage = https://whoozle.github.io/android-file-transfer-linux/;
2018-07-23 14:24:12 +00:00
license = licenses.lgpl21;
maintainers = [ maintainers.xaverdh ];
platforms = platforms.linux;
};
}