-
-
Notifications
You must be signed in to change notification settings - Fork 15k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Matthias Beyer <[email protected]>
- Loading branch information
1 parent
15edb39
commit bdedc49
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters