2021-01-21 17:00:13 +00:00
|
|
|
{ lib, 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
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
buildInputs = lib.optionals stdenv.cc.isClang [ openmp ];
|
2020-08-24 04:20:00 +00:00
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2015-02-17 05:54:23 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|