3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/filesystems/android-file-transfer/default.nix
Dominik Xaver Hörl 064ddec598 android-file-transfer: fix building with qt
Use mkDerivation has instead of stdenv.mkDerivation (see #54525).
2019-07-31 18:47:47 +02:00

25 lines
712 B
Nix

{ stdenv, mkDerivation, fetchFromGitHub, cmake, fuse, readline, pkgconfig, qtbase }:
mkDerivation rec {
pname = "android-file-transfer";
version = "3.9";
src = fetchFromGitHub {
owner = "whoozle";
repo = "android-file-transfer-linux";
rev = "v${version}";
sha256 = "1pwayyd5xrmngfrmv2vwr8ns2wi199xkxf7dks8fl9zmlpizg3c3";
};
nativeBuildInputs = [ cmake readline pkgconfig ];
buildInputs = [ fuse qtbase ];
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;
};
}