3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/misc/xorg-rgb/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

22 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/;
};
}