1{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, kcolorpicker, qttools }:
2
3mkDerivation rec {
4 pname = "kimageannotator";
5 version = "0.6.0";
6
7 src = fetchFromGitHub {
8 owner = "ksnip";
9 repo = "kImageAnnotator";
10 rev = "v${version}";
11 sha256 = "sha256-fWMaat5IguEZwoEJiEjGrWIbOqdJhs25qOebxpWVQQk=";
12 };
13
14 nativeBuildInputs = [ cmake qttools ];
15 buildInputs = [ qtbase kcolorpicker ];
16
17 meta = with lib; {
18 description = "Tool for annotating images";
19 homepage = "https://github.com/ksnip/kImageAnnotator";
20 license = licenses.lgpl3Plus;
21 maintainers = with maintainers; [ fliegendewurst ];
22 platforms = platforms.linux;
23 };
24}