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 {
pyyaml
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Fan controller for AMD graphics cards running the amdgpu driver on Linux";
homepage = "https://github.com/chestm007/amdgpu-fan";
license = licenses.gpl2;

View File

@ -1,4 +1,5 @@
{ stdenv
, lib
, fetchFromGitHub
, qtbase
@ -26,7 +27,7 @@ stdenv.mkDerivation rec {
--replace "/usr/" "$out/"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "System daemon for reading current clocks of AMD Radeon cards";
homepage = "https://github.com/marazmista/radeon-profile-daemon";
license = licenses.gpl2Plus;

View File

@ -1,4 +1,5 @@
{ stdenv
, lib
, fetchFromGitHub
, makeWrapper
@ -40,7 +41,7 @@ stdenv.mkDerivation rec {
--replace /usr/bin/samrewritten $out/bin/samrewritten
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Steam Achievement Manager For Linux";
homepage = "https://github.com/PaulCombal/SamRewritten";
license = licenses.gpl3;

View File

@ -1,4 +1,5 @@
{ stdenv
, lib
, fetchFromGitHub
, python2Packages
@ -48,7 +49,7 @@ python2Packages.buildPythonApplication rec {
# Remove impure executables.
patches = [ ./fix-setup.patch ];
meta = {
meta = with lib; {
description = "Rip Spotify URIs to audio files, including ID3 tags and cover art";
longDescription = ''
Spotify-ripper is a small ripper script for Spotify that rips Spotify URIs
@ -58,6 +59,6 @@ python2Packages.buildPythonApplication rec {
'';
homepage = "https://github.com/hbashton/spotify-ripper";
# spotify-ripper itself is MIT, but the upstream libspotify is unfree.
license = stdenv.lib.licenses.unfree;
license = licenses.unfree;
};
}