mkcast: init at 2015-03-13

newcast does not work due to
https://github.com/KeyboardFire/mkcast/issues/30

closes #6333
This commit is contained in:
Pascal Wittmann 2015-11-11 20:05:03 +01:00
parent cf55e0b2ac
commit bc9ec42958
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,37 @@
{ stdenv, fetchFromGitHub, wmctrl, pythonPackages, byzanz
, xdpyinfo, makeWrapper, gtk, xorg, gnome3 }:
stdenv.mkDerivation rec {
name = "mkcast-2015-03-13";
src = fetchFromGitHub {
owner = "KeyboardFire";
repo = "mkcast";
rev = "cac22cb6c6f8ec2006339698af5e9199331759e0";
sha256 = "15wp3n3z8gw7kjdxs4ahda17n844awhxsqbql5ipsdhqfxah2d8p";
};
buildInputs = with pythonPackages; [ makeWrapper pygtk gtk xlib ];
makeFlags = [ "PREFIX=$(out)" ];
postInstall = ''
for f in $out/bin/*; do #*/
wrapProgram $f --prefix PATH : "${xdpyinfo}/bin:${wmctrl}/bin/:${byzanz}/bin/:${gnome3.gnome_terminal}/bin/:$out/bin"
done
rm -r screenkey/.bzr
cp -R screenkey $out/bin
wrapProgram $out/bin/screenkey/screenkey \
--prefix PATH : "${xorg.xmodmap}/bin"\
--prefix PYTHONPATH : "$PYTHONPATH"
'';
meta = with stdenv.lib; {
description = "A tool for creating GIF screencasts of a terminal, with key presses overlaid";
homepage = https://github.com/KeyboardFire/mkcast;
platforms = platforms.linux;
maintainers = with maintainers; [ iElectric pSub ];
};
}

View File

@ -2025,6 +2025,8 @@ let
most = callPackage ../tools/misc/most { };
mkcast = callPackage ../applications/video/mkcast { };
multitail = callPackage ../tools/misc/multitail { };
netperf = callPackage ../applications/networking/netperf { };