1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

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
py = python3.withPackages(ps: [ ps.pillow ]);
@ -41,7 +41,7 @@ in stdenvNoCC.mkDerivation rec {
done
'';
meta = with stdenvNoCC.lib; {
meta = with lib; {
description = "Material Based Cursor";
homepage = "https://github.com/KaizIqbal/Bibata_Cursor";
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
py = python3.withPackages(ps: [ ps.pillow ]);
@ -41,7 +41,7 @@ in stdenvNoCC.mkDerivation rec {
done
'';
meta = with stdenvNoCC.lib; {
meta = with lib; {
description = "Cursors Based on Bibata";
homepage = "https://github.com/KaizIqbal/Bibata_Extra_Cursor";
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 {
pname = "bibata-cursors-translucent";
@ -31,7 +31,7 @@ stdenvNoCC.mkDerivation rec {
cp -pr Bibata_* $out/share/icons/
'';
meta = with stdenvNoCC.lib; {
meta = with lib; {
description = "Translucent Varient of the Material Based Cursor";
homepage = "https://github.com/Silicasandwhich/Bibata_Cursor_Translucent";
license = licenses.gpl3;

View file

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

View file

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

View file

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

View file

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

View file

@ -80,7 +80,7 @@ stdenvNoCC.mkDerivation rec {
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.";
maintainers = with maintainers; [ Baughn numinit ];
license = licenses.mit;