02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
36 lines
763 B
Nix
36 lines
763 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, glib
|
|
, wrapGAppsHook
|
|
, boost
|
|
, pkg-config
|
|
, gtk3
|
|
, ragel
|
|
, lua
|
|
, lib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "gpick";
|
|
version = "0.2.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "thezbyg";
|
|
repo = pname;
|
|
rev = "${pname}-${version}";
|
|
sha256 = "sha256-Z67EJRtKJZLoTUtdMttVTLkzTV2F5rKZ96vaothLiFo=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config wrapGAppsHook ];
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
|
buildInputs = [ boost gtk3 ragel lua ];
|
|
|
|
meta = with lib; {
|
|
description = "Advanced color picker written in C++ using GTK+ toolkit";
|
|
homepage = "http://www.gpick.org/";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.vanilla ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|