replace deprecated stdenv.lib with lib

This commit is contained in:
Christian Ulrich 2021-07-24 15:53:20 +02:00
parent 21c33ab991
commit d3baaea4f0
No known key found for this signature in database
GPG Key ID: 8241BE099775A097
10 changed files with 25 additions and 19 deletions

View File

@ -1,4 +1,5 @@
{ stdenv { lib
, stdenv
, cmake , cmake
, fetchFromGitLab , fetchFromGitLab
, jansson , jansson
@ -37,7 +38,7 @@ stdenv.mkDerivation rec {
gtk3 gtk3
]; ];
meta = with stdenv.lib; { meta = with lib; {
description = "A GTK based GUI for the CADET subsystem of GNUnet."; description = "A GTK based GUI for the CADET subsystem of GNUnet.";
homepage = https://gitlab.com/TheJackiMonster/cadet-gtk; homepage = https://gitlab.com/TheJackiMonster/cadet-gtk;
license = licenses.gpl3Plus; license = licenses.gpl3Plus;

View File

@ -1,4 +1,5 @@
{ autoreconfHook { autoreconfHook
, lib
, stdenv , stdenv
, fetchFromGitHub , fetchFromGitHub
, gnutls , gnutls
@ -33,7 +34,7 @@ stdenv.mkDerivation rec {
gnutls gnutls
]; ];
meta = with stdenv.lib; { meta = with lib; {
description = "ngtcp2 project is an effort to implement IETF QUIC protocol"; description = "ngtcp2 project is an effort to implement IETF QUIC protocol";
homepage = https://github.com/ngtcp2/ngtcp2; homepage = https://github.com/ngtcp2/ngtcp2;
license = licenses.mit; license = licenses.mit;

View File

@ -1,4 +1,4 @@
{ stdenv, nim }: { lib, stdenv, nim }:
{ {
name, name,
@ -15,7 +15,7 @@
... ...
}: }:
with stdenv.lib; with lib;
let let
getRecursiveInputs = getInputsFn: deps: getRecursiveInputs = getInputsFn: deps:

View File

@ -1,4 +1,4 @@
{ stdenv, buildNimblePackage, fetchFromGitHub, glib, gobjectIntrospection, { lib, stdenv, buildNimblePackage, fetchFromGitHub, glib, gobjectIntrospection,
gnome3, cairo, pango, librsvg, libnotify, hicolor-icon-theme, wrapGAppsHook }: gnome3, cairo, pango, librsvg, libnotify, hicolor-icon-theme, wrapGAppsHook }:
let let
@ -44,7 +44,7 @@ in buildNimblePackage rec {
libnotify libnotify
]; ];
meta = with stdenv.lib; { meta = with lib; {
description = "High level GObject-Introspection based GTK3 bindings for Nim language"; description = "High level GObject-Introspection based GTK3 bindings for Nim language";
homepage = https://github.com/StefanSalewski/gintro; homepage = https://github.com/StefanSalewski/gintro;
license = licenses.mit; license = licenses.mit;

View File

@ -1,4 +1,4 @@
{ stdenv, buildNimblePackage, fetchFromGitHub, pkg-config, gtk3, { lib, stdenv, buildNimblePackage, fetchFromGitHub, pkg-config, gtk3,
wrapGAppsHook }: wrapGAppsHook }:
buildNimblePackage rec { buildNimblePackage rec {
@ -23,7 +23,7 @@ buildNimblePackage rec {
buildInputs = [ gtk3 ]; buildInputs = [ gtk3 ];
meta = with stdenv.lib; { meta = with lib; {
description = "Beginnings of what might become Nim's official UI library"; description = "Beginnings of what might become Nim's official UI library";
homepage = https://github.com/nim-lang/ui; homepage = https://github.com/nim-lang/ui;
license = licenses.mit; license = licenses.mit;

View File

@ -1,4 +1,4 @@
{ stdenv, python3, hid }: { lib, stdenv, python3, hid }:
with python3.pkgs; with python3.pkgs;
@ -11,7 +11,7 @@ buildPythonPackage rec {
hid hid
]; ];
meta = with stdenv.lib; { meta = with lib; {
homepage = "https://ulrich.earth/code/OpenPhone"; homepage = "https://ulrich.earth/code/OpenPhone";
description = "Open source desk telephone"; description = "Open source desk telephone";
license = licenses.gpl3; license = licenses.gpl3;

View File

@ -1,4 +1,5 @@
{ stdenv { lib
, stdenv
, cmake , cmake
, openssl , openssl
, picotls , picotls
@ -29,7 +30,7 @@ stdenv.mkDerivation rec {
openssl openssl
]; ];
meta = with stdenv.lib; { meta = with lib; {
description = "Minimalist implementation of the QUIC protocol, as defined by the IETF"; description = "Minimalist implementation of the QUIC protocol, as defined by the IETF";
homepage = https://github.com/private-octopus/picoquic; homepage = https://github.com/private-octopus/picoquic;
license = licenses.mit; license = licenses.mit;

View File

@ -1,4 +1,5 @@
{ stdenv { lib
, stdenv
, cmake , cmake
, brotli , brotli
, openssl , openssl
@ -58,7 +59,7 @@ stdenv.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
meta = with stdenv.lib; { meta = with lib; {
description = "Picotls is a TLS 1.3 (RFC 8446) protocol stack written in C"; description = "Picotls is a TLS 1.3 (RFC 8446) protocol stack written in C";
homepage = https://github.com/h2o/picotls; homepage = https://github.com/h2o/picotls;
license = licenses.mit; license = licenses.mit;

View File

@ -1,4 +1,5 @@
{ stdenv { lib
, stdenv
, cmake , cmake
, openssl , openssl
, perl , perl
@ -63,7 +64,7 @@ stdenv.mkDerivation rec {
runHook postInstall runHook postInstall
''; '';
meta = with stdenv.lib; { meta = with lib; {
description = "A modular QUIC stack designed primarily for H2O"; description = "A modular QUIC stack designed primarily for H2O";
homepage = https://github.com/h2o/quicly; homepage = https://github.com/h2o/quicly;
license = licenses.mit; license = licenses.mit;

View File

@ -1,4 +1,5 @@
{ stdenv { lib
, stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, isPy3k , isPy3k
@ -20,7 +21,7 @@ buildPythonPackage rec {
buildInputs = [ nose ]; buildInputs = [ nose ];
propagatedBuildInputs = [ jinja2 pyyaml ]; propagatedBuildInputs = [ jinja2 pyyaml ];
meta = with stdenv.lib; { meta = with lib; {
homepage = https://github.com/kolypto/j2cli; homepage = https://github.com/kolypto/j2cli;
description = "Jinja2 Command-Line Tool"; description = "Jinja2 Command-Line Tool";
license = licenses.bsd3; license = licenses.bsd3;