git.iko.soy/typeable/nixpkgs
on master help sign in
gcolor3: init at 2.2
commited0146b237ddc9a69acf941d4dd9e07bf962b7fb authorJan Tojnar <jtojnar@gmail.com> dateWed 4 Oct 2017, 00:22 (9 years ago) parentd7d774d
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
@@ -14615,6 +14615,8 @@ with pkgs;
1461514615
1461614616 gcolor2 = callPackage ../applications/graphics/gcolor2 { };
1461714617
14618+ gcolor3 = callPackage ../applications/graphics/gcolor3 { };
14619+
1461814620 get_iplayer = callPackage ../applications/misc/get_iplayer {};
1461914621
1462014622 getxbook = callPackage ../applications/misc/getxbook {};