Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, pkg-config, xorgproto }: 2 3stdenv.mkDerivation rec { 4 pname = "rgb"; 5 version = "1.0.6"; 6 7 src = fetchurl { 8 url = "https://xorg.freedesktop.org/archive/individual/app/rgb-${version}.tar.bz2"; 9 sha256 = "1c76zcjs39ljil6f6jpx1x17c8fnvwazz7zvl3vbjfcrlmm7rjmv"; 10 }; 11 12 nativeBuildInputs = [ pkg-config ]; 13 buildInputs = [ xorgproto ]; 14 15 meta = with lib; { 16 description = "X11 colorname to RGB mapping database"; 17 license = licenses.mit; 18 maintainers = [ maintainers.raskin ]; 19 platforms = platforms.linux; 20 homepage = "https://xorg.freedesktop.org/"; 21 }; 22}