2021-07-27 09:46:18 +02:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, xorgproto }:
|
|
|
|
|
2017-03-30 19:56:12 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rgb";
|
|
|
|
version = "1.0.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-27 09:46:18 +02:00
|
|
|
url = "https://xorg.freedesktop.org/archive/individual/app/rgb-${version}.tar.bz2";
|
2017-03-30 19:56:12 +02:00
|
|
|
sha256 = "1c76zcjs39ljil6f6jpx1x17c8fnvwazz7zvl3vbjfcrlmm7rjmv";
|
|
|
|
};
|
|
|
|
|
2021-07-27 09:46:18 +02:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ xorgproto ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2017-03-30 19:56:12 +02:00
|
|
|
description = "X11 colorname to RGB mapping database";
|
2021-07-27 09:46:18 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
homepage = "https://xorg.freedesktop.org/";
|
2017-03-30 19:56:12 +02:00
|
|
|
};
|
|
|
|
}
|