4a7f99d55d
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
25 lines
716 B
Nix
25 lines
716 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, directfb, zlib, libjpeg, xorgproto }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "directvnc";
|
|
version = "0.7.7.2015-04-16";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "drinkmilk";
|
|
repo = "directvnc";
|
|
rev = "d336f586c5865da68873960092b7b5fbc9f8617a";
|
|
sha256 = "16x7mr7x728qw7nbi6rqhrwsy73zsbpiz8pbgfzfl2aqhfdiz88b";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ directfb zlib libjpeg xorgproto ];
|
|
|
|
meta = with lib; {
|
|
description = "DirectFB VNC client";
|
|
homepage = "http://drinkmilk.github.io/directvnc/";
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.raskin ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|