mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
gcolor3: init at 2.2
This commit is contained in:
parent
d7d774deea
commit
ed0146b237
31
pkgs/applications/graphics/gcolor3/default.nix
Normal file
31
pkgs/applications/graphics/gcolor3/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -14615,6 +14615,8 @@ with pkgs;
|
||||||
|
|
||||||
gcolor2 = callPackage ../applications/graphics/gcolor2 { };
|
gcolor2 = callPackage ../applications/graphics/gcolor2 { };
|
||||||
|
|
||||||
|
gcolor3 = callPackage ../applications/graphics/gcolor3 { };
|
||||||
|
|
||||||
get_iplayer = callPackage ../applications/misc/get_iplayer {};
|
get_iplayer = callPackage ../applications/misc/get_iplayer {};
|
||||||
|
|
||||||
getxbook = callPackage ../applications/misc/getxbook {};
|
getxbook = callPackage ../applications/misc/getxbook {};
|
||||||
|
|
Loading…
Reference in a new issue