mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
06b6e303b0
- vid-stab 1.1.0 (current release) hardcodes libgomp in its pkg-config. Current git version includes a commit fixing this, so this change updates to the git versions - placing openmp in `buildInputs` causes it not to be present when linking against vid-stab, causing linking to fail. Move it to `propagatedBuildInputs` to resolve - the all-packages.nix change enables vid-stab in (for example) ffmpeg on macos (where it was previously disabled).
26 lines
684 B
Nix
26 lines
684 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, openmp }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vid.stab";
|
|
version = "unstable-2022-05-30";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "georgmartius";
|
|
repo = pname;
|
|
rev = "90c76aca2cb06c3ff6f7476a7cd6851b39436656";
|
|
sha256 = "sha256-p1VRnkBeUpET3O2FmaJMyN5/EoSOQLdmRIVbzZcQaKY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
propagatedBuildInputs = 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;
|
|
};
|
|
}
|