nixpkgs/pkgs/tools/admin/fbvnc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
764 B
Nix
Raw Normal View History

2023-11-28 04:42:20 +01:00
{ lib
, stdenv
, fetchFromGitHub
}:
2019-11-25 10:17:10 +01:00
stdenv.mkDerivation rec {
pname = "fbvnc";
version = "1.0.2";
src = fetchFromGitHub {
owner = "zohead";
repo = pname;
rev = "783204ff6c92afec33d6d36f7e74f1fcf2b1b601";
2023-11-28 04:42:20 +01:00
hash = "sha256-oT7+6kIeFDgU6GbcHYQ6k0jCU84p8fTEVgUozYMkeVI=";
2019-11-25 10:17:10 +01:00
};
2023-11-28 04:42:20 +01:00
makeFlags = [
"CC:=$(CC)"
];
2019-11-25 10:17:10 +01:00
installPhase = ''
2023-11-28 04:42:20 +01:00
runHook preInstall
install -Dm555 fbvnc -t "$out/bin"
install -Dm444 README.md -t "$out/share/doc/fbvnc"
runHook postInstall
2019-11-25 10:17:10 +01:00
'';
meta = {
description = "Framebuffer VNC client";
2021-01-15 10:19:50 +01:00
license = lib.licenses.bsd3;
2023-11-28 04:42:20 +01:00
maintainers = [ lib.maintainers.raskin ];
2021-01-15 10:19:50 +01:00
platforms = lib.platforms.linux;
2019-11-25 10:17:10 +01:00
homepage = "https://github.com/zohead/fbvnc/";
2023-11-28 04:42:20 +01:00
mainProgram = "fbvnc";
2019-11-25 10:17:10 +01:00
};
}