treewide: with stdenv.lib; in meta -> with lib;

Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
This commit is contained in:
Profpatsch
2021-01-11 10:38:22 +01:00
parent e87aef06e0
commit 4a7f99d55d
6869 changed files with 13585 additions and 13580 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, autoconf, bison, libpaper, gperf, file, perl }:
{ lib, stdenv, fetchurl, fetchpatch, autoconf, bison, libpaper, gperf, file, perl }:
stdenv.mkDerivation rec {
name = "a2ps-4.14";
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoconf file bison perl ];
buildInputs = [ libpaper gperf ];
meta = with stdenv.lib; {
meta = with lib; {
description = "An Anything to PostScript converter and pretty-printer";
longDescription = ''
GNU a2ps converts files into PostScript for printing or viewing. It uses a nice default format,
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
pname = "agrep";
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Approximate grep for fast fuzzy string searching";
homepage = "https://www.tgries.de/agrep/";
license = licenses.isc;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "aha";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "ANSI HTML Adapter";
longDescription = ''
aha takes ANSI SGR-coloured input and produces W3C-conformant HTML code.
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform
{ lib, stdenv, fetchFromGitHub, rustPlatform
, Security
}:
@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
meta = with stdenv.lib; {
meta = with lib; {
description = "A code search-and-replace tool";
homepage = "https://github.com/dalance/amber";
license = with licenses; [ mit ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, rustPlatform
}:
@@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "0y4c1gja0i3h2whjpm74yf3z1y85pkwmpmrl2fjsyy0mn493hzv8";
meta = with stdenv.lib; {
meta = with lib; {
description = "Slice and dice logs on the command line";
homepage = "https://github.com/rcoh/angle-grinder";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, pkgconfig, boost, lua }:
{ fetchurl, lib, stdenv, pkgconfig, boost, lua }:
stdenv.mkDerivation rec {
pname = "ansifilter";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
"conf_dir=/etc/ansifilter"
];
meta = with stdenv.lib; {
meta = with lib; {
description = "Tool to convert ANSI to other formats";
longDescription = ''
Tool to remove ANSI or convert them to another format
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "ascii";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
mkdir -vp "$out/bin" "$out/share/man/man1"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Interactive ASCII name and synonym chart";
homepage = "http://www.catb.org/~esr/ascii/";
license = licenses.bsd3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, bison, flex }:
{ lib, stdenv, fetchFromGitHub, bison, flex }:
stdenv.mkDerivation rec {
pname = "boxes";
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
install -Dm644 -t $out/share/man/man1 doc/boxes.1
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Command line ASCII boxes unlimited!";
longDescription = ''
Boxes is a command line filter program that draws ASCII art boxes around
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch }:
{ lib, stdenv, fetchurl, fetchpatch }:
stdenv.mkDerivation rec {
pname = "catdoc";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--disable-wordview" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "MS-Word/Excel/PowerPoint to text converter";
platforms = platforms.all;
license = licenses.gpl2;
+1 -1
View File
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
ln -s $out/libexec/catdocx.sh $out/bin/catdocx
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Extracts plain text from docx files";
homepage = "https://github.com/jncraton/catdocx";
license = with licenses; [ bsd3 ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoreconfHook }:
{ lib, stdenv, fetchurl, autoreconfHook }:
let version = "0.6.3"; in
stdenv.mkDerivation {
pname = "cconv";
@@ -11,7 +11,7 @@ let version = "0.6.3"; in
nativeBuildInputs = [ autoreconfHook ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A iconv based simplified-traditional chinese conversion tool";
homepage = "https://github.com/xiaoyjy/cconv";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, rustPlatform
, Security
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Commandline tool to display information about unicode characters";
homepage = "https://github.com/antifuchs/chars";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, rustPlatform
}:
@@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "1p18926pfff1yayb2i28v0nz37j52hqqv7244yfrzgidi29kyvbc";
meta = with stdenv.lib; {
meta = with lib; {
description = "A human-friendly and fast alternative to cut and (sometimes) awk";
homepage = "https://github.com/theryangeary/choose";
license = licenses.gpl3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchurl, gzip, libiconv, nkf, perl, skk-dicts, which }:
{ lib, stdenv, fetchFromGitHub, fetchurl, gzip, libiconv, nkf, perl, skk-dicts, which }:
stdenv.mkDerivation {
pname = "cmigemo";
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
installTargets = [ (if stdenv.isDarwin then "osx-install" else "gcc-install") ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A tool that supports Japanese incremental search with Romaji";
homepage = "https://www.kaoriya.net/software/cmigemo";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl /*, xmlto */}:
{ lib, stdenv, fetchurl, perl /*, xmlto */}:
stdenv.mkDerivation rec {
name = "colordiff-1.0.19";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
installPhase = ''make INSTALL_DIR=/bin MAN_DIR=/share/man/man1 DESTDIR="$out" install'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Wrapper for 'diff' that produces the same output but with pretty 'syntax' highlighting";
homepage = "https://www.colordiff.org/";
license = licenses.gpl3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "coloursum";
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
meta = with stdenv.lib; {
meta = with lib; {
description = "Colourise your checksum output";
homepage = "https://github.com/ticky/coloursum";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, perl }:
{ lib, stdenv, fetchFromGitHub, perl }:
stdenv.mkDerivation rec {
pname = "copyright-update";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
installFlags = [ "INSTALL=install" "prefix=$(out)" ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/jaalto/project--copyright-update";
description = "Updates the copyright information in a set of files";
license = licenses.gpl2Plus;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "dadadodo";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Markov chain-based text generator";
homepage = "http://www.jwz.org/dadadodo";
maintainers = with maintainers; [ pSub ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "diffr";
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
export DIFFR_TESTS_BINARY_PATH=$releaseDir/diffr
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Yet another diff highlighting tool";
homepage = "https://github.com/mookid/diffr";
license = with licenses; [ mit ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ fetchurl, stdenv }:
{ fetchurl, lib, stdenv }:
stdenv.mkDerivation rec {
name = "diffstat-1.63";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "0vyw200s5dv1257pmrh6c6fdkmw3slyz5szpqfx916xr04sdbpby";
};
meta = with stdenv.lib; {
meta = with lib; {
description = "Read output of diff and display a histogram of the changes";
longDescription = ''
diffstat reads the output of diff and displays a histogram of the
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, xz, coreutils ? null }:
{ lib, stdenv, fetchurl, xz, coreutils ? null }:
# Note: this package is used for bootstrapping fetchurl, and thus
# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
stdenv.lib.optional (coreutils != null) "PR_PROGRAM=${coreutils}/bin/pr"
++ stdenv.lib.optional (stdenv.buildPlatform != stdenv.hostPlatform) "gl_cv_func_getopt_gnu=yes";
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.gnu.org/software/diffutils/diffutils.html";
description = "Commands for showing the differences between files (diff, cmp, etc.)";
license = licenses.gpl3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub }:
{ lib, stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "2.2.7";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
doCheck = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "Implementation of Markdown markup language in C";
homepage = "http://www.pell.portland.or.us/~orc/Code/discount/";
license = licenses.bsd3;
+2 -2
View File
@@ -1,4 +1,4 @@
{stdenv, fetchurl, perl, gettext }:
{lib, stdenv, fetchurl, perl, gettext }:
stdenv.mkDerivation rec {
pname = "dos2unix";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ perl gettext ];
makeFlags = [ "prefix=${placeholder "out"}" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Convert text files with DOS or Mac line breaks to Unix line breaks and vice versa";
homepage = "https://waterlan.home.xs4all.nl/dos2unix.html";
changelog = "https://sourceforge.net/p/dos2unix/dos2unix/ci/dos2unix-${version}/tree/dos2unix/NEWS.txt?format=raw";
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, libiconv, recode }:
{ lib, stdenv, fetchurl, libiconv, recode }:
stdenv.mkDerivation rec {
pname = "enca";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ recode libiconv ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Detects the encoding of text files and reencodes them";
longDescription = ''
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchzip
{ lib, stdenv, fetchzip
, jre, makeWrapper }:
stdenv.mkDerivation rec {
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
--add-flags "-classpath $classpath com.adobe.epubcheck.tool.Checker"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/w3c/epubcheck";
description = "Validation tool for EPUB";
license = with licenses; [ asl20 bsd3 mpl10 w3c ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, asciidoctor, gawk, gnused, runtimeShell }:
{ lib, stdenv, fetchFromGitHub, asciidoctor, gawk, gnused, runtimeShell }:
stdenv.mkDerivation rec {
pname = "esh";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
doCheck = true;
checkTarget = "test";
meta = with stdenv.lib; {
meta = with lib; {
description = "Simple templating engine based on shell";
homepage = "https://github.com/jirutka/esh";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, python3Packages }:
{ lib, stdenv, python3Packages }:
python3Packages.buildPythonApplication rec {
pname = "FanFicFare";
@@ -18,7 +18,7 @@ python3Packages.buildPythonApplication rec {
doCheck = false; # no tests exist
meta = with stdenv.lib; {
meta = with lib; {
description = "Tool for making eBooks from fanfiction web sites";
homepage = "https://github.com/JimmXinu/FanFicFare";
license = licenses.gpl3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, rustPlatform
, Security
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
meta = with stdenv.lib; {
meta = with lib; {
description = "A utility that makes sweeping changes to large, shared code bases";
homepage = "https://github.com/facebookincubator/fastmod";
license = licenses.asl20;
+2 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl
{ lib, stdenv, fetchurl
# TODO: links -lsigsegv but loses the reference for some reason
, withSigsegv ? (false && stdenv.hostPlatform.system != "x86_64-cygwin"), libsigsegv
, interactive ? false, readline
@@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
libsigsegv = if withSigsegv then libsigsegv else null; # for stdenv bootstrap
};
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.gnu.org/software/gawk/";
description = "GNU implementation of the Awk programming language";
@@ -81,4 +81,3 @@ stdenv.mkDerivation rec {
maintainers = [ ];
};
}
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, recurseIntoAttrs, fetchgit, writeText, pkgconfig, autoreconfHook
{ lib, stdenv, recurseIntoAttrs, fetchgit, writeText, pkgconfig, autoreconfHook
, autoconf, automake, libiconv, libtool, texinfo, gettext, gawk, rapidjson, gd
, shapelib, libharu, lmdb, gmp, glibcLocales, mpfr, more, postgresql, hiredis
, expat, tre, makeWrapper }:
@@ -40,7 +40,7 @@ let
inherit doCheck;
checkInputs = [ more ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://sourceforge.net/projects/gawkextlib/";
description = "Dynamically loaded extension libraries for GNU AWK";
longDescription = ''
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, buildGoModule
, fetchFromGitHub
}:
@@ -16,7 +16,7 @@ buildGoModule rec {
vendorSha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5";
meta = with stdenv.lib; {
meta = with lib; {
description = "Small utility to create JSON objects";
homepage = "https://github.com/skanehira/gjo";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ mkDerivation, stdenv, fetchFromGitHub, qmake, boost }:
{ mkDerivation, lib, stdenv, fetchFromGitHub, qmake, boost }:
mkDerivation rec {
pname = "glogg";
@@ -29,7 +29,7 @@ mkDerivation rec {
wrapQtApp $out/Applications/glogg.app/Contents/MacOS/glogg
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "The fast, smart log explorer";
longDescription = ''
A multi-platform GUI application to browse and search through long or complex log files. It is designed with programmers and system administrators in mind. glogg can be seen as a graphical, interactive combination of grep and less.
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pcre, libiconv, perl }:
{ lib, stdenv, fetchurl, pcre, libiconv, perl }:
# Note: this package is used for bootstrapping fetchurl, and thus
# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -46,7 +46,7 @@ stdenv.mkDerivation {
chmod +x $out/bin/egrep $out/bin/fgrep
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.gnu.org/software/grep/";
description = "GNU implementation of the Unix grep command";
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, boost, pkgconfig, cmake, catch2 }:
{ lib, stdenv, fetchFromGitHub, boost, pkgconfig, cmake, catch2 }:
stdenv.mkDerivation rec {
pname = "grip-search";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
substituteInPlace src/general/config.h --replace "CUSTOM-BUILD" "${version}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Fast, indexed regexp search over large file trees";
homepage = "https://github.com/sc0ty/grip";
license = licenses.gpl3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl
{ lib, stdenv, fetchurl, perl
, ghostscript #for postscript and html output
, psutils, netpbm #for html output
, buildPackages
@@ -103,7 +103,7 @@ stdenv.mkDerivation rec {
find $perl/ -type f -print0 | xargs --null sed -i 's|${buildPackages.perl}|${perl}|'
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.gnu.org/software/groff/";
description = "GNU Troff, a typesetting package that reads plain text and produces formatted output";
license = licenses.gpl3Plus;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchurl
, meson
, ninja
@@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
};
};
meta = with stdenv.lib; {
meta = with lib; {
description = "GNOME translation making program";
homepage = "https://wiki.gnome.org/Apps/Gtranslator";
license = licenses.gpl3Plus;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "gucci";
@@ -19,7 +19,7 @@ buildGoPackage rec {
-ldflags=-X main.AppVersion=${version}
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A simple CLI templating tool written in golang";
homepage = "https://github.com/noqcks/gucci";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitLab, getopt, lua, boost, pkgconfig, swig, perl, gcc }:
{ lib, stdenv, fetchFromGitLab, getopt, lua, boost, pkgconfig, swig, perl, gcc }:
with stdenv.lib;
@@ -45,7 +45,7 @@ let
make -C extras/swig clean # Clean up intermediate files.
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Source code highlighting tool";
homepage = "http://www.andre-simon.de/doku/highlight/en/highlight.php";
platforms = platforms.unix;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, libxslt }:
{ lib, stdenv, fetchFromGitHub, cmake, libxslt }:
stdenv.mkDerivation rec {
pname = "html-tidy";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
# ATM bin/tidy is statically linked, as upstream provides no other option yet.
# https://github.com/htacg/tidy-html5/issues/326#issuecomment-160322107
meta = with stdenv.lib; {
meta = with lib; {
description = "A HTML validator and `tidier'";
longDescription = ''
HTML Tidy is a command-line tool and C library that can be
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pythonPackages }:
{ lib, stdenv, fetchFromGitHub, pythonPackages }:
pythonPackages.buildPythonApplication rec {
pname = "icdiff";
@@ -11,7 +11,7 @@ pythonPackages.buildPythonApplication rec {
sha256 = "080v8h09pv8qwplin4kwfm0kmqjwdqjfxbpcdrv16sv4hwfwl5qd";
};
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.jefftk.com/icdiff";
description = "Side-by-side highlighted command line diffs";
maintainers = with maintainers; [ aneeshusa ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, python3Packages, xpdf, imagemagick, tesseract }:
{ lib, stdenv, python3Packages, xpdf, imagemagick, tesseract }:
python3Packages.buildPythonPackage rec {
pname = "invoice2data";
@@ -16,7 +16,7 @@ python3Packages.buildPythonPackage rec {
# Tests fails even when ran manually on my ubuntu machine !!
doCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
description = "Data extractor for PDF invoices";
homepage = "https://github.com/invoice-x/invoice2data";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, bison, ncurses }:
{ lib, stdenv, fetchurl, bison, ncurses }:
stdenv.mkDerivation rec {
pname = "ispell";
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
done
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "An interactive spell-checking program for Unix";
homepage = "https://www.cs.hmc.edu/~geoff/ispell.html";
license = licenses.free;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake, protobuf }:
{ lib, stdenv, fetchurl, cmake, protobuf }:
stdenv.mkDerivation rec {
pname = "jumanpp";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ protobuf ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A Japanese morphological analyser using a recurrent neural network language model (RNNLM)";
longDescription = ''
JUMAN++ is a new morphological analyser that considers semantic
+2 -2
View File
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, libiconv }:
{ lib, stdenv, fetchurl, libiconv }:
stdenv.mkDerivation rec {
name = "kakasi-2.3.6";
buildInputs = stdenv.lib.optional stdenv.isDarwin [ libiconv ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Kanji Kana Simple Inverter";
longDescription = ''
KAKASI is the language processing filter to convert Kanji
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=c++11-narrowing";
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.phontron.com/kytea/";
description = "General toolkit developed for analyzing text";
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchzip, jre, makeWrapper }:
{ lib, stdenv, fetchzip, jre, makeWrapper }:
stdenv.mkDerivation rec {
pname = "LanguageTool";
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
--add-flags "-cp $out/share/languagetool-server.jar org.languagetool.server.HTTPServer"
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://languagetool.org";
license = licenses.lgpl21Plus;
maintainers = with maintainers; [
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, python3, sqlite, libedit, zlib }:
{ lib, stdenv, fetchurl, pkgconfig, python3, sqlite, libedit, zlib }:
stdenv.mkDerivation rec {
version = "5.8.0";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
"--disable-java-bindings"
];
meta = with stdenv.lib; {
meta = with lib; {
description = "A Grammar Checking library";
homepage = "https://www.abisource.com/projects/link-grammar/";
license = licenses.lgpl21;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, ncurses }:
{ lib, stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
pname = "lv";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Powerful multi-lingual file viewer / grep";
homepage = "https://web.archive.org/web/20160310122517/www.ff.iij4u.or.jp/~nrt/lv/";
license = licenses.gpl2;
+2 -2
View File
@@ -1,4 +1,4 @@
{ fetchFromGitHub, pythonPackages, stdenv }:
{ fetchFromGitHub, pythonPackages, lib, stdenv }:
with pythonPackages;
buildPythonApplication rec {
@@ -15,7 +15,7 @@ buildPythonApplication rec {
rev = "v${version}";
sha256 = "180i5wn9z6vdk2k2bh8345z3g80hj7zf5s2pq0h7k9vaxqpp7avc";
};
meta = with stdenv.lib; {
meta = with lib; {
description = "Preprocessor for Markdown files to generate a table of contents and other documentation needs";
license = licenses.mit;
homepage = "https://github.com/jreese/markdown-pp";
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "mawk-1.3.4-20200120";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "0dw2icf8bnqd9y0clfd9pkcxz4b2phdihwci13z914mf3wgcvm3z";
};
meta = with stdenv.lib; {
meta = with lib; {
description = "Interpreter for the AWK Programming Language";
homepage = "https://invisible-island.net/mawk/mawk.html";
license = licenses.gpl2;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, perlPackages }:
{ lib, stdenv, fetchurl, makeWrapper, perlPackages }:
let
perlDeps = with perlPackages; [ TimeDate ];
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
--set PERL5LIB "${perlPackages.makePerlPath perlDeps}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "mbox to maildir tool";
license = licenses.publicDomain;
platforms = platforms.all;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, CoreServices, darwin }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices, darwin }:
rustPlatform.buildRustPackage rec {
pname = "mdbook";
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Create books from MarkDown";
homepage = "https://github.com/rust-lang-nursery/mdbook";
license = [ licenses.mpl20 ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, rustPlatform
, pkgconfig
@@ -44,7 +44,7 @@ rustPlatform.buildRustPackage rec {
installShellCompletion --zsh $releaseDir/build/mdcat-*/out/completions/_mdcat
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "cat for markdown";
homepage = "https://github.com/lunaryorn/mdcat";
license = with licenses; [ asl20 ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, mecab-ipadic }:
{ lib, stdenv, fetchurl, mecab-ipadic }:
let
mecab-base = import ./base.nix { inherit fetchurl; };
@@ -10,7 +10,7 @@ stdenv.mkDerivation (mecab-base // {
sed -i 's|^dicdir = .*$|dicdir = ${mecab-ipadic}|' "$out/etc/mecabrc"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Japanese morphological analysis system";
homepage = "http://taku910.github.io/mecab/";
license = licenses.bsd3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook, flex, libtool }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook, flex, libtool }:
stdenv.mkDerivation rec {
pname = "miller";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook flex libtool ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Like awk, sed, cut, join, and sort for name-indexed data such as CSV, TSV, and tabular JSON";
homepage = "http://johnkerl.org/miller/";
license = licenses.bsd2;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
url = "mirror://savannah/numdiff/numdiff-${version}.tar.gz";
sha256 = "1vzmjh8mhwwysn4x4m2vif7q2k8i19x8azq7pzmkwwj4g48lla47";
};
meta = with stdenv.lib; {
meta = with lib; {
description = ''
A little program that can be used to compare putatively similar files
line by line and field by field, ignoring small numeric differences
+2 -2
View File
@@ -7,7 +7,7 @@
, python3
, python3Packages
, qpdf
, stdenv
, lib, stdenv
, tesseract4
, unpaper
, substituteAll
@@ -80,7 +80,7 @@ buildPythonApplication rec {
makeWrapperArgs = [ "--prefix PATH : ${stdenv.lib.makeBinPath [ ghostscript jbig2enc pngquant qpdf tesseract4 unpaper ]}" ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/jbarlow83/OCRmyPDF";
description = "Adds an OCR text layer to scanned PDF files, allowing them to be searched";
license = licenses.gpl3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, python }:
{ lib, stdenv, fetchFromGitHub, cmake, python }:
stdenv.mkDerivation rec {
pname = "opencc";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
# Parallel building occasionaly fails with: Error copying file "/tmp/nix-build-opencc-1.0.5.drv-0/OpenCC-ver.1.0.5/build/src/libopencc.so.1.0.0" to "/tmp/nix-build-opencc-1.0.5.drv-0/OpenCC-ver.1.0.5/build/src/tools".
enableParallelBuilding = false;
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/BYVoid/OpenCC";
license = licenses.asl20;
description = "A project for conversion between Traditional and Simplified Chinese";
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, bundlerEnv, ruby, bundlerUpdateScript }:
{ lib, stdenv, bundlerEnv, ruby, bundlerUpdateScript }:
let
papertrail-env = bundlerEnv {
@@ -20,7 +20,7 @@ in stdenv.mkDerivation {
passthru.updateScript = bundlerUpdateScript "papertrail";
meta = with stdenv.lib; {
meta = with lib; {
description = "Command-line client for Papertrail log management service";
homepage = "https://github.com/papertrail/papertrail-cli/";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{stdenv, fetchurl, fetchpatch}:
{lib, stdenv, fetchurl, fetchpatch}:
stdenv.mkDerivation {
pname = "par";
@@ -29,7 +29,7 @@ stdenv.mkDerivation {
'';
meta = with stdenv.lib; {
meta = with lib; {
homepage = "http://www.nicemice.net/par/";
description = "Paragraph reflow for email";
platforms = platforms.unix;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perl
{ lib, stdenv, fetchurl, perl
, version, sha256, patches ? []
, ...
}:
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
doCheck = false; # fails
meta = with stdenv.lib; {
meta = with lib; {
description = "Tools to manipulate patch files";
homepage = "http://cyberelk.net/tim/software/patchutils";
license = licenses.gpl2Plus;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pbgopy";
@@ -13,7 +13,7 @@ buildGoModule rec {
vendorSha256 = "09hn92bi2rmixpsgckbi8f70widls40fwqqm7y7rqglyjqi7rdmw";
meta = with stdenv.lib; {
meta = with lib; {
description = "Copy and paste between devices";
homepage = "https://github.com/nakabonne/pbgopy";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "peco";
@@ -16,7 +16,7 @@ buildGoPackage rec {
goDeps = ./deps.nix;
meta = with stdenv.lib; {
meta = with lib; {
description = "Simplistic interactive filtering tool";
homepage = "https://github.com/peco/peco";
license = licenses.mit;
@@ -1,4 +1,4 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "the_platinum_searcher";
@@ -16,7 +16,7 @@ buildGoPackage rec {
goDeps = ./deps.nix;
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/monochromegane/the_platinum_searcher";
description = "A code search tool similar to ack and the_silver_searcher(ag)";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation {
pname = "podiff";
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
mkdir -p $out/share/man/man1
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Finds differences in translations between two PO files, or revisions";
homepage = "http://puszcza.gnu.org.ua/software/podiff";
license = licenses.gpl3Plus;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, autoconf, automake, libtool, gettext, pkgconfig, wxGTK30,
{ lib, stdenv, fetchurl, autoconf, automake, libtool, gettext, pkgconfig, wxGTK30,
boost, icu, lucenepp, asciidoc, libxslt, xmlto, gtk2, gtkspell2, pugixml,
nlohmann_json, hicolor-icon-theme, wrapGAppsHook }:
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "Cross-platform gettext catalogs (.po files) editor";
homepage = "https://www.poedit.net/";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, buildPythonApplication, click, future, six }:
{ lib, stdenv, fetchurl, buildPythonApplication, click, future, six }:
buildPythonApplication rec {
pname = "proselint";
@@ -13,7 +13,7 @@ buildPythonApplication rec {
propagatedBuildInputs = [ click future six ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A linter for prose";
homepage = "http://proselint.com";
license = licenses.bsd3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, CoreServices, CoreFoundation, fetchpatch }:
{ lib, stdenv, fetchFromGitHub, CoreServices, CoreFoundation, fetchpatch }:
stdenv.mkDerivation rec {
version = "1.1";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
install -Dm755 qgrep $out/bin/qgrep
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Fast regular expression grep for source code with incremental index updates";
homepage = "https://github.com/zeux/qgrep";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchzip }:
{ lib, stdenv, fetchzip }:
stdenv.mkDerivation rec {
pname = "rgxg";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "050jxc3qhfrm9fdbzd67hlsqlp4qk1fa20q1g2v919sh7s6v77si";
};
meta = with stdenv.lib; {
meta = with lib; {
description = "A C library and a command-line tool to generate (extended) regular expressions";
license = licenses.zlib;
maintainers = with maintainers; [ hloeffler ];
+1 -1
View File
@@ -46,7 +46,7 @@ rustPlatform.buildRustPackage rec {
doInstallCheck = true;
meta = with stdenv.lib; {
meta = with lib; {
description = "Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, and more";
longDescription = ''
Ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, nixosTests
, fetchFromGitHub
, rustPlatform
@@ -37,7 +37,7 @@ rustPlatform.buildRustPackage rec {
passthru.tests = { inherit (nixosTests) ripgrep; };
meta = with stdenv.lib; {
meta = with lib; {
description = "A utility that combines the usability of The Silver Searcher with the raw speed of grep";
homepage = "https://github.com/BurntSushi/ripgrep";
license = with licenses; [ unlicense /* or */ mit ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pythonPackages }:
{ lib, stdenv, fetchFromGitHub, pythonPackages }:
pythonPackages.buildPythonApplication rec {
pname = "rpl";
@@ -14,7 +14,7 @@ pythonPackages.buildPythonApplication rec {
sha256 = "1xhpgcmq91ivy9ijfyz5ilg51m7fz8ar2077r7gq246j8gbf8ggr";
};
meta = with stdenv.lib; {
meta = with lib; {
description = "Replace strings in files";
homepage = "https://github.com/kcoyner/rpl";
license = licenses.gpl2;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, libbsd }:
{ lib, stdenv, fetchurl, libbsd }:
stdenv.mkDerivation rec {
pname = "rs";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
install -Dm 644 rs.1 -t $out/share/man/man1
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Reshape a data array from standard input";
longDescription = ''
rs reads the standard input, interpreting each line as a row of blank-
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "ruplacer";
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = (stdenv.lib.optional stdenv.isDarwin Security);
meta = with stdenv.lib; {
meta = with lib; {
description = "Find and replace text in source files";
homepage = "https://github.com/TankerHQ/ruplacer";
license = [ licenses.bsd3 ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, makeWrapper, perlPackages }: stdenv.mkDerivation rec {
{ lib, stdenv, fetchurl, makeWrapper, perlPackages }: stdenv.mkDerivation rec {
pname = "schema2ldif";
version = "1.3";
@@ -21,7 +21,7 @@
--prefix PERL5PATH : "${perlPackages.makePerlPath [ perlPackages.GetoptLong ]}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Utilities to manage schema in .schema and .ldif format";
homepage = "https://www.fusiondirectory.org/schema2ldif-project-and-components/";
license = licenses.bsd3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, Security
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security
}:
rustPlatform.buildRustPackage rec {
@@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Intuitive find & replace CLI (sed alternative)";
homepage = "https://github.com/chmln/sd";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, perlPackages, pythonPackages }:
{ lib, stdenv, fetchFromGitHub, perlPackages, pythonPackages }:
stdenv.mkDerivation rec {
pname = "shocco";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
buildInputs = [ perlPackages.TextMarkdown pythonPackages.pygments ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A quick-and-dirty, literate-programming-style documentation generator for / in POSIX shell";
homepage = "https://rtomayko.github.io/shocco/";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, pcre, zlib, lzma}:
{lib, stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, pcre, zlib, lzma}:
stdenv.mkDerivation rec {
pname = "silver-searcher";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ pcre zlib lzma ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/ggreer/the_silver_searcher/";
description = "A code-searching tool similar to ack, but faster";
maintainers = with maintainers; [ madjar ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, nix-update-script
, meson
@@ -73,7 +73,7 @@ stdenv.mkDerivation rec {
};
};
meta = with stdenv.lib; {
meta = with lib; {
description = "Your little expandable text snippet helper";
longDescription = ''
Your little expandable text snippet helper.
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromBitbucket, python3 }:
{ lib, stdenv, fetchFromBitbucket, python3 }:
stdenv.mkDerivation rec {
version = "7.2";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Programming language/shell calculator";
homepage = "https://tkatchev.bitbucket.io/tab/";
license = licenses.boost;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, buildPythonApplication, fetchPypi
{ lib, stdenv, buildPythonApplication, fetchPypi
, python-slugify, requests, urllib3, six, setuptools }:
buildPythonApplication rec {
@@ -23,7 +23,7 @@ buildPythonApplication rec {
# Requires external resources
doCheck = false;
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://www.transifex.com/";
license = licenses.gpl2;
description = "Transifex translation service client";
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv
{ lib, stdenv
, fetchFromGitHub
, pkg-config
, autoreconfHook
@@ -22,7 +22,7 @@ in stdenv.mkDerivation {
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ pcre ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://github.com/gvansickle/ucg/";
description = "Grep-like tool for searching large bodies of source code";
longDescription = ''
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, boost, bzip2, lz4, pcre2, xz, zlib }:
{ lib, stdenv, fetchFromGitHub, boost, bzip2, lz4, pcre2, xz, zlib }:
stdenv.mkDerivation rec {
pname = "ugrep";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ boost bzip2 lz4 pcre2 xz zlib ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Ultra fast grep with interactive query UI";
homepage = "https://github.com/Genivia/ugrep";
maintainers = with maintainers; [ numkem ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, python3, libreoffice-unwrapped, asciidoc, makeWrapper
{ lib, stdenv, fetchFromGitHub, python3, libreoffice-unwrapped, asciidoc, makeWrapper
# whether to install odt2pdf/odt2doc/... symlinks to unoconv
, installSymlinks ? true
}:
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
make install-links prefix="$out"
'' else "");
meta = with stdenv.lib; {
meta = with lib; {
description = "Convert between any document format supported by LibreOffice/OpenOffice";
homepage = "http://dag.wieers.com/home-made/unoconv/";
license = licenses.gpl2;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, autoconf, automake, libiconv }:
{ lib, stdenv, fetchurl, fetchpatch, autoconf, automake, libiconv }:
stdenv.mkDerivation rec {
pname = "unrtf";
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
outputs = [ "out" "man" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "A converter from Rich Text Format to other formats";
longDescription = ''
UnRTF converts documents in Rich Text Format to other
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl }:
{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "untex";
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin $out/share/man/man1
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A utility which removes LaTeX commands from input";
homepage = "https://www.ctan.org/pkg/untex";
license = licenses.gpl1;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ lib, stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "vale";
@@ -23,7 +23,7 @@ buildGoModule rec {
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://errata-ai.gitbook.io/vale/";
description = "A syntax-aware linter for prose built with speed and extensibility in mind";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, dpkg }:
{ lib, stdenv, fetchurl, dpkg }:
stdenv.mkDerivation rec {
pname = "xidel";
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$out/bin/xidel"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Command line tool to download and extract data from html/xml pages";
homepage = "http://videlibri.sourceforge.net/xidel.html";
# source contains no license info (AFAICS), but sourceforge says GPLv2
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, jre, coreutils, makeDesktopItem }:
{ lib, stdenv, fetchurl, unzip, jre, coreutils, makeDesktopItem }:
stdenv.mkDerivation rec {
pname = "basex";
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
done
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "XML database and XPath/XQuery processor";
longDescription = ''
BaseX is a very fast and light-weight, yet powerful XML database and
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, curl, libiconv }:
{ lib, stdenv, fetchurl, curl, libiconv }:
stdenv.mkDerivation rec {
pname = "html-xml-utils";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [curl libiconv];
meta = with stdenv.lib; {
meta = with lib; {
description = "Utilities for manipulating HTML and XML files";
homepage = "http://www.w3.org/Tools/HTML-XML-utils/";
license = licenses.w3c;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, jre_headless, jdk, ant, saxon }:
{ lib, stdenv, fetchFromGitHub, jre_headless, jdk, ant, saxon }:
stdenv.mkDerivation {
pname = "jing-trang";
@@ -32,7 +32,7 @@ stdenv.mkDerivation {
chmod +x "$out"/bin/*
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "A RELAX NG validator in Java";
# The homepage is www.thaiopensource.com, but it links to googlecode.com
# for downloads and call it the "project site".
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, expat }:
{ lib, stdenv, fetchurl, expat }:
stdenv.mkDerivation rec {
pname = "rnv";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ expat ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Relax NG Compact Syntax validator";
homepage = "http://www.davidashen.net/rnv.html";
license = licenses.bsd3;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, libxml2 }:
{ lib, stdenv, fetchurl, pkgconfig, libxml2 }:
stdenv.mkDerivation {
name = "xml2-0.5";
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libxml2 ];
meta = with stdenv.lib; {
meta = with lib; {
homepage = "https://web.archive.org/web/20160515005047/http://dan.egnor.name:80/xml2";
description = "Tools for command line processing of XML, HTML, and CSV";
license = licenses.gpl2Plus;
+1 -1
View File
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
--set PATH "${spath}"
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "wtf is my docbook broken?";
homepage = "https://github.com/grahamc/xmloscopy";
license = licenses.mit;
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, Security }:
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "xsv";
@@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec {
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
meta = with stdenv.lib; {
meta = with lib; {
description = "A fast CSV toolkit written in Rust";
homepage = "https://github.com/BurntSushi/xsv";
license = with licenses; [ unlicense /* or */ mit ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ buildGoPackage, stdenv, fetchFromGitHub }:
{ buildGoPackage, lib, stdenv, fetchFromGitHub }:
buildGoPackage rec {
version = "2.2.0";
@@ -14,7 +14,7 @@ buildGoPackage rec {
goPackagePath = "mvdan.cc/xurls/v2";
subPackages = [ "cmd/xurls" ];
meta = with stdenv.lib; {
meta = with lib; {
description = "Extract urls from text";
homepage = "https://github.com/mvdan/xurls";
maintainers = with maintainers; [ koral ];
+2 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, pythonPackages }:
{ lib, stdenv, fetchFromGitHub, pythonPackages }:
stdenv.mkDerivation {
name= "yaml-merge-2016-02-16";
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
wrapPythonPrograms
'';
meta = with stdenv.lib; {
meta = with lib; {
description = "Merge YAML data files";
homepage = "https://github.com/abbradar/yaml-merge";
license = licenses.bsd2;