nixpkgs/pkgs/applications/video/xscast/default.nix
Maximilian Bosch 3da886bf41
treewide: remove ma27 from the maintainer-list of a few packages
These are all packages that I stopped using and hence just create noise
in my inbox for each change affecting them and let's face it, while I
still enjoy contributing to nixpkgs, it doesn't really make sense to be
listed there if I can't do much anyways.

Each of these packages can be taken over by someone or removed if
people think that's reasonable.

Of course, if other maintainers face issues, I can answer some questions
if needed & possible.
2021-08-27 22:28:49 +02:00

35 lines
987 B
Nix

{ lib, stdenv, fetchFromGitHub, makeWrapper, ffmpeg, imagemagick, dzen2, xorg }:
stdenv.mkDerivation {
pname = "xscast-unstable";
version = "2016-07-26";
src = fetchFromGitHub {
owner = "KeyboardFire";
repo = "xscast";
rev = "9e6fd3c28d3f5ae630619f6dbccaf1f6ca594b21";
sha256 = "0br27bq9bpglfdpv63h827bipgvhlh10liyhmhcxls4227kagz72";
};
nativeBuildInputs = [ makeWrapper ];
installPhase = ''
runHook preInstall
install -Dm755 xscast.sh $out/bin/xscast
install -Dm644 xscast.1 $out/share/man/man1/xscast.1
patchShebangs $out/bin
wrapProgram "$out/bin/xscast" \
--prefix PATH : ${lib.makeBinPath [ ffmpeg dzen2 xorg.xwininfo xorg.xinput xorg.xmodmap imagemagick ]}
runHook postInstall
'';
meta = with lib; {
homepage = "https://github.com/KeyboardFire/xscast";
license = licenses.mit;
description = "Screencasts of windows with list of keystrokes overlayed";
maintainers = with maintainers; [ ];
};
}