2024-01-02 11:29:13 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fbvnc";
|
|
|
|
version = "1.0.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zohead";
|
|
|
|
repo = pname;
|
|
|
|
rev = "783204ff6c92afec33d6d36f7e74f1fcf2b1b601";
|
2024-01-02 11:29:13 +00:00
|
|
|
hash = "sha256-oT7+6kIeFDgU6GbcHYQ6k0jCU84p8fTEVgUozYMkeVI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-01-02 11:29:13 +00:00
|
|
|
makeFlags = [
|
|
|
|
"CC:=$(CC)"
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
2024-01-02 11:29:13 +00:00
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
install -Dm555 fbvnc -t "$out/bin"
|
|
|
|
install -Dm444 README.md -t "$out/share/doc/fbvnc"
|
|
|
|
|
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Framebuffer VNC client";
|
2021-01-15 22:18:51 +00:00
|
|
|
license = lib.licenses.bsd3;
|
2024-01-02 11:29:13 +00:00
|
|
|
maintainers = [ lib.maintainers.raskin ];
|
2021-01-15 22:18:51 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/zohead/fbvnc/";
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "fbvnc";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|