depot/third_party/nixpkgs/pkgs/tools/misc/gpick/default.nix
Default email 3b21d1e521 Project import generated by Copybara.
GitOrigin-RevId: 23cd13167a1432550e48734079c2ffeeb441fb96
2021-07-15 00:03:04 +02:00

25 lines
724 B
Nix

{ 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;
};
}