3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/filesystems/android-file-transfer/default.nix
R. RyanTM 92b16eef4d android-file-transfer: 3.6 -> 3.7
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/android-file-transfer/versions
2018-11-19 18:38:58 -08:00

28 lines
778 B
Nix

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