depot/third_party/nixpkgs/pkgs/development/libraries/vid-stab/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

25 lines
632 B
Nix

{ lib, 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 = lib.optionals stdenv.cc.isClang [ openmp ];
meta = with lib; {
description = "Video stabilization library";
homepage = "http://public.hronopik.de/vid.stab/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ codyopel ];
platforms = platforms.all;
};
}