2021-02-05 17:12:51 +00:00
|
|
|
{lib, stdenv, fetchurl, pkg-config, xorgproto}:
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "rgb";
|
|
|
|
version = "1.0.6";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://xorg.freedesktop.org/archive/individual/app/rgb-${version}.tar.bz2";
|
|
|
|
sha256 = "1c76zcjs39ljil6f6jpx1x17c8fnvwazz7zvl3vbjfcrlmm7rjmv";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [pkg-config];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [xorgproto];
|
|
|
|
meta = {
|
|
|
|
inherit version;
|
|
|
|
description = "X11 colorname to RGB mapping database";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://xorg.freedesktop.org/";
|
|
|
|
};
|
|
|
|
}
|