about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/kcolorpicker/default.nix
blob: 75a07b17a7ee5afb1f1536264c0def4fd0cda0da (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase }:

mkDerivation rec {
  pname = "kcolorpicker";
  version = "0.1.6";

  src = fetchFromGitHub {
    owner = "ksnip";
    repo = "kColorPicker";
    rev = "v${version}";
    sha256 = "1167xwk75yiz697vddbz3lq42l7ckhyl2cvigy4m05qgg9693ksd";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [ qtbase ];

  meta = with lib; {
    description = "Qt based Color Picker with popup menu";
    homepage = "https://github.com/ksnip/kColorPicker";
    license = licenses.lgpl3Plus;
    maintainers = with maintainers; [ fliegendewurst ];
    platforms = platforms.linux;
  };
}