97c484a10f
They were mostly missing <cmath> or <math.h>.
31 lines
844 B
Nix
31 lines
844 B
Nix
{ stdenv, fetchurl, alsaLib, ffmpeg, libjack2, libX11, libXext
|
|
, libXfixes, mesa, pkgconfig, libpulseaudio, qt4
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "simplescreenrecorder-${version}";
|
|
version = "0.3.6";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/MaartenBaert/ssr/archive/${version}.tar.gz";
|
|
sha256 = "1d89ncspjd8c4mckf0nb6y3hrxpv4rjpbj868pznhvfmdgr5nvql";
|
|
};
|
|
|
|
postPatch = "sed '1i#include <random>' -i src/Benchmark.cpp";
|
|
|
|
buildInputs = [
|
|
alsaLib ffmpeg libjack2 libX11 libXext libXfixes mesa pkgconfig
|
|
libpulseaudio qt4
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|