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;