pkgs/development/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-23 19:26:19 +07:00
parent f6a583eeec
commit c522fec274
534 changed files with 1314 additions and 1314 deletions

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl, unzip}:
{lib, stdenv, fetchurl, unzip}:
let baseName = "premake";
version = "3.7";
@@ -24,7 +24,7 @@ stdenv.mkDerivation {
meta = {
homepage = "http://industriousone.com/premake";
description = "A simple build configuration and project generation tool using lua";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.unix;
license = lib.licenses.bsd3;
platforms = lib.platforms.unix;
};
}

View File

@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, Foundation, readline }:
{ lib, stdenv, fetchFromGitHub, Foundation, readline }:
with stdenv.lib;
with lib;
stdenv.mkDerivation rec {
pname = "premake5";
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://premake.github.io";
description = "A simple build configuration and project generation tool using lua";
license = stdenv.lib.licenses.bsd3;
license = lib.licenses.bsd3;
platforms = platforms.darwin ++ platforms.linux;
};
}

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip }:
{ lib, stdenv, fetchurl, unzip }:
let baseName = "premake";
version = "4.3";
@@ -25,10 +25,10 @@ stdenv.mkDerivation {
premake_cmd = "premake4";
setupHook = ./setup-hook.sh;
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://industriousone.com/premake";
description = "A simple build configuration and project generation tool using lua";
license = stdenv.lib.licenses.bsd3;
license = lib.licenses.bsd3;
platforms = platforms.unix;
maintainers = [ maintainers.bjornfor ];
};