treewide: stdenv.lib -> lib

https://github.com/NixOS/nixpkgs/issues/108938
This commit is contained in:
2021-02-01 08:45:20 +11:00
parent 0c87ddac9e
commit b960c361a9
13 changed files with 33 additions and 20 deletions

View File

@ -1,4 +1,5 @@
{ stdenv
, lib
, fetchFromGitHub
, python3Packages
@ -20,7 +21,7 @@ python3Packages.buildPythonApplication rec {
doCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/Prior99/mopidy-subidy";
description = "Mopidy extension for playing music from Subsonic servers";
license = licenses.bsd3;

View File

@ -1,4 +1,5 @@
{ stdenv
, lib
, fetchFromGitHub
, rustPlatform
@ -14,7 +15,7 @@
}:
let
inherit (stdenv.lib) optional optionals;
inherit (lib) optional optionals;
in
assert withGui -> gtk3.meta.available;
@ -63,7 +64,7 @@ rustPlatform.buildRustPackage rec {
})
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Fast and multi-platform Spotify client with native GUI ";
homepage = "https://github.com/jpochyla/psst";
license = licenses.mit;

View File

@ -1,4 +1,5 @@
{ stdenv
, lib
, fetchFromGitHub
, buildGoModule
@ -18,7 +19,7 @@ let
, ...
}@args:
buildGoModule (stdenv.lib.recursiveUpdate args rec {
buildGoModule (lib.recursiveUpdate args rec {
inherit pname;
version = "1.5.6";
@ -53,7 +54,7 @@ let
''
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Integrate ProtonMail paid account with any program that supports IMAP and SMTP";
homepage = "https://protonmail.com";
license = licenses.gpl3;

View File

@ -1,4 +1,5 @@
{ stdenv
, lib
, fetchFromGitLab
, fetchzip
@ -62,10 +63,10 @@ stdenv.mkDerivation rec {
passthru.providedSessions = [ "cardboard" ];
meta = {
meta = with lib; {
description = "Scrollable tiling Wayland compositor designed with laptops in mind";
homepage = "https://gitlab.com/cardboardwm/cardboard";
license = stdenv.lib.licenses.gpl3;
license = licenses.gpl3;
platforms = wlroots.meta.platforms;
};
}