2018-07-23 15:24:12 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, fuse, readline, pkgconfig, qtbase }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "android-file-transfer-${version}";
|
2018-09-12 12:47:45 +01:00
|
|
|
version = "3.5";
|
2018-07-23 15:24:12 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "whoozle";
|
|
|
|
repo = "android-file-transfer-linux";
|
|
|
|
rev = "v${version}";
|
2018-09-12 12:47:45 +01:00
|
|
|
sha256 = "036hca41ikgnw4maykjdp53l31rm01mgamy9y56i5qqh84cwmls2";
|
2018-07-23 15:24:12 +01: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 12:47:45 +01:00
|
|
|
homepage = https://whoozle.github.io/android-file-transfer-linux/;
|
2018-07-23 15:24:12 +01:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
maintainers = [ maintainers.xaverdh ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|