mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
21 lines
629 B
Nix
21 lines
629 B
Nix
{stdenv, fetchurl, pkgconfig, xorgproto}:
|
|
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";
|
|
};
|
|
|
|
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/;
|
|
};
|
|
}
|