{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, kcolorpicker, qttools }: mkDerivation rec { pname = "kimageannotator"; version = "0.5.2"; src = fetchFromGitHub { owner = "ksnip"; repo = "kImageAnnotator"; rev = "v${version}"; sha256 = "07m3il928gwzzab349grpaksqqv4n7r6mn317sx2jly0x0bpv0rh"; }; nativeBuildInputs = [ cmake qttools ]; buildInputs = [ qtbase kcolorpicker ]; meta = with lib; { description = "Tool for annotating images"; homepage = "https://github.com/ksnip/kImageAnnotator"; license = licenses.lgpl3Plus; maintainers = with maintainers; [ fliegendewurst ]; platforms = platforms.linux; }; }