Merge pull request #85259 from jb55/colorpicker
colorpicker: init at git-2018-01-14
This commit is contained in:
commit
5494cda394
|
@ -0,0 +1,27 @@
|
||||||
|
{ stdenv, fetchFromGitHub, pkg-config, gtk2 }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "colorpicker";
|
||||||
|
version = "git-2018-01-14";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Ancurio";
|
||||||
|
repo = "colorpicker";
|
||||||
|
rev = "287676947e6e3b5b0cee784aeb1638cf22f0ce17";
|
||||||
|
sha256 = "1kj1dpb79llrfpszraaz6r7ci114zqi5rmqxwsvq2dnnpjxyi29r";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
buildInputs = [ gtk2 ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -Dt $out/bin colorpicker
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Click on a pixel on your screen and print its color value in RGB";
|
||||||
|
homepage = "https://github.com/Ancurio/colorpicker";
|
||||||
|
maintainers = with maintainers; [ jb55 ];
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
|
@ -180,6 +180,8 @@ in
|
||||||
|
|
||||||
colorz = callPackage ../tools/misc/colorz { };
|
colorz = callPackage ../tools/misc/colorz { };
|
||||||
|
|
||||||
|
colorpicker = callPackage ../tools/misc/colorpicker { };
|
||||||
|
|
||||||
comedilib = callPackage ../development/libraries/comedilib { };
|
comedilib = callPackage ../development/libraries/comedilib { };
|
||||||
|
|
||||||
cpu-x = callPackage ../applications/misc/cpu-x { };
|
cpu-x = callPackage ../applications/misc/cpu-x { };
|
||||||
|
|
Loading…
Reference in New Issue