pkgs/tools: stdenv.lib -> lib
This commit is contained in:
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
# Related: https://github.com/Wikinaut/agrep/pull/11
|
||||
prePatch = stdenv.lib.optionalString (stdenv.hostPlatform.isMusl || stdenv.isDarwin) ''
|
||||
prePatch = lib.optionalString (stdenv.hostPlatform.isMusl || stdenv.isDarwin) ''
|
||||
sed -i '1i#include <sys/stat.h>' checkfil.c newmgrep.c recursiv.c
|
||||
'';
|
||||
installPhase = ''
|
||||
|
||||
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "0h47xqqq8f8m28rl1s6r305cf3dvk94aa86j6m0rk535i2jqfvhp";
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A code search-and-replace tool";
|
||||
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
"GLOBALCONF=${placeholder "out"}/share/boxes/boxes-config"
|
||||
'';
|
||||
|
||||
makeFlags = stdenv.lib.optionals stdenv.isDarwin [ "CC=cc" ];
|
||||
makeFlags = lib.optionals stdenv.isDarwin [ "CC=cc" ];
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 -t $out/bin src/boxes
|
||||
|
||||
@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "1ampmw0l2wk2xp4q13aj5shxncqfh4dc3rsmpk2scaivanrsikn5";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Commandline tool to display information about unicode characters";
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# This file was generated by go2nix.
|
||||
{ stdenv, buildGoPackage, fetchgit }:
|
||||
{ lib, stdenv, buildGoPackage, fetchgit }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "codesearch";
|
||||
version = "20150717-${stdenv.lib.strings.substring 0 7 rev}";
|
||||
version = "20150717-${lib.strings.substring 0 7 rev}";
|
||||
rev = "a45d81b686e85d01f2838439deaf72126ccd5a96";
|
||||
|
||||
goPackagePath = "github.com/google/codesearch";
|
||||
@@ -17,8 +17,8 @@ buildGoPackage rec {
|
||||
meta = {
|
||||
description = "Fast, indexed regexp search over large file trees";
|
||||
homepage = "https://github.com/google/codesearch";
|
||||
license = [ stdenv.lib.licenses.bsd3 ];
|
||||
maintainers = [ stdenv.lib.maintainers.bennofs ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = [ lib.licenses.bsd3 ];
|
||||
maintainers = [ lib.maintainers.bennofs ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "1w0q5w0bf1682jvzcml8cgmr9mrgi4if0p63wzchyjav330dp6pk";
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Colourise your checksum output";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchzip, libtommath}:
|
||||
{lib, stdenv, fetchzip, libtommath}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "convertlit-1.8";
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://www.convertlit.com/";
|
||||
description = "A tool for converting Microsoft Reader ebooks to more open formats";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "diction";
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
characteristics of a document, including sentence length and other
|
||||
readability measures.
|
||||
'';
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "09yn02985yv40n9y0ipz0jmj7iqhz7l8hd3ry9ib3fyw9pyklnfa";
|
||||
|
||||
buildInputs = (stdenv.lib.optional stdenv.isDarwin Security);
|
||||
buildInputs = (lib.optional stdenv.isDarwin Security);
|
||||
|
||||
preCheck = ''
|
||||
export DIFFR_TESTS_BINARY_PATH=$releaseDir/diffr
|
||||
|
||||
@@ -22,8 +22,8 @@ stdenv.mkDerivation rec {
|
||||
configureFlags =
|
||||
# "pr" need not be on the PATH as a run-time dep, so we need to tell
|
||||
# configure where it is. Covers the cross and native case alike.
|
||||
stdenv.lib.optional (coreutils != null) "PR_PROGRAM=${coreutils}/bin/pr"
|
||||
++ stdenv.lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "gl_cv_func_getopt_gnu=yes";
|
||||
lib.optional (coreutils != null) "PR_PROGRAM=${coreutils}/bin/pr"
|
||||
++ lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "gl_cv_func_getopt_gnu=yes";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://www.gnu.org/software/diffutils/diffutils.html";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, pkg-config, libxml2, libzip }:
|
||||
{ lib, stdenv, fetchurl, cmake, pkg-config, libxml2, libzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ebook-tools-0.2.2";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags libzip)"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://ebook-tools.sourceforge.net";
|
||||
description = "Tools and library for dealing with various ebook file formats";
|
||||
maintainers = [ ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, gettext }:
|
||||
{ lib, stdenv, fetchurl, gettext }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "enscript-1.6.6";
|
||||
@@ -33,11 +33,11 @@ stdenv.mkDerivation rec {
|
||||
it has many options that can be used to customize printouts.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
homepage = "https://www.gnu.org/software/enscript/";
|
||||
|
||||
maintainers = [ ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "18bspi59vfnqijxgipmv2h6h5iy7qynpk1ph46yhjsnndjlxxcba";
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A utility that makes sweeping changes to large, shared code bases";
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
assert (doCheck && stdenv.isLinux) -> glibcLocales != null;
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) optional;
|
||||
inherit (lib) optional;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gawk-5.1.0";
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
, expat, tre, makeWrapper }:
|
||||
|
||||
let
|
||||
buildExtension = stdenv.lib.makeOverridable
|
||||
buildExtension = lib.makeOverridable
|
||||
({ name, gawkextlib, extraBuildInputs ? [ ], doCheck ? true }:
|
||||
let is_extension = !isNull gawkextlib;
|
||||
in stdenv.mkDerivation rec {
|
||||
@@ -32,7 +32,7 @@ let
|
||||
];
|
||||
|
||||
buildInputs = [ gawk ] ++ extraBuildInputs;
|
||||
propagatedBuildInputs = stdenv.lib.optional is_extension gawkextlib;
|
||||
propagatedBuildInputs = lib.optional is_extension gawkextlib;
|
||||
|
||||
setupHook = if is_extension then ./setup-hook.sh else null;
|
||||
inherit gawk;
|
||||
|
||||
@@ -11,7 +11,7 @@ mkDerivation rec {
|
||||
sha256 = "0hf1c2m8n88frmxmyn0ndr8129p7iky49nq565sw1asaydm5z6pb";
|
||||
};
|
||||
|
||||
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
postPatch = lib.optionalString stdenv.isDarwin ''
|
||||
substituteInPlace glogg.pro \
|
||||
--replace "boost_program_options-mt" "boost_program_options"
|
||||
'';
|
||||
@@ -22,7 +22,7 @@ mkDerivation rec {
|
||||
qmakeFlags = [ "VERSION=${version}" ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
mkdir -p $out/Applications
|
||||
mv $out/bin/glogg.app $out/Applications/glogg.app
|
||||
rm -fr $out/{bin,share}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl
|
||||
{ lib, stdenv, fetchurl
|
||||
, ed, autoreconfHook
|
||||
}:
|
||||
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"ac_cv_func_strnlen_working=yes"
|
||||
];
|
||||
|
||||
@@ -50,9 +50,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = "https://savannah.gnu.org/projects/patch";
|
||||
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
maintainers = [ ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gnused-4.2.2";
|
||||
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "f048d1838da284c8bc9753e4506b85a1e0cc1ea8999d36f6995bcb9460cddbd7";
|
||||
};
|
||||
|
||||
configureFlags = stdenv.lib.optional stdenv.hostPlatform.isMinGW "ac_cv_func__set_invalid_parameter_handler=no";
|
||||
configureFlags = lib.optional stdenv.hostPlatform.isMinGW "ac_cv_func__set_invalid_parameter_handler=no";
|
||||
|
||||
outputs = [ "out" "info" ];
|
||||
|
||||
@@ -25,9 +25,9 @@ stdenv.mkDerivation {
|
||||
multiple occurrences of a string within a file.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl }:
|
||||
{ lib, stdenv, fetchurl, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gnused";
|
||||
@@ -30,9 +30,9 @@ stdenv.mkDerivation rec {
|
||||
multiple occurrences of a string within a file.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, python2Packages }:
|
||||
{ lib, stdenv, fetchFromGitHub, python2Packages }:
|
||||
|
||||
python2Packages.buildPythonApplication rec {
|
||||
program = "grin";
|
||||
@@ -18,7 +18,7 @@ python2Packages.buildPythonApplication rec {
|
||||
meta = {
|
||||
homepage = "https://github.com/rkern/grin";
|
||||
description = "A grep program configured the way I like it";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.sjagoe ];
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = [ lib.maintainers.sjagoe ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -24,18 +24,18 @@ stdenv.mkDerivation rec {
|
||||
./0001-Fix-cross-compilation-by-looking-for-ar.patch
|
||||
];
|
||||
|
||||
postPatch = stdenv.lib.optionalString (psutils != null) ''
|
||||
postPatch = lib.optionalString (psutils != null) ''
|
||||
substituteInPlace src/preproc/html/pre-html.cpp \
|
||||
--replace "psselect" "${psutils}/bin/psselect"
|
||||
'' + stdenv.lib.optionalString (netpbm != null) ''
|
||||
'' + lib.optionalString (netpbm != null) ''
|
||||
substituteInPlace src/preproc/html/pre-html.cpp \
|
||||
--replace "pnmcut" "${stdenv.lib.getBin netpbm}/bin/pnmcut" \
|
||||
--replace "pnmcrop" "${stdenv.lib.getBin netpbm}/bin/pnmcrop" \
|
||||
--replace "pnmtopng" "${stdenv.lib.getBin netpbm}/bin/pnmtopng"
|
||||
--replace "pnmcut" "${lib.getBin netpbm}/bin/pnmcut" \
|
||||
--replace "pnmcrop" "${lib.getBin netpbm}/bin/pnmcrop" \
|
||||
--replace "pnmtopng" "${lib.getBin netpbm}/bin/pnmtopng"
|
||||
substituteInPlace tmac/www.tmac \
|
||||
--replace "pnmcrop" "${stdenv.lib.getBin netpbm}/bin/pnmcrop" \
|
||||
--replace "pngtopnm" "${stdenv.lib.getBin netpbm}/bin/pngtopnm" \
|
||||
--replace "@PNMTOPS_NOSETPAGE@" "${stdenv.lib.getBin netpbm}/bin/pnmtops -nosetpage"
|
||||
--replace "pnmcrop" "${lib.getBin netpbm}/bin/pnmcrop" \
|
||||
--replace "pngtopnm" "${lib.getBin netpbm}/bin/pngtopnm" \
|
||||
--replace "@PNMTOPS_NOSETPAGE@" "${lib.getBin netpbm}/bin/pnmtops -nosetpage"
|
||||
'';
|
||||
|
||||
buildInputs = [ ghostscript psutils netpbm perl ];
|
||||
@@ -48,14 +48,14 @@ stdenv.mkDerivation rec {
|
||||
# have to pass "--with-appresdir", too.
|
||||
configureFlags = [
|
||||
"--without-x"
|
||||
] ++ stdenv.lib.optionals (ghostscript != null) [
|
||||
] ++ lib.optionals (ghostscript != null) [
|
||||
"--with-gs=${ghostscript}/bin/gs"
|
||||
] ++ stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
] ++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
"ac_cv_path_PERL=${buildPackages.perl}/bin/perl"
|
||||
"gl_cv_func_signbit=yes"
|
||||
];
|
||||
|
||||
makeFlags = stdenv.lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
makeFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
|
||||
# Trick to get the build system find the proper 'native' groff
|
||||
# http://www.mail-archive.com/bug-groff@gnu.org/msg01335.html
|
||||
"GROFF_BIN_PATH=${buildPackages.groff}/bin"
|
||||
@@ -99,7 +99,7 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace $perl/bin/grog \
|
||||
--replace $out/lib/groff/grog $perl/lib/groff/grog
|
||||
|
||||
'' + stdenv.lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
|
||||
'' + lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
|
||||
find $perl/ -type f -print0 | xargs --null sed -i 's|${buildPackages.perl}|${perl}|'
|
||||
'';
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
version = "3.38.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "282puBoi2SM74Y6Z/VxEj2qwV1nR6UwQWAu4McotdjU=";
|
||||
};
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchFromGitLab, getopt, lua, boost, pkgconfig, swig, perl, gcc }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
self = stdenv.mkDerivation rec {
|
||||
@@ -20,7 +20,7 @@ let
|
||||
|
||||
buildInputs = [ getopt lua boost ];
|
||||
|
||||
prePatch = stdenv.lib.optionalString stdenv.cc.isClang ''
|
||||
prePatch = lib.optionalString stdenv.cc.isClang ''
|
||||
substituteInPlace src/makefile \
|
||||
--replace 'CXX=g++' 'CXX=clang++'
|
||||
'';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "html2text-1.3.2a";
|
||||
@@ -25,8 +25,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "Convert HTML to plain text";
|
||||
homepage = "http://www.mbayer.de/html2text/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.eikek ];
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.eikek ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ python3Packages.buildPythonPackage rec {
|
||||
sha256 = "1phz0a8jxg074k0im7shrrdfvdps7bn1fa4zwcf8q3sa2iig26l4";
|
||||
};
|
||||
|
||||
makeWrapperArgs = ["--prefix" "PATH" ":" (stdenv.lib.makeBinPath [ imagemagick xpdf tesseract ]) ];
|
||||
makeWrapperArgs = ["--prefix" "PATH" ":" (lib.makeBinPath [ imagemagick xpdf tesseract ]) ];
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [ unidecode dateparser pyyaml pillow chardet pdfminer ];
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postPatch = ''
|
||||
cat >> local.h <<EOF
|
||||
${stdenv.lib.optionalString (!stdenv.isDarwin) "#define USG"}
|
||||
${lib.optionalString (!stdenv.isDarwin) "#define USG"}
|
||||
#define TERMLIB "-lncurses"
|
||||
#define LANGUAGES "{american,MASTERDICTS=american.med,HASHFILES=americanmed.hash}"
|
||||
#define MASTERHASH "americanmed.hash"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, makeWrapper, spidermonkey_38 }:
|
||||
{ lib, stdenv, fetchFromGitHub, makeWrapper, spidermonkey_38 }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "jsawk";
|
||||
@@ -21,8 +21,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "Like awk, but for JSON";
|
||||
homepage = "https://github.com/micha/jsawk";
|
||||
license = stdenv.lib.licenses.publicDomain;
|
||||
maintainers = with stdenv.lib.maintainers; [ puffnfresh ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.publicDomain;
|
||||
maintainers = with lib.maintainers; [ puffnfresh ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
stdenv.mkDerivation rec {
|
||||
name = "kakasi-2.3.6";
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin [ libiconv ];
|
||||
buildInputs = lib.optional stdenv.isDarwin [ libiconv ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Kanji Kana Simple Inverter";
|
||||
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./gcc-O3.patch ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing";
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://www.phontron.com/kytea/";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv, fetchFromGitHub, makeWrapper, perlPackages, beancount }:
|
||||
{ lib, stdenv, fetchFromGitHub, makeWrapper, perlPackages, beancount }:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
perlDeps = with perlPackages; [
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, zlib, bzip2, bison, flex }:
|
||||
{ lib, stdenv, fetchurl, zlib, bzip2, bison, flex }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mairix-0.24";
|
||||
@@ -17,9 +17,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.rc0.org.uk/mairix";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
description = "Program for indexing and searching email messages stored in maildir, MH or mbox";
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; all;
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
platforms = with lib.platforms; all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "1psgqj04hzv7p18h4phsahxg4rj9yz38b8mh111k6l8m4r83kd75";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Create books from MarkDown";
|
||||
|
||||
@@ -21,7 +21,7 @@ rustPlatform.buildRustPackage rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig asciidoctor installShellFiles ];
|
||||
buildInputs = [ openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
|
||||
buildInputs = [ openssl ] ++ lib.optional stdenv.isDarwin Security;
|
||||
|
||||
cargoSha256 = "sha256-mnDUIJhEGNoh3eq2Vhww1T/tpZh9RP+RxbRsBNrpOzw=";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv }:
|
||||
{ fetchurl, lib, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mpage-2.5.7";
|
||||
@@ -24,6 +24,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
license = "liberal"; # a non-copyleft license, see `Copyright' file
|
||||
homepage = "http://www.mesa.nl/pub/mpage/";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl} :
|
||||
{lib, stdenv, fetchurl} :
|
||||
|
||||
# This package requires a locale ru_RU.cp1251 locale entry.
|
||||
# Waiting for a better idea, I created it modifying a store file using:
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://multitran.sourceforge.net/";
|
||||
description = "Multitran data english-russian";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl} :
|
||||
{lib, stdenv, fetchurl} :
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libbtree-0.0.1alpha2";
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://multitran.sourceforge.net/";
|
||||
description = "Multitran lib: library for reading Multitran's BTREE database format";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchurl, libmtsupport }:
|
||||
{ lib, stdenv, fetchurl, libmtsupport }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libfacet-0.0.1alpha2";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/multitran/libfacet-0.0.1alpha2.tar.bz2";
|
||||
sha256 = "dc53351c4035a3c27dc6c1d0410e808346fbc107e7e7c112ec65c59d0df7a144";
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://multitran.sourceforge.net/";
|
||||
description = "Multitran lib: enchanced locale facets";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, libmtsupport, libfacet, libbtree, multitrandata } :
|
||||
{lib, stdenv, fetchurl, libmtsupport, libfacet, libbtree, multitrandata } :
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libmtquery-0.0.1alpha3";
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://multitran.sourceforge.net/";
|
||||
description = "Multitran lib: main engine to query translations";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl} :
|
||||
{lib, stdenv, fetchurl} :
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libmtsupport-0.0.1alpha2";
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://multitran.sourceforge.net/";
|
||||
description = "Multitran lib: basic useful functions";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, libmtsupport, libfacet, libbtree, libmtquery, help2man} :
|
||||
{lib, stdenv, fetchurl, libmtsupport, libfacet, libbtree, libmtquery, help2man} :
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "mt-utils-0.0.1alpha3";
|
||||
@@ -25,8 +25,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://multitran.sourceforge.net/";
|
||||
description = "Multitran: simple command line utilities for dictionary maintenance";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, perl }:
|
||||
{ fetchurl, lib, stdenv, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "namazu-2.0.21";
|
||||
@@ -34,10 +34,10 @@ stdenv.mkDerivation rec {
|
||||
but also as a personal search system for email or other files.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
homepage = "http://namazu.org/";
|
||||
|
||||
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice
|
||||
platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux; # arbitrary choice
|
||||
maintainers = [ ];
|
||||
broken = true; # File-MMagic is not compatible with our Perl version
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, yacc }:
|
||||
{ lib, stdenv, fetchFromGitHub, yacc }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nawk";
|
||||
@@ -31,8 +31,8 @@ stdenv.mkDerivation rec {
|
||||
(Addison-Wesley, 1988, ISBN 0-201-07981-X).
|
||||
'';
|
||||
homepage = "https://www.cs.princeton.edu/~bwk/btl.mirror/";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = [ stdenv.lib.maintainers.konimex ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.konimex ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nkf";
|
||||
@@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Tool for converting encoding of Japanese text";
|
||||
homepage = "https://nkf.osdn.jp/";
|
||||
license = stdenv.lib.licenses.zlib;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.auntie ];
|
||||
license = lib.licenses.zlib;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.auntie ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -74,11 +74,11 @@ buildPythonApplication rec {
|
||||
patches = [
|
||||
(substituteAll {
|
||||
src = ./liblept.patch;
|
||||
liblept = "${stdenv.lib.getLib leptonica}/lib/liblept${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
liblept = "${lib.getLib leptonica}/lib/liblept${stdenv.hostPlatform.extensions.sharedLibrary}";
|
||||
})
|
||||
];
|
||||
|
||||
makeWrapperArgs = [ "--prefix PATH : ${stdenv.lib.makeBinPath [ ghostscript jbig2enc pngquant qpdf tesseract4 unpaper ]}" ];
|
||||
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ghostscript jbig2enc pngquant qpdf tesseract4 unpaper ]}" ];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/jbarlow83/OCRmyPDF";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, zlib, libiconv }:
|
||||
{ lib, stdenv, fetchurl, zlib, libiconv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "odt2txt";
|
||||
@@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Simple .odt to .txt converter";
|
||||
homepage = "https://github.com/dstosberg/odt2txt";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = lib.platforms.all;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,9 +14,9 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake python ];
|
||||
|
||||
# let intermediate tools find intermediate library
|
||||
preBuild = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
preBuild = lib.optionalString stdenv.isLinux ''
|
||||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}$(pwd)/src
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH''${DYLD_LIBRARY_PATH:+:}$(pwd)/src
|
||||
'';
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(--prefix PATH : "${stdenv.lib.makeBinPath [ gettext ]}")
|
||||
gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ gettext ]}")
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchzip, makeWrapper, perlPackages,
|
||||
{ lib, stdenv, fetchzip, makeWrapper, perlPackages,
|
||||
... }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -49,11 +49,11 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "An email classification system that automatically sorts messages and fights spam";
|
||||
homepage = "http://getpopfile.org";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
license = lib.licenses.gpl2;
|
||||
|
||||
# Should work on macOS, but havent tested it.
|
||||
# Windows support is more complicated.
|
||||
# http://getpopfile.org/docs/faq:systemrequirements
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -12,21 +12,21 @@ stdenv.mkDerivation rec {
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = stdenv.lib.optionals stdenv.isDarwin [
|
||||
patches = lib.optionals stdenv.isDarwin [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/zeux/qgrep/commit/21c4d1a5ab0f0bdaa0b5ca993c1315c041418cc6.patch";
|
||||
sha256 = "0wpxzrd9pmhgbgby17vb8279xwvkxfdd99gvv7r74indgdxqg7v8";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices CoreFoundation ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices CoreFoundation ];
|
||||
|
||||
postPatch = stdenv.lib.optionalString stdenv.isAarch64 ''
|
||||
postPatch = lib.optionalString stdenv.isAarch64 ''
|
||||
substituteInPlace Makefile \
|
||||
--replace "-msse2" "" --replace "-DUSE_SSE2" ""
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
installPhase = ''
|
||||
install -Dm755 qgrep $out/bin/qgrep
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv }:
|
||||
{ fetchurl, lib, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "qprint-1.1";
|
||||
@@ -19,10 +19,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = {
|
||||
homepage = "http://www.fourmilab.ch/webtools/qprint/";
|
||||
license = stdenv.lib.licenses.publicDomain;
|
||||
license = lib.licenses.publicDomain;
|
||||
description = "Encode and decode Quoted-Printable files";
|
||||
maintainers = [ stdenv.lib.maintainers.tv ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ lib.maintainers.tv ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, qt4, perl, pkgconfig }:
|
||||
{lib, stdenv, fetchurl, qt4, perl, pkgconfig }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qshowdiff";
|
||||
@@ -20,6 +20,6 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://qshowdiff.danfis.cz/";
|
||||
description = "Colourful diff viewer";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, python3, perl, intltool, flex, texinfo, libiconv, libintl }:
|
||||
{ lib, stdenv, fetchurl, python3, perl, intltool, flex, texinfo, libiconv, libintl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "recode";
|
||||
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://github.com/rrthomas/recode";
|
||||
description = "Converts files between various character sets and usages";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = with stdenv.lib.maintainers; [ jcumming ];
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ jcumming ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "replace-2.24";
|
||||
@@ -24,6 +24,6 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "https://replace.richardlloyd.org.uk/";
|
||||
description = "A tool to replace verbatim strings";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -22,11 +22,11 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "03wf9r2csi6jpa7v5sw5lpxkrk4wfzwmzx7k3991q3bdjzcwnnwp";
|
||||
|
||||
cargoBuildFlags = stdenv.lib.optional withPCRE2 "--features pcre2";
|
||||
cargoBuildFlags = lib.optional withPCRE2 "--features pcre2";
|
||||
|
||||
nativeBuildInputs = [ asciidoctor installShellFiles ];
|
||||
buildInputs = (stdenv.lib.optional withPCRE2 pcre2)
|
||||
++ (stdenv.lib.optional stdenv.isDarwin Security);
|
||||
buildInputs = (lib.optional withPCRE2 pcre2)
|
||||
++ (lib.optional stdenv.isDarwin Security);
|
||||
|
||||
preFixup = ''
|
||||
installManPage $releaseDir/build/ripgrep-*/out/rg.1
|
||||
|
||||
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "0wrv4k63pc1v0apmxmmci9qaykcv9ig3nfxy6id5caqrckp73cr4";
|
||||
|
||||
buildInputs = (stdenv.lib.optional stdenv.isDarwin Security);
|
||||
buildInputs = (lib.optional stdenv.isDarwin Security);
|
||||
|
||||
meta = with lib; {
|
||||
description = "Find and replace text in source files";
|
||||
|
||||
@@ -14,7 +14,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "1mksmdp1wnsjd8gw1g3l16a24fk05xa9mxygc0qklr41bqf8kw8b";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Intuitive find & replace CLI (sed alternative)";
|
||||
|
||||
@@ -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 ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./bash-completion.patch ];
|
||||
|
||||
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||
NIX_LDFLAGS = lib.optionalString stdenv.isLinux "-lgcc_s";
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||
buildInputs = [ pcre zlib lzma ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, boost }:
|
||||
{ lib, stdenv, fetchurl, boost }:
|
||||
|
||||
let
|
||||
name = "source-highlight";
|
||||
@@ -21,8 +21,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "Source code renderer with syntax highlighting";
|
||||
homepage = "https://www.gnu.org/software/src-highlite/";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = with lib.platforms; linux ++ darwin;
|
||||
longDescription =
|
||||
''
|
||||
GNU Source-highlight, given a source file, produces a document
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, python }:
|
||||
{ lib, stdenv, fetchurl, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.6";
|
||||
@@ -28,8 +28,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://txt2tags.org/";
|
||||
description = "A KISS markup language";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ kovirobi ];
|
||||
platforms = with stdenv.lib.platforms; unix;
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ kovirobi ];
|
||||
platforms = with lib.platforms; unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "uni2ascii-4.18";
|
||||
@@ -8,11 +8,11 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
meta = {
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
license = lib.licenses.gpl3;
|
||||
homepage = "http://billposer.org/Software/uni2ascii.html";
|
||||
description = "Converts between UTF-8 and many 7-bit ASCII equivalents and back";
|
||||
|
||||
longDescription = ''
|
||||
longDescription = ''
|
||||
This package provides conversion in both directions between UTF-8
|
||||
Unicode and more than thirty 7-bit ASCII equivalents, including
|
||||
RFC 2396 URI format and RFC 2045 Quoted Printable format, the
|
||||
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
It also provides ways of converting non-ASCII characters to
|
||||
similar ASCII characters, e.g. by stripping diacritics.
|
||||
'';
|
||||
maintainers = with stdenv.lib.maintainers; [ goibhniu ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ goibhniu ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, texinfo, which }:
|
||||
{ lib, stdenv, fetchurl, texinfo, which }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "wdiff-1.2.2";
|
||||
@@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://www.gnu.org/software/wdiff/";
|
||||
description = "Comparing files on a word by word basis";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.eelco ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = [ lib.maintainers.eelco ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, wget, bash }:
|
||||
{ lib, stdenv, fetchurl, wget, bash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.30";
|
||||
@@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Command-line interface to various pastebins";
|
||||
homepage = "http://wgetpaste.zlin.dk/";
|
||||
license = stdenv.lib.licenses.publicDomain;
|
||||
maintainers = with stdenv.lib.maintainers; [ qknight domenkozar ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = lib.licenses.publicDomain;
|
||||
maintainers = with lib.maintainers; [ qknight domenkozar ];
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl} :
|
||||
{lib, stdenv, fetchurl} :
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rxp";
|
||||
@@ -10,9 +10,9 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
meta = {
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
description = "A validating XML parser written in C";
|
||||
homepage = "http://www.cogsci.ed.ac.uk/~richard/rxp.html";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl }:
|
||||
{ lib, stdenv, fetchurl, perl }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "xmlformat";
|
||||
version = "1.04";
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "a configurable formatter (or 'pretty-printer') for XML documents";
|
||||
homepage = "http://www.kitebird.com/software/xmlformat/";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libxml2, libxslt }:
|
||||
{ lib, stdenv, fetchurl, pkgconfig, libxml2, libxslt }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xmlstarlet-1.6.1";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/xmlstar/${name}.tar.gz";
|
||||
sha256 = "1jp737nvfcf6wyb54fla868yrr39kcbijijmjpyk4lrpyg23in0m";
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "A command line tool for manipulating and querying XML data";
|
||||
homepage = "http://xmlstar.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
{stdenv, fetchurl, python2, libxml2}:
|
||||
{lib, stdenv, fetchurl, python2, libxml2}:
|
||||
|
||||
assert libxml2.pythonSupport == true;
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "xpf-0.2";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://tarballs.nixos.org/xpf-0.2.tar.gz";
|
||||
sha256 = "0ljx91w68rnh4871c0xlq2whlmhqz8dr39wcdczfjjpniqz1fmpz";
|
||||
};
|
||||
|
||||
|
||||
buildInputs = [ python2 libxml2 ];
|
||||
|
||||
meta = {
|
||||
description = "XML Pipes and Filters - command line tools for manipulating and querying XML data";
|
||||
homepage = "http://www.cs.uu.nl/wiki/bin/view/Martin/XmlPipesAndFilters";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "1q59nvklh5r2mrsz656z6js3j2l6rqyhfz6l0yq28df5kyahk91b";
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A fast CSV toolkit written in Rust";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, fetchpatch, automake, autoconf, libtool
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, automake, autoconf, libtool
|
||||
, zimlib, cxxtools, tntnet
|
||||
}:
|
||||
|
||||
@@ -31,8 +31,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "A tool to serve ZIM files using HTTP";
|
||||
homepage = "http://git.wikimedia.org/log/openzim";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
maintainers = with stdenv.lib.maintainers; [ robbinch juliendehos ];
|
||||
license = lib.licenses.gpl2;
|
||||
maintainers = with lib.maintainers; [ robbinch juliendehos ];
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
|
||||
, autoconf
|
||||
@@ -36,8 +36,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "A console tool to create ZIM files";
|
||||
homepage = "http://git.wikimedia.org/log/openzim";
|
||||
maintainers = with stdenv.lib.maintainers; [ robbinch ];
|
||||
license = stdenv.lib.licenses.gpl3;
|
||||
platforms = with stdenv.lib.platforms; [ linux ];
|
||||
maintainers = with lib.maintainers; [ robbinch ];
|
||||
license = lib.licenses.gpl3;
|
||||
platforms = with lib.platforms; [ linux ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user