replace stdenv.lib with lib because deprecated

This commit is contained in:
schweby 2021-11-19 19:53:06 +01:00
parent fccb150d3c
commit 668a3fa4ee
3 changed files with 5 additions and 5 deletions

View file

@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
$out/bin/DesktopVideoHelper $out/bin/DesktopVideoHelper
''; '';
meta = with stdenv.lib; { meta = with lib; {
homepage = "https://www.blackmagicdesign.com/support/family/capture-and-playback"; homepage = "https://www.blackmagicdesign.com/support/family/capture-and-playback";
maintainers = [ maintainers.hexchen ]; maintainers = [ maintainers.hexchen ];
license = licenses.unfree; license = licenses.unfree;

View file

@ -1,4 +1,4 @@
{ stdenv, requireFile, fetchpatch, kernel }: { stdenv, requireFile, fetchpatch, kernel, lib }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "decklink"; pname = "decklink";
@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
meta = with stdenv.lib; { meta = with lib; {
homepage = "https://www.blackmagicdesign.com/support/family/capture-and-playback"; homepage = "https://www.blackmagicdesign.com/support/family/capture-and-playback";
maintainers = [ maintainers.hexchen ]; maintainers = [ maintainers.hexchen ];
license = licenses.unfree; license = licenses.unfree;

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchFromGitHub, buildGoPackage, buildEnv }: { stdenv, fetchurl, fetchFromGitHub, buildGoPackage, buildEnv, lib }:
let let
sources = import ../../nix/sources.nix; sources = import ../../nix/sources.nix;
@ -40,7 +40,7 @@ in
name = "mattermost-${version}"; name = "mattermost-${version}";
paths = [ mattermost-server mattermost-webapp ]; paths = [ mattermost-server mattermost-webapp ];
meta = with stdenv.lib; { meta = with lib; {
description = "Open-source, self-hosted Slack-alternative"; description = "Open-source, self-hosted Slack-alternative";
homepage = "https://www.mattermost.org"; homepage = "https://www.mattermost.org";
license = with licenses; [ agpl3 asl20 ]; license = with licenses; [ agpl3 asl20 ];