pkgs/data, pkgs/games: [sS]tdenv.*lib -> lib

This commit is contained in:
Ben Siraphob 2021-01-17 20:51:41 +07:00
parent d1852aca3c
commit ca7f39f987
8 changed files with 16 additions and 15 deletions

View File

@ -1,4 +1,4 @@
{ stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen, python3 }: { lib, stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen, python3 }:
let let
py = python3.withPackages(ps: [ ps.pillow ]); py = python3.withPackages(ps: [ ps.pillow ]);
@ -41,7 +41,7 @@ in stdenvNoCC.mkDerivation rec {
done done
''; '';
meta = with stdenvNoCC.lib; { meta = with lib; {
description = "Material Based Cursor"; description = "Material Based Cursor";
homepage = "https://github.com/KaizIqbal/Bibata_Cursor"; homepage = "https://github.com/KaizIqbal/Bibata_Cursor";
license = licenses.gpl3; license = licenses.gpl3;

View File

@ -1,4 +1,4 @@
{ stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen, python3 }: { lib, stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen, python3 }:
let let
py = python3.withPackages(ps: [ ps.pillow ]); py = python3.withPackages(ps: [ ps.pillow ]);
@ -41,7 +41,7 @@ in stdenvNoCC.mkDerivation rec {
done done
''; '';
meta = with stdenvNoCC.lib; { meta = with lib; {
description = "Cursors Based on Bibata"; description = "Cursors Based on Bibata";
homepage = "https://github.com/KaizIqbal/Bibata_Extra_Cursor"; homepage = "https://github.com/KaizIqbal/Bibata_Extra_Cursor";
license = licenses.gpl3; license = licenses.gpl3;

View File

@ -1,4 +1,4 @@
{ stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen }: { lib, stdenvNoCC, fetchFromGitHub, gnome-themes-extra, inkscape, xcursorgen }:
stdenvNoCC.mkDerivation rec { stdenvNoCC.mkDerivation rec {
pname = "bibata-cursors-translucent"; pname = "bibata-cursors-translucent";
@ -31,7 +31,7 @@ stdenvNoCC.mkDerivation rec {
cp -pr Bibata_* $out/share/icons/ cp -pr Bibata_* $out/share/icons/
''; '';
meta = with stdenvNoCC.lib; { meta = with lib; {
description = "Translucent Varient of the Material Based Cursor"; description = "Translucent Varient of the Material Based Cursor";
homepage = "https://github.com/Silicasandwhich/Bibata_Cursor_Translucent"; homepage = "https://github.com/Silicasandwhich/Bibata_Cursor_Translucent";
license = licenses.gpl3; license = licenses.gpl3;

View File

@ -1,4 +1,4 @@
{ stdenvNoCC, fetchurl }: { lib, stdenvNoCC, fetchurl }:
let let
srcs = { srcs = {
train-images = fetchurl { train-images = fetchurl {
@ -30,7 +30,7 @@ in
ln -s "${srcs.test-labels}" "$out/${srcs.test-labels.name}" ln -s "${srcs.test-labels}" "$out/${srcs.test-labels.name}"
''; '';
phases = [ "installPhase" ]; phases = [ "installPhase" ];
meta = with stdenvNoCC.lib; { meta = with lib; {
description = "A large database of handwritten digits"; description = "A large database of handwritten digits";
longDescription = '' longDescription = ''
The MNIST database (Modified National Institute of Standards and The MNIST database (Modified National Institute of Standards and

View File

@ -1,4 +1,5 @@
{ stdenvNoCC { lib
, stdenvNoCC
, coreutils , coreutils
}: }:
@ -10,7 +11,7 @@
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation {
inherit patches src version; inherit patches src version;
pname = "fedora${stdenvNoCC.lib.versions.major version}-backgrounds"; pname = "fedora${lib.versions.major version}-backgrounds";
dontBuild = true; dontBuild = true;
@ -32,7 +33,7 @@ stdenvNoCC.mkDerivation {
"DESTDIR=$(out)" "DESTDIR=$(out)"
]; ];
meta = with stdenvNoCC.lib; { meta = with lib; {
homepage = "https://github.com/fedoradesign/backgrounds"; homepage = "https://github.com/fedoradesign/backgrounds";
description = "A set of default and supplemental wallpapers for Fedora"; description = "A set of default and supplemental wallpapers for Fedora";
license = licenses.cc-by-sa-40; license = licenses.cc-by-sa-40;

View File

@ -38,7 +38,7 @@ buildEnv {
++ lib.optional enableDwarfTherapist dwarf-therapist ++ lib.optional enableDwarfTherapist dwarf-therapist
++ lib.optional enableLegendsBrowser legends-browser; ++ lib.optional enableLegendsBrowser legends-browser;
meta = with stdenvNoCC.lib; { meta = with lib; {
description = "An opinionated wrapper for Dwarf Fortress"; description = "An opinionated wrapper for Dwarf Fortress";
maintainers = with maintainers; [ Baughn numinit ]; maintainers = with maintainers; [ Baughn numinit ];
license = licenses.mit; license = licenses.mit;

View File

@ -1,4 +1,4 @@
{ stdenvNoCC, buildEnv, writeShellScriptBin, fetchurl, jre }: { lib, stdenvNoCC, buildEnv, writeShellScriptBin, fetchurl, jre }:
let let
name = "legends-browser-${version}"; name = "legends-browser-${version}";
@ -26,7 +26,7 @@ buildEnv {
inherit name; inherit name;
paths = [ script ]; paths = [ script ];
meta = with stdenvNoCC.lib; { meta = with lib; {
description = "A multi-platform, open source, java-based legends viewer for dwarf fortress"; description = "A multi-platform, open source, java-based legends viewer for dwarf fortress";
maintainers = with maintainers; [ Baughn ]; maintainers = with maintainers; [ Baughn ];
license = licenses.mit; license = licenses.mit;

View File

@ -80,7 +80,7 @@ stdenvNoCC.mkDerivation rec {
cp -a *.png $art/data/art/ cp -a *.png $art/data/art/
''; '';
meta = with stdenvNoCC.lib; { meta = with lib; {
description = "A plugin for Dwarf Fortress / DFHack that improves various aspects the game interface."; description = "A plugin for Dwarf Fortress / DFHack that improves various aspects the game interface.";
maintainers = with maintainers; [ Baughn numinit ]; maintainers = with maintainers; [ Baughn numinit ];
license = licenses.mit; license = licenses.mit;