Merge pull request #107172 from matthiasbeyer/init-fbcat

fbcat: init at 0.5.1
This commit is contained in:
markuskowa 2020-12-25 12:30:37 +01:00 committed by GitHub
commit e883b0cef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ stdenv, fetchFromGitHub } :
stdenv.mkDerivation rec {
pname = "fbcat";
version = "0.5.1";
src = fetchFromGitHub {
owner = "jwilk";
repo = pname;
rev = version;
sha256 = "08y79br4a4cgkjnslw0hw57441ybsapaw7wjdbak19mv9lnl5ll9";
};
# hardcoded because makefile target "install" depends on libxslt dependencies from network
# that are just too hard to monkeypatch here
# so this is the simple fix.
installPhase = ''
mkdir -p $out
install -d $out/bin
install -m755 fbcat $out/bin/
install -m755 fbgrab $out/bin/
install -d $out/share/man/man1
'';
meta = with stdenv.lib; {
homepage = "http://jwilk.net/software/fbcat";
description = "Framebuffer screenshot tool";
license = licenses.gpl2Plus;
maintainers = [ maintainers.matthiasbeyer ];
platforms = platforms.linux;
};
}

View File

@ -3987,6 +3987,8 @@ in
feedgnuplot = callPackage ../tools/graphics/feedgnuplot { }; feedgnuplot = callPackage ../tools/graphics/feedgnuplot { };
fbcat = callPackage ../tools/misc/fbcat { };
fbv = callPackage ../tools/graphics/fbv { }; fbv = callPackage ../tools/graphics/fbv { };
fbvnc = callPackage ../tools/admin/fbvnc {}; fbvnc = callPackage ../tools/admin/fbvnc {};