2021-01-15 12:19:50 +03:00
|
|
|
{lib, stdenv, fetchFromGitHub}:
|
2019-11-25 12:17:10 +03:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "fbvnc";
|
|
|
|
version = "1.0.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zohead";
|
|
|
|
repo = pname;
|
|
|
|
sha256 = "0lkr4j1wsa05av2g9w99rr9w4j4k7a21vp36x0a3h50y8bmgwgm1";
|
|
|
|
rev = "783204ff6c92afec33d6d36f7e74f1fcf2b1b601";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/bin"
|
|
|
|
cp fbvnc "$out/bin"
|
|
|
|
mkdir -p "$out/share/doc/${pname}"
|
|
|
|
cp README* "$out/share/doc/${pname}"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Framebuffer VNC client";
|
2021-01-15 12:19:50 +03:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.linux;
|
2019-11-25 12:17:10 +03:00
|
|
|
homepage = "https://github.com/zohead/fbvnc/";
|
|
|
|
};
|
|
|
|
}
|