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, fetchgit, dmd, dub }:
{ lib, stdenv, fetchgit, dmd, dub }:
stdenv.mkDerivation {
pname = "Literate";
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
installPhase = "install -D bin/lit $out/bin/lit";
meta = with stdenv.lib; {
meta = with lib; {
description = "A literate programming tool for any language";
homepage = "http://literate.zbyedidia.webfactional.com/";
license = licenses.mit;

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, python3, asciidoc }:
{ lib, stdenv, fetchurl, python3, asciidoc }:
stdenv.mkDerivation rec {
pname = "eweb";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
cp etangle.w etangle.html $out/share/doc/${pname}-${version}
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://eweb.sourceforge.net/";
description = "An Asciidoc-based literate programming tool, written in Python";
platforms = platforms.linux;

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl}:
{lib, stdenv, fetchurl}:
stdenv.mkDerivation rec {
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
install fw $out/bin/fw
'';
meta = with stdenv.lib; {
meta = with lib; {
version = "3.20";
description = "A simple, reliable literate-programming macro preprocessor";
homepage = "http://www.ross.net/funnelweb/";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, gawk, groff, icon-lang ? null }:
{ lib, stdenv, fetchFromGitHub, gawk, groff, icon-lang ? null }:
let noweb = stdenv.mkDerivation rec {
pname = "noweb";
@@ -13,17 +13,17 @@ let noweb = stdenv.mkDerivation rec {
patches = [ ./no-FAQ.patch ];
nativeBuildInputs = [ groff ] ++ stdenv.lib.optionals (!isNull icon-lang) [ icon-lang ];
nativeBuildInputs = [ groff ] ++ lib.optionals (!isNull icon-lang) [ icon-lang ];
preBuild = ''
mkdir -p "$out/lib/noweb"
cd src
'';
makeFlags = stdenv.lib.optionals (!isNull icon-lang) [
makeFlags = lib.optionals (!isNull icon-lang) [
"LIBSRC=icon"
"ICONC=icont"
] ++ stdenv.lib.optionals stdenv.isDarwin [
] ++ lib.optionals stdenv.isDarwin [
"CC=clang"
];
@@ -70,7 +70,7 @@ let noweb = stdenv.mkDerivation rec {
tlType = "run";
passthru.pkgs = [ noweb.tex ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A simple, extensible literate-programming tool";
homepage = "https://www.cs.tufts.edu/~nr/noweb";
license = licenses.bsd2;

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl, tex}:
{lib, stdenv, fetchurl, tex}:
stdenv.mkDerivation rec {
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
cp htdocs/index.html nuweb.w nuweb.pdf nuwebdoc.pdf README $out/share/doc/${pname}-${version}
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A simple literate programming tool";
homepage = "http://nuweb.sourceforge.net";
license = licenses.free;