2020-08-24 04:20:00 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, openmp }:
|
2015-02-17 05:54:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-08-24 04:20:00 +00:00
|
|
|
pname = "vid.stab";
|
|
|
|
version = "1.1.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "georgmartius";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0a3frpm2kdbx7vszhg64p3alisag73bcspl7fp3a2f1kgq7rbh38";
|
2015-02-17 05:54:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-08-24 04:20:00 +00:00
|
|
|
|
|
|
|
buildInputs = stdenv.lib.optionals stdenv.cc.isClang [ openmp ];
|
|
|
|
|
2015-02-17 05:54:23 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Video stabilization library";
|
2020-08-24 04:20:00 +00:00
|
|
|
homepage = "http://public.hronopik.de/vid.stab/";
|
|
|
|
license = licenses.gpl2Plus;
|
2015-02-17 05:54:23 +00:00
|
|
|
maintainers = with maintainers; [ codyopel ];
|
2020-08-24 04:20:00 +00:00
|
|
|
platforms = platforms.all;
|
2015-02-17 05:54:23 +00:00
|
|
|
};
|
|
|
|
}
|