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";
|
2022-08-23 02:11:42 +00:00
|
|
|
version = "unstable-2022-05-30";
|
2020-08-24 04:20:00 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "georgmartius";
|
|
|
|
repo = pname;
|
2022-08-23 02:11:42 +00:00
|
|
|
rev = "90c76aca2cb06c3ff6f7476a7cd6851b39436656";
|
|
|
|
sha256 = "sha256-p1VRnkBeUpET3O2FmaJMyN5/EoSOQLdmRIVbzZcQaKY=";
|
2015-02-17 05:54:23 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-08-24 04:20:00 +00:00
|
|
|
|
2022-08-23 02:11:42 +00:00
|
|
|
propagatedBuildInputs = 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
|
|
|
};
|
|
|
|
}
|