nixpkgs/pkgs/data/misc/xorg-rgb/default.nix
2019-01-04 14:38:57 +01:00

23 lines
661 B
Nix

{stdenv, fetchurl, pkgconfig, xorgproto}:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "rgb";
version = "1.0.6";
src = fetchurl {
url = "http://xorg.freedesktop.org/archive/individual/app/rgb-${version}.tar.bz2";
sha256 = "1c76zcjs39ljil6f6jpx1x17c8fnvwazz7zvl3vbjfcrlmm7rjmv";
};
nativeBuildInputs = [pkgconfig];
buildInputs = [xorgproto];
meta = {
inherit version;
description = "X11 colorname to RGB mapping database";
license = stdenv.lib.licenses.mit;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
homepage = http://xorg.freedesktop.org/;
};
}