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

25 lines
714 B
Nix
Raw Normal View History

{ stdenv, mkDerivation, fetchFromGitHub, cmake, fuse, readline, pkgconfig, qtbase }:
2018-07-23 14:24:12 +00:00
mkDerivation rec {
2019-05-18 15:04:12 +00:00
pname = "android-file-transfer";
2019-06-11 16:46:16 +00:00
version = "3.9";
2019-05-18 15:04:12 +00:00
2018-07-23 14:24:12 +00:00
src = fetchFromGitHub {
owner = "whoozle";
repo = "android-file-transfer-linux";
rev = "v${version}";
2019-06-11 16:46:16 +00:00
sha256 = "1pwayyd5xrmngfrmv2vwr8ns2wi199xkxf7dks8fl9zmlpizg3c3";
2018-07-23 14:24:12 +00:00
};
2019-05-18 15:04:12 +00:00
nativeBuildInputs = [ cmake readline pkgconfig ];
buildInputs = [ fuse qtbase ];
2018-07-23 14:24:12 +00:00
meta = with stdenv.lib; {
description = "Reliable MTP client with minimalistic UI";
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;
};
}