nixpkgs/pkgs/applications/video/simplescreenrecorder/default.nix
Ryan Mulligan 507f095f06 simplescreenrecorder: 0.3.9 -> 0.3.10
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/wvyzwhxb1c1l0ia3kc1idh2r8ydhfql9-simplescreenrecorder-0.3.10/bin/ssr-glinject --help` got 0 exit code
- ran `/nix/store/wvyzwhxb1c1l0ia3kc1idh2r8ydhfql9-simplescreenrecorder-0.3.10/bin/ssr-glinject help` got 0 exit code
- ran `/nix/store/wvyzwhxb1c1l0ia3kc1idh2r8ydhfql9-simplescreenrecorder-0.3.10/bin/ssr-glinject help` and found version 0.3.10
- found 0.3.10 with grep in /nix/store/wvyzwhxb1c1l0ia3kc1idh2r8ydhfql9-simplescreenrecorder-0.3.10
2018-03-23 21:07:51 -05:00

37 lines
1 KiB
Nix

{ stdenv, fetchurl, alsaLib, ffmpeg, libjack2, libX11, libXext
, libXfixes, libGLU_combined, pkgconfig, libpulseaudio, qt4, cmake, ninja
}:
stdenv.mkDerivation rec {
name = "simplescreenrecorder-${version}";
version = "0.3.10";
src = fetchurl {
url = "https://github.com/MaartenBaert/ssr/archive/${version}.tar.gz";
sha256 = "02rl9yyx3hlz9fqvgzv7ipmvx2qahj7ws5wx2m7zs3lssq3qag3g";
};
patches = [ ./fix-paths.patch ];
postPatch = ''
for i in scripts/ssr-glinject src/AV/Input/GLInjectInput.cpp; do
substituteInPlace $i \
--subst-var out \
--subst-var-by sh ${stdenv.shell}
done
'';
nativeBuildInputs = [ pkgconfig cmake ninja ];
buildInputs = [
alsaLib ffmpeg libjack2 libX11 libXext libXfixes libGLU_combined
libpulseaudio qt4
];
meta = with stdenv.lib; {
description = "A screen recorder for Linux";
homepage = http://www.maartenbaert.be/simplescreenrecorder;
license = licenses.gpl3;
platforms = platforms.linux;
maintainers = [ maintainers.goibhniu ];
};
}