9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
30 lines
830 B
Nix
30 lines
830 B
Nix
{ stdenv, fetchurl, autoconf, cairo, opencv, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "frei0r-plugins";
|
|
version = "1.6.1";
|
|
|
|
src = fetchurl {
|
|
url = "https://files.dyne.org/frei0r/releases/${pname}-${version}.tar.gz";
|
|
sha256 = "0pji26fpd0dqrx1akyhqi6729s394irl73dacnyxk58ijqq4dhp0";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoconf pkg-config ];
|
|
buildInputs = [ cairo opencv ];
|
|
|
|
postInstall = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin ''
|
|
for f in $out/lib/frei0r-1/*.so* ; do
|
|
ln -s $f "''${f%.*}.dylib"
|
|
done
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://frei0r.dyne.org";
|
|
description = "Minimalist, cross-platform, shared video plugins";
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.goibhniu ];
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
|
}
|