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

View File

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

View File

@ -1,4 +1,4 @@
{ stdenv, nim }:
{ lib, stdenv, nim }:
{
name,
@ -15,7 +15,7 @@
...
}:
with stdenv.lib;
with lib;
let
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 }:
let
@ -44,7 +44,7 @@ in buildNimblePackage rec {
libnotify
];
meta = with stdenv.lib; {
meta = with lib; {
description = "High level GObject-Introspection based GTK3 bindings for Nim language";
homepage = https://github.com/StefanSalewski/gintro;
license = licenses.mit;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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