Merge pull request #30069 from jtojnar/gcolor3

gcolor3: init at 2.2
This commit is contained in:
Orivej Desh 2017-10-04 17:04:01 +00:00 committed by GitHub
commit dea58ce228
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, gnome3, libtool, intltool, pkgconfig, gtk3, hicolor_icon_theme, wrapGAppsHook } :
let
version = "2.2";
in stdenv.mkDerivation {
name = "gcolor3-${version}";
src = fetchFromGitHub {
owner = "hjdskes";
repo = "gcolor3";
rev = "v${version}";
sha256 = "1rbahsi33pfggpj5cigy6wy5333g3rpm8v2q0b35c6m7pwhmf2gr";
};
nativeBuildInputs = [ gnome3.gnome_common libtool intltool pkgconfig hicolor_icon_theme wrapGAppsHook ];
buildInputs = [ gtk3 ];
configureScript = "./autogen.sh";
# clang-4.0: error: argument unused during compilation: '-pthread'
NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.cc.isClang "-Wno-error=unused-command-line-argument";
meta = {
description = "A simple color chooser written in GTK3";
homepage = https://hjdskes.github.io/projects/gcolor3/;
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ jtojnar ];
platforms = stdenv.lib.platforms.unix;
};
}

View File

@ -14671,6 +14671,8 @@ with pkgs;
gcolor2 = callPackage ../applications/graphics/gcolor2 { };
gcolor3 = callPackage ../applications/graphics/gcolor3 { };
get_iplayer = callPackage ../applications/misc/get_iplayer {};
getxbook = callPackage ../applications/misc/getxbook {};