git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #30069 from jtojnar/gcolor3

gcolor3: init at 2.2

commitdea58ce228e6f9686773745024eb844d8dc39fc3 authorOrivej Desh <orivej@gmx.fr> dateWed 4 Oct 2017, 17:04 (9 years ago) parentb6b5eaaed0146b
2 files changed+33
pkgs/applications/graphics/gcolor3/default.nix+31 pkgs/top-level/all-packages.nix+2
pkgs/applications/graphics/gcolor3/default.nixnew file+31
@@ -0,0 +1,31 @@
1+{ stdenv, fetchFromGitHub, gnome3, libtool, intltool, pkgconfig, gtk3, hicolor_icon_theme, wrapGAppsHook } :
2+
3+let
4+ version = "2.2";
5+in stdenv.mkDerivation {
6+ name = "gcolor3-${version}";
7+
8+ src = fetchFromGitHub {
9+ owner = "hjdskes";
10+ repo = "gcolor3";
11+ rev = "v${version}";
12+ sha256 = "1rbahsi33pfggpj5cigy6wy5333g3rpm8v2q0b35c6m7pwhmf2gr";
13+ };
14+
15+ nativeBuildInputs = [ gnome3.gnome_common libtool intltool pkgconfig hicolor_icon_theme wrapGAppsHook ];
16+
17+ buildInputs = [ gtk3 ];
18+
19+ configureScript = "./autogen.sh";
20+
21+ # clang-4.0: error: argument unused during compilation: '-pthread'
22+ NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.cc.isClang "-Wno-error=unused-command-line-argument";
23+
24+ meta = {
25+ description = "A simple color chooser written in GTK3";
26+ homepage = https://hjdskes.github.io/projects/gcolor3/;
27+ license = stdenv.lib.licenses.gpl2;
28+ maintainers = with stdenv.lib.maintainers; [ jtojnar ];
29+ platforms = stdenv.lib.platforms.unix;
30+ };
31+}
pkgs/top-level/all-packages.nix+2
@@ -14671,6 +14671,8 @@ with pkgs;
1467114671
1467214672 gcolor2 = callPackage ../applications/graphics/gcolor2 { };
1467314673
14674+ gcolor3 = callPackage ../applications/graphics/gcolor3 { };
14675+
1467414676 get_iplayer = callPackage ../applications/misc/get_iplayer {};
1467514677
1467614678 getxbook = callPackage ../applications/misc/getxbook {};