pkgs/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 17:12:36 +07:00
parent 94f3683935
commit 8c5d37129f
916 changed files with 2510 additions and 2510 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, gnum4 }:
{ lib, stdenv, fetchurl, gnum4 }:
stdenv.mkDerivation rec {
name = "jade-${version}-${debpatch}";
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
description = "James Clark's DSSSL Engine";
license = "custom";
homepage = "http://www.jclark.com/jade/";
platforms = with stdenv.lib.platforms; linux;
maintainers = with stdenv.lib.maintainers; [ e-user ];
platforms = with lib.platforms; linux;
maintainers = with lib.maintainers; [ e-user ];
};
}
+3 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, opensp, perl }:
{ lib, stdenv, fetchurl, opensp, perl }:
stdenv.mkDerivation rec {
name = "openjade-1.3.2";
@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
meta = {
description = "An implementation of DSSSL, an ISO standard for formatting SGML (and XML) documents";
license = stdenv.lib.licenses.mit;
license = lib.licenses.mit;
homepage = "http://openjade.sourceforge.net/";
platforms = stdenv.lib.platforms.linux;
platforms = lib.platforms.linux;
};
}
+5 -5
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, xmlto, docbook_xml_dtd_412
{ lib, stdenv, fetchurl, fetchpatch, xmlto, docbook_xml_dtd_412
, libxslt, docbook_xsl, autoconf, automake, gettext, libiconv, libtool}:
stdenv.mkDerivation {
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
sha256 = "04q14s8qsad0bkjmj067dn831i0r6v7742rafdlnbfm5y249m2q6";
})
];
setupHook = ./setup-hook.sh;
postFixup = ''
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
preConfigure = if stdenv.isCygwin then "autoreconf -fi" else null;
# need autoconf, automake, gettext, and libtool for reconfigure
nativeBuildInputs = stdenv.lib.optionals stdenv.isCygwin [ autoconf automake libtool ];
nativeBuildInputs = lib.optionals stdenv.isCygwin [ autoconf automake libtool ];
buildInputs = [ xmlto docbook_xml_dtd_412 libxslt docbook_xsl gettext libiconv ];
@@ -40,8 +40,8 @@ stdenv.mkDerivation {
meta = {
description = "A suite of SGML/XML processing tools";
license = stdenv.lib.licenses.mit;
license = lib.licenses.mit;
homepage = "http://openjade.sourceforge.net/";
platforms = stdenv.lib.platforms.unix;
platforms = lib.platforms.unix;
};
}