depot/third_party/nixpkgs/pkgs/development/libraries/vid-stab/default.nix
Default email 58f8944c92 Project import generated by Copybara.
GitOrigin-RevId: 5aba0fe9766a7201a336249fd6cb76e0d7ba2faf
2020-09-24 23:45:31 -05:00

25 lines
641 B
Nix

{ stdenv, fetchFromGitHub, cmake, openmp }:
stdenv.mkDerivation rec {
pname = "vid.stab";
version = "1.1.0";
src = fetchFromGitHub {
owner = "georgmartius";
repo = pname;
rev = "v${version}";
sha256 = "0a3frpm2kdbx7vszhg64p3alisag73bcspl7fp3a2f1kgq7rbh38";
};
nativeBuildInputs = [ cmake ];
buildInputs = stdenv.lib.optionals stdenv.cc.isClang [ openmp ];
meta = with stdenv.lib; {
description = "Video stabilization library";
homepage = "http://public.hronopik.de/vid.stab/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ codyopel ];
platforms = platforms.all;
};
}