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

25 lines
731 B
Nix
Raw Normal View History

2020-11-15 22:57:59 -08:00
{ stdenv, mkDerivation, fetchFromGitHub, cmake, fuse, readline, pkgconfig, qtbase, qttools }:
2018-07-23 07:24:12 -07:00
mkDerivation rec {
2019-05-18 08:04:12 -07:00
pname = "android-file-transfer";
2020-12-14 00:32:03 -08:00
version = "4.1";
2019-05-18 08:04:12 -07:00
2018-07-23 07:24:12 -07:00
src = fetchFromGitHub {
owner = "whoozle";
repo = "android-file-transfer-linux";
rev = "v${version}";
2020-12-14 00:32:03 -08:00
sha256 = "0xmnwxr649wdzsa1vf3spl387hxs4pq0rldyrsr9hz43da4v081k";
2018-07-23 07:24:12 -07:00
};
2019-05-18 08:04:12 -07:00
nativeBuildInputs = [ cmake readline pkgconfig ];
2020-11-15 22:57:59 -08:00
buildInputs = [ fuse qtbase qttools ];
2019-05-18 08:04:12 -07:00
2018-07-23 07:24:12 -07:00
meta = with stdenv.lib; {
description = "Reliable MTP client with minimalistic UI";
homepage = "https://whoozle.github.io/android-file-transfer-linux/";
2018-07-23 07:24:12 -07:00
license = licenses.lgpl21;
maintainers = [ maintainers.xaverdh ];
platforms = platforms.linux;
};
}