gpick: init at 0.2.6

This commit is contained in:
Vanilla 2021-07-07 17:55:06 +08:00
parent 1df765c102
commit 4bfe6ad113
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchFromGitHub, cmake, glib, 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 ];
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;
};
}

View File

@ -295,6 +295,8 @@ in
glade = callPackage ../development/tools/glade { };
gpick = callPackage ../tools/misc/gpick { };
hobbes = callPackage ../development/tools/hobbes { };
html5validator = python3Packages.callPackage ../applications/misc/html5validator { };