pkgs/development/libraries: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-21 19:11:02 -08:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoconf, cairo, opencv, pkg-config }:
{ lib, stdenv, fetchurl, autoconf, cairo, opencv, pkg-config }:
stdenv.mkDerivation rec {
pname = "frei0r-plugins";
@@ -12,13 +12,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoconf pkg-config ];
buildInputs = [ cairo opencv ];
postInstall = stdenv.lib.optionalString stdenv.hostPlatform.isDarwin ''
postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
for f in $out/lib/frei0r-1/*.so* ; do
ln -s $f "''${f%.*}.dylib"
done
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://frei0r.dyne.org";
description = "Minimalist, cross-platform, shared video plugins";
license = licenses.gpl2;