pkgs/development/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, ctags, perl, binutils, abi-dumper }:
|
||||
{ lib, stdenv, fetchFromGitHub, ctags, perl, binutils, abi-dumper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "abi-compliance-checker";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://lvc.github.io/abi-compliance-checker";
|
||||
description = "A tool for checking backward API/ABI compatibility of a C/C++ library";
|
||||
license = licenses.lgpl21;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, ctags, perl, elfutils, vtable-dumper }:
|
||||
{ lib, stdenv, fetchFromGitHub, ctags, perl, elfutils, vtable-dumper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "abi-dumper";
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
preBuild = "mkdir -p $out";
|
||||
makeFlags = [ "prefix=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/lvc/abi-dumper";
|
||||
description = "Dump ABI of an ELF object containing DWARF debug info";
|
||||
license = licenses.lgpl21;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
, fetchFromGitHub
|
||||
, flex
|
||||
, php
|
||||
, stdenv
|
||||
, lib, stdenv
|
||||
}:
|
||||
|
||||
# Make a custom wrapper. If `wrapProgram` is used, arcanist thinks .arc-wrapped is being
|
||||
@@ -31,7 +31,7 @@ stdenv.mkDerivation {
|
||||
};
|
||||
buildInputs = [ bison flex php ];
|
||||
|
||||
postPatch = stdenv.lib.optionalString stdenv.isAarch64 ''
|
||||
postPatch = lib.optionalString stdenv.isAarch64 ''
|
||||
substituteInPlace support/xhpast/Makefile \
|
||||
--replace "-minline-all-stringops" ""
|
||||
'';
|
||||
@@ -60,8 +60,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "Command line interface to Phabricator";
|
||||
homepage = "http://phabricator.org";
|
||||
license = stdenv.lib.licenses.asl20;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
||||
license = lib.licenses.asl20;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.thoughtpolice ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, autoconf, runtimeShell, python3Packages, makeWrapper }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoconf, runtimeShell, python3Packages, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "argbash";
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
--prefix PATH : '${autoconf}/bin'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Bash argument parsing code generator";
|
||||
homepage = "https://argbash.io/";
|
||||
license = licenses.free; # custom license. See LICENSE in source repo.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, erlangR22
|
||||
}:
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [ erlangR22 ];
|
||||
installPhase = "install -Dm755 -t $out/bin asls";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "AssemblyScript Language Server";
|
||||
homepage = "https://github.com/saulecabrera/asls";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, makeWrapper, perl, openssh, rsync }:
|
||||
{ fetchurl, lib, stdenv, makeWrapper, perl, openssh, rsync }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "autobuild-5.3";
|
||||
@@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
homepage = "https://josefsson.org/autobuild/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, xz }:
|
||||
{ lib, stdenv, fetchurl, xz }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "autoconf-archive";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ xz ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Archive of autoconf m4 macros";
|
||||
homepage = "https://www.gnu.org/software/autoconf-archive/";
|
||||
license = licenses.gpl3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, m4, perl, lzma}:
|
||||
{lib, stdenv, fetchurl, m4, perl, lzma}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "autoconf-2.13";
|
||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
can use, in the form of M4 macro calls.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, m4, perl }:
|
||||
{ lib, stdenv, fetchurl, m4, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "autoconf-2.64";
|
||||
@@ -44,8 +44,8 @@ stdenv.mkDerivation rec {
|
||||
can use, in the form of M4 macro calls.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, m4, perl }:
|
||||
{ lib, stdenv, fetchurl, m4, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "autoconf-2.69";
|
||||
@@ -45,8 +45,8 @@ stdenv.mkDerivation rec {
|
||||
can use, in the form of M4 macro calls.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, m4, perl }:
|
||||
{ lib, stdenv, fetchurl, m4, perl }:
|
||||
|
||||
# Note: this package is used for bootstrapping fetchurl, and thus
|
||||
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
||||
@@ -47,8 +47,8 @@ stdenv.mkDerivation rec {
|
||||
can use, in the form of M4 macro calls.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildPackages, fetchurl, autoreconfHook, which, pkg-config, perl, guile, libxml2 }:
|
||||
{ lib, stdenv, buildPackages, fetchurl, autoreconfHook, which, pkg-config, perl, guile, libxml2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "autogen";
|
||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
which pkg-config perl autoreconfHook/*patches applied*/
|
||||
] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
# autogen needs a build autogen when cross-compiling
|
||||
buildPackages.buildPackages.autogen buildPackages.texinfo
|
||||
];
|
||||
@@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
|
||||
# Debian: https://salsa.debian.org/debian/autogen/-/blob/master/debian/rules#L21
|
||||
"--enable-timeout=78"
|
||||
]
|
||||
++ (stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
++ (lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
|
||||
"--with-libxml2=${libxml2.dev}"
|
||||
"--with-libxml2-cflags=-I${libxml2.dev}/include/libxml2"
|
||||
# the configure check for regcomp wants to run a host program
|
||||
@@ -76,7 +76,7 @@ stdenv.mkDerivation rec {
|
||||
sed -e "s|$lib/lib|/no-such-autogen-lib-path|" -i $f
|
||||
done
|
||||
|
||||
'' + stdenv.lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
|
||||
'' + lib.optionalString (!stdenv.hostPlatform.isDarwin) ''
|
||||
# remove /build/** from RPATHs
|
||||
for f in "$bin"/bin/*; do
|
||||
local nrp="$(patchelf --print-rpath "$f" | sed -E 's@(:|^)/build/[^:]*:@\1@g')"
|
||||
@@ -84,7 +84,7 @@ stdenv.mkDerivation rec {
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Automated text and program generation tool";
|
||||
license = with licenses; [ gpl3Plus lgpl3Plus ];
|
||||
homepage = "https://www.gnu.org/software/autogen/";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl, autoconf }:
|
||||
{ lib, stdenv, fetchurl, perl, autoconf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "automake-1.11.6";
|
||||
@@ -42,8 +42,8 @@ stdenv.mkDerivation rec {
|
||||
Standards. Automake requires the use of Autoconf.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl, autoconf }:
|
||||
{ lib, stdenv, fetchurl, perl, autoconf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "automake-1.15.1";
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
branch = "1.15";
|
||||
homepage = "https://www.gnu.org/software/automake/";
|
||||
description = "GNU standard-compliant makefile generator";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
|
||||
longDescription = ''
|
||||
GNU Automake is a tool for automatically generating
|
||||
@@ -40,6 +40,6 @@ stdenv.mkDerivation rec {
|
||||
Standards. Automake requires the use of Autoconf.
|
||||
'';
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl, autoconf }:
|
||||
{ lib, stdenv, fetchurl, perl, autoconf }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "automake-1.16.3";
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
branch = "1.16";
|
||||
homepage = "https://www.gnu.org/software/automake/";
|
||||
description = "GNU standard-compliant makefile generator";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
|
||||
longDescription = ''
|
||||
GNU Automake is a tool for automatically generating
|
||||
@@ -38,6 +38,6 @@ stdenv.mkDerivation rec {
|
||||
Standards. Automake requires the use of Autoconf.
|
||||
'';
|
||||
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, qt4 }:
|
||||
{ lib, stdenv, fetchurl, cmake, qt4 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "automoc4";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ qt4 ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://techbase.kde.org/Development/Tools/Automoc4";
|
||||
description = "KDE Meta Object Compiler";
|
||||
license = licenses.bsd2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, yacc, flex, libusb-compat-0_1, libelf, libftdi1, readline
|
||||
{ lib, stdenv, fetchurl, yacc, flex, libusb-compat-0_1, libelf, libftdi1, readline
|
||||
# docSupport is a big dependency, disabled by default
|
||||
, docSupport ? false, texLive ? null, texinfo ? null, texi2html ? null
|
||||
}:
|
||||
@@ -13,12 +13,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "15m1w1qad3dj7r8n5ng1qqcaiyx1gyd6hnc3p2apgjllccdp77qg";
|
||||
};
|
||||
|
||||
configureFlags = stdenv.lib.optionals docSupport "--enable-doc";
|
||||
configureFlags = lib.optionals docSupport "--enable-doc";
|
||||
|
||||
buildInputs = [ yacc flex libusb-compat-0_1 libelf libftdi1 readline ]
|
||||
++ stdenv.lib.optionals docSupport [ texLive texinfo texi2html ];
|
||||
++ lib.optionals docSupport [ texLive texinfo texi2html ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Command-line tool for programming Atmel AVR microcontrollers";
|
||||
longDescription = ''
|
||||
AVRDUDE (AVR Downloader/UploaDEr) is an utility to
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, gtk2, gtk3, pkg-config
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook, gtk2, gtk3, pkg-config
|
||||
, wrapGAppsHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
./autogen.sh
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A Widget Factory";
|
||||
longDescription = ''
|
||||
A widget factory is a theme preview application for gtk2 and
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkg-config, glib, libuuid, popt, elfutils }:
|
||||
{ lib, stdenv, fetchurl, pkg-config, glib, libuuid, popt, elfutils }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "babeltrace-1.5.8";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ glib libuuid popt elfutils ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Command-line tool and library to read and convert LTTng tracefiles";
|
||||
homepage = "https://www.efficios.com/babeltrace";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, makeWrapper, python3Packages }:
|
||||
{ lib, stdenv, fetchurl, makeWrapper, python3Packages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bashdb";
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Bash script debugger";
|
||||
homepage = "http://bashdb.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libelf, txt2man }:
|
||||
{ lib, stdenv, fetchurl, libelf, txt2man }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "bin_replace_string";
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Edit precompiled binaries";
|
||||
longDescription = ''
|
||||
bin_replace_string edits C-style strings in precompiled binaries. This is
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, wxGTK, libX11, readline }:
|
||||
{ lib, stdenv, fetchgit, wxGTK, libX11, readline }:
|
||||
|
||||
let
|
||||
# BOSSA needs a "bin2c" program to embed images.
|
||||
@@ -36,7 +36,7 @@ stdenv.mkDerivation {
|
||||
cp bin/bossa{c,sh,} $out/bin/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A flash programming utility for Atmel's SAM family of flash-based ARM microcontrollers";
|
||||
longDescription = ''
|
||||
BOSSA is a flash programming utility for Atmel's SAM family of
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl, libtool, pkg-config, gettext, mandoc, ed }:
|
||||
{ lib, stdenv, fetchurl, perl, libtool, pkg-config, gettext, mandoc, ed }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "bsdbuild";
|
||||
@@ -62,7 +62,7 @@ EOF
|
||||
directory, BSDBuild will produce the required Makefiles in place).
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, tk, makeWrapper }:
|
||||
{ fetchurl, lib, stdenv, tk, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cbrowser-0.8";
|
||||
@@ -23,12 +23,12 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Tcl/Tk GUI front-end to cscope";
|
||||
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
|
||||
homepage = "https://sourceforge.net/projects/cbrowser/";
|
||||
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
platforms = with lib.platforms; linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, boost
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
install -D udev/90-cc-debugger.rules $out/lib/udev/rules.d/90-cc-debugger.rules
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Command line tool for the Texas Instruments CC Debugger";
|
||||
longDescription = ''
|
||||
cc-tool provides support for Texas Instruments CC Debugger
|
||||
|
||||
@@ -60,7 +60,7 @@ let ccache = stdenv.mkDerivation rec {
|
||||
local cname="$1"
|
||||
if [ -x "${unwrappedCC}/bin/$cname" ]; then
|
||||
makeWrapper ${ccache}/bin/ccache $out/bin/$cname \
|
||||
--run ${stdenv.lib.escapeShellArg extraConfig} \
|
||||
--run ${lib.escapeShellArg extraConfig} \
|
||||
--add-flags ${unwrappedCC}/bin/$cname
|
||||
fi
|
||||
}
|
||||
@@ -84,7 +84,7 @@ let ccache = stdenv.mkDerivation rec {
|
||||
};
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Compiler cache for fast recompilation of C/C++ code";
|
||||
homepage = "https://ccache.dev";
|
||||
downloadPage = "https://ccache.dev/download.html";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
, cmake, llvmPackages, rapidjson, runtimeShell }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
postFixup = ''
|
||||
# We need to tell ccls where to find the standard library headers.
|
||||
|
||||
standard_library_includes="\\\"-isystem\\\", \\\"${stdenv.lib.getDev stdenv.cc.libc}/include\\\""
|
||||
standard_library_includes="\\\"-isystem\\\", \\\"${lib.getDev stdenv.cc.libc}/include\\\""
|
||||
standard_library_includes+=", \\\"-isystem\\\", \\\"${llvmPackages.libcxx}/include/c++/v1\\\""
|
||||
export standard_library_includes
|
||||
|
||||
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
|
||||
chmod --reference=$out/bin/$wrapped $out/bin/ccls
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A c/c++ language server powered by clang";
|
||||
homepage = "https://github.com/MaskRay/ccls";
|
||||
license = licenses.asl20;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, gettext, emacs }:
|
||||
{ lib, stdenv, fetchurl, gettext, emacs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cflow-1.6";
|
||||
@@ -16,14 +16,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ gettext ] ++
|
||||
# We don't have Emacs/GTK/etc. on {Dar,Cyg}win.
|
||||
stdenv.lib.optional
|
||||
(! (stdenv.lib.lists.any (x: stdenv.hostPlatform.system == x)
|
||||
lib.optional
|
||||
(! (lib.lists.any (x: stdenv.hostPlatform.system == x)
|
||||
[ "i686-cygwin" ]))
|
||||
emacs;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Tool to analyze the control flow of C programs";
|
||||
|
||||
longDescription = ''
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, ncurses, readline, flex, texinfo }:
|
||||
{ lib, stdenv, fetchurl, ncurses, readline, flex, texinfo }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cgdb";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ ncurses readline flex texinfo ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A curses interface to gdb";
|
||||
|
||||
homepage = "https://cgdb.github.io/";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl }:
|
||||
{ lib, stdenv, fetchurl, perl }:
|
||||
stdenv.mkDerivation rec {
|
||||
version = "2.0.0.2";
|
||||
pname = "checkbashisms";
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://sourceforge.net/projects/checkbaskisms/";
|
||||
description = "Check shell scripts for non-portable syntax";
|
||||
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 = "chrpath-0.16";
|
||||
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "0yvfq891mcdkf8g18gjjkn2m5rvs8z4z4cl1vwdhx6f2p9a4q3dv";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Command line tool to adjust the RPATH or RUNPATH of ELF binaries";
|
||||
longDescription = ''
|
||||
chrpath changes, lists or removes the rpath or runpath setting in a
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, buildGoModule }:
|
||||
{ lib, stdenv, fetchFromGitHub, buildGoModule }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "circleci-cli";
|
||||
@@ -26,7 +26,7 @@ buildGoModule rec {
|
||||
install -Dm644 -t $out/share/circleci-cli _data/data.yml
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
# Box blurb edited from the AUR package circleci-cli
|
||||
description = ''
|
||||
Command to enable you to reproduce the CircleCI environment locally and
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl}:
|
||||
{lib, stdenv, fetchurl}:
|
||||
let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
@@ -31,8 +31,8 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
inherit (s) version;
|
||||
description = ''Common Lisp launcher script'';
|
||||
license = stdenv.lib.licenses.llgpl21 ;
|
||||
maintainers = [stdenv.lib.maintainers.raskin];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.llgpl21 ;
|
||||
maintainers = [lib.maintainers.raskin];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
stdenv,
|
||||
lib, stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
gtest,
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
sed -i '/TrueFalseTest/d' tests/CMakeLists.txt
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Command line parser for C++11";
|
||||
homepage = "https://github.com/CLIUtils/CLI11";
|
||||
platforms = platforms.unix;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, jre, makeWrapper }:
|
||||
{ lib, stdenv, fetchurl, jre, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "clojure-lsp";
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
--add-flags "-jar $out/share/java/${pname}.jar"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Language Server Protocol (LSP) for Clojure";
|
||||
homepage = "https://github.com/snoe/clojure-lsp";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, python, ncurses, ocamlPackages, pkg-config }:
|
||||
{ fetchurl, lib, stdenv, python, ncurses, ocamlPackages, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "coccinelle";
|
||||
@@ -50,8 +50,8 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
homepage = "http://coccinelle.lip6.fr/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.thoughtpolice ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, autogen }:
|
||||
{ fetchurl, lib, stdenv, autogen }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "complexity";
|
||||
@@ -22,11 +22,11 @@ stdenv.mkDerivation rec {
|
||||
addresses several issues not considered in that scoring scheme.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
homepage = "https://www.gnu.org/software/complexity/";
|
||||
|
||||
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.gnu ++ lib.platforms.linux;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv }:
|
||||
{ fetchurl, lib, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "cppi-1.18";
|
||||
@@ -23,9 +23,9 @@ stdenv.mkDerivation rec {
|
||||
to the level of nesting of that directive.
|
||||
'';
|
||||
|
||||
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, flex, bison }:
|
||||
{ lib, stdenv, fetchurl, flex, bison }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cproto";
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
[ "$("$out/bin/cproto" -V 2>&1)" = '${version}' ]
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Tool to generate C function prototypes from C source code";
|
||||
homepage = "https://invisible-island.net/cproto/";
|
||||
license = licenses.publicDomain;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, makeWrapper
|
||||
{ lib, stdenv, fetchurl, cmake, makeWrapper
|
||||
, llvm, clang-unwrapped
|
||||
, flex
|
||||
, zlib
|
||||
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
# On Linux, c-reduce's preferred way to reason about
|
||||
# the cpu architecture/topology is to use 'lscpu',
|
||||
# so let's make sure it knows where to find it:
|
||||
postPatch = stdenv.lib.optionalString stdenv.isLinux ''
|
||||
postPatch = lib.optionalString stdenv.isLinux ''
|
||||
substituteInPlace creduce/creduce_utils.pm --replace \
|
||||
lscpu ${util-linux}/bin/lscpu
|
||||
'';
|
||||
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
wrapProgram $out/bin/creduce --prefix PERL5LIB : "$PERL5LIB"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A C program reducer";
|
||||
homepage = "https://embed.cs.utah.edu/creduce";
|
||||
# Officially, the license is: https://github.com/csmith-project/creduce/blob/master/COPYING
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, ncurses
|
||||
{ fetchurl, lib, stdenv, ncurses
|
||||
, emacsSupport ? true, emacs
|
||||
}:
|
||||
|
||||
@@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
|
||||
configureFlags = [ "--with-ncurses=${ncurses.dev}" ];
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
nativeBuildInputs = stdenv.lib.optional emacsSupport emacs;
|
||||
nativeBuildInputs = lib.optional emacsSupport emacs;
|
||||
|
||||
postInstall = stdenv.lib.optionalString emacsSupport ''
|
||||
postInstall = lib.optionalString emacsSupport ''
|
||||
cd "contrib/xcscope"
|
||||
|
||||
sed -i "cscope-indexer" \
|
||||
@@ -46,8 +46,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = "http://cscope.sourceforge.net/";
|
||||
|
||||
maintainers = with stdenv.lib.maintainers; [viric];
|
||||
maintainers = with lib.maintainers; [viric];
|
||||
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, m4, makeWrapper, libbsd, perlPackages }:
|
||||
{ lib, stdenv, fetchurl, m4, makeWrapper, libbsd, perlPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "csmith";
|
||||
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A random generator of C programs";
|
||||
homepage = "https://embed.cs.utah.edu/csmith";
|
||||
# Officially, the license is this: https://github.com/csmith-project/csmith/blob/master/COPYING
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchsvn, autoreconfHook }:
|
||||
{ lib, stdenv, fetchsvn, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ctags-${revision}";
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
# don't use $T(E)MP which is set to the build directory
|
||||
configureFlags= [ "--enable-tmpdir=/tmp" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A tool for fast source code browsing (exuberant ctags)";
|
||||
longDescription = ''
|
||||
Ctags generates an index (or tag) file of language objects found
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, fetchurl, tie }:
|
||||
{ lib, stdenv, fetchFromGitHub, fetchurl, tie }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cwebbin";
|
||||
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||
make -f Makefile.unix install $makeFlags
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Literate Programming in C/C++";
|
||||
platforms = with platforms; unix;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, pkg-config
|
||||
, fetchurl
|
||||
, meson
|
||||
@@ -21,7 +21,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
format = "other";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/d-feet/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
url = "mirror://gnome/sources/d-feet/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
||||
sha256 = "1cgxgpj546jgpyns6z9nkm5k48lid8s36mvzj8ydkjqws2d19zqz";
|
||||
};
|
||||
|
||||
@@ -68,7 +68,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
};
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "D-Feet is an easy to use D-Bus debugger";
|
||||
longDescription = ''
|
||||
D-Feet can be used to inspect D-Bus interfaces of running programs
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, autoconf, popt, zlib, rpcsvc-proto, libtirpc }:
|
||||
{ lib, stdenv, fetchgit, autoconf, popt, zlib, rpcsvc-proto, libtirpc }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "dbench-2013-01-01";
|
||||
@@ -35,7 +35,7 @@ stdenv.mkDerivation {
|
||||
ln -s dbench/doc/dbench/loadfiles $out/share/loadfiles
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Filesystem benchmark tool based on load patterns";
|
||||
homepage = "https://dbench.samba.org/";
|
||||
license = licenses.gpl3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, motif, ncurses, libX11, libXt}:
|
||||
{lib, stdenv, fetchurl, motif, ncurses, libX11, libXt}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ddd-3.3.12";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://www.gnu.org/software/ddd";
|
||||
description = "Graphical front-end for command-line debuggers";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, expect, makeWrapper }:
|
||||
{ fetchurl, lib, stdenv, expect, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "dejagnu-1.6.2";
|
||||
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
|
||||
--prefix PATH ":" "${expect}/bin"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Framework for testing other programs";
|
||||
|
||||
longDescription = ''
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libusb-compat-0_1 }:
|
||||
{ lib, stdenv, fetchurl, libusb-compat-0_1 }:
|
||||
let
|
||||
version = "0.7.2";
|
||||
in
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = [ "--disable-libusb_1_0" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
license = licenses.gpl2;
|
||||
description = "A Device Firmware Update based USB programmer for Atmel chips with a USB bootloader";
|
||||
homepage = "http://dfu-programmer.sourceforge.net/";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkg-config, libusb1 }:
|
||||
{ lib, stdenv, fetchurl, pkg-config, libusb1 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "dfu-util";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0hlvc47ccf5hry13saqhc1j5cdq5jyjv4i05kj0mdh3rzj6wagd0";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Device firmware update (DFU) USB programmer";
|
||||
longDescription = ''
|
||||
dfu-util is a program that implements the host (PC) side of the USB
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl
|
||||
{ lib, stdenv, fetchurl
|
||||
, ncurses
|
||||
, withLibrary ? false, libtool
|
||||
, unicodeSupport ? true
|
||||
@@ -24,14 +24,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = [
|
||||
"--disable-rpath-hacks"
|
||||
(stdenv.lib.withFeature withLibrary "libtool")
|
||||
"--with-ncurses${stdenv.lib.optionalString unicodeSupport "w"}"
|
||||
"--with-libtool-opts=${stdenv.lib.optionalString enableShared "-shared"}"
|
||||
(lib.withFeature withLibrary "libtool")
|
||||
"--with-ncurses${lib.optionalString unicodeSupport "w"}"
|
||||
"--with-libtool-opts=${lib.optionalString enableShared "-shared"}"
|
||||
];
|
||||
|
||||
installTargets = [ "install${stdenv.lib.optionalString withLibrary "-full"}" ];
|
||||
installTargets = [ "install${lib.optionalString withLibrary "-full"}" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://invisible-island.net/dialog/dialog.html";
|
||||
description = "Display dialog boxes from shell";
|
||||
license = licenses.lgpl21Plus;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
}:
|
||||
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0m9vi01b1km0cpknflyzsjnknbava0s1n6393b2bpjwyvb6j5613";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Directory event monitoring daemon";
|
||||
homepage = "https://www.gnu.org.ua/software/direvent/";
|
||||
license = licenses.gpl3Plus;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, popt, avahi, pkg-config, python, gtk2, runCommand
|
||||
{ lib, stdenv, fetchFromGitHub, popt, avahi, pkg-config, python, gtk2, runCommand
|
||||
, gcc, autoconf, automake, which, procps, libiberty_static
|
||||
, runtimeShell
|
||||
, sysconfDir ? "" # set this parameter to override the default value $out/etc
|
||||
@@ -76,8 +76,8 @@ let
|
||||
homepage = "http://distcc.org";
|
||||
license = "GPL";
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ anderspapitto ];
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ anderspapitto ];
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, gccRaw, binutils }:
|
||||
{ lib, stdenv, gccRaw, binutils }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "distcc-masq-${gccRaw.name}";
|
||||
@@ -39,6 +39,6 @@ stdenv.mkDerivation {
|
||||
'';
|
||||
|
||||
meta = {
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, python}:
|
||||
{lib, stdenv, fetchurl, python}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "doclifter-2.19";
|
||||
@@ -21,6 +21,6 @@ stdenv.mkDerivation {
|
||||
description = "Lift documents in nroff markups to XML-DocBook";
|
||||
homepage = "http://www.catb.org/esr/doclifter";
|
||||
license = "BSD";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "docopts";
|
||||
@@ -21,7 +21,7 @@ buildGoPackage rec {
|
||||
install -D -m 755 ./go/src/$goPackagePath/docopts.sh $out/bin/docopts.sh
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/docopt/${pname}";
|
||||
description = "docopt CLI tool for shell scripting";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{ stdenv, fetchurl, php73, which, makeWrapper, bash, coreutils, ncurses }:
|
||||
{ lib, stdenv, fetchurl, php73, which, makeWrapper, bash, coreutils, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "drush-6.1.0";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Command-line shell and Unix scripting interface for Drupal";
|
||||
homepage = "https://github.com/drush-ops/drush";
|
||||
license = licenses.gpl2;
|
||||
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p "$out"
|
||||
cp -r . "$out/src"
|
||||
mkdir "$out/bin"
|
||||
wrapProgram "$out/src/drush" --prefix PATH : "${stdenv.lib.makeBinPath [ which php73 bash coreutils ncurses ]}"
|
||||
wrapProgram "$out/src/drush" --prefix PATH : "${lib.makeBinPath [ which php73 bash coreutils ncurses ]}"
|
||||
ln -s "$out/src/drush" "$out/bin/drush"
|
||||
'';
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, cmake, pcre, doxygen }:
|
||||
{ lib, stdenv, fetchgit, cmake, pcre, doxygen }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "editorconfig-core-c-${meta.version}";
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
# parallel: https://bugzilla.gnome.org/show_bug.cgi?id=791153
|
||||
enableParallelBuilding = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://editorconfig.org/";
|
||||
description = "EditorConfig core library written in C";
|
||||
longDescription = ''
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkg-config, glib, dbus, dbus-glib }:
|
||||
{ lib, stdenv, fetchurl, pkg-config, glib, dbus, dbus-glib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "eggdbus-0.6";
|
||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ glib dbus dbus-glib ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://hal.freedesktop.org/releases/";
|
||||
description = "D-Bus bindings for GObject";
|
||||
platforms = platforms.linux;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
pname = "elfinfo";
|
||||
@@ -12,7 +12,7 @@ buildGoPackage rec {
|
||||
sha256 = "1n8bg0rcq9fqa6rdnk6x9ngvm59hcayblkpjv9j5myn2vmm6fv8m";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Small utility for showing information about ELF files";
|
||||
homepage = "https://elfinfo.roboticoverlords.org/";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "elfkickers";
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://www.muppetlabs.com/~breadbox/software/elfkickers.html";
|
||||
description = "A collection of programs that access and manipulate ELF files";
|
||||
platforms = platforms.linux;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchFromGitHub, rpm}:
|
||||
{lib, stdenv, fetchFromGitHub, rpm}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "epm";
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
sed -i 's/README/README.md/' Makefile
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "The ESP Package Manager generates distribution archives for a variety of platforms";
|
||||
homepage = "https://www.msweet.org/projects.php?Z2";
|
||||
license = licenses.gpl2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "findnewest";
|
||||
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/0-wiz-0/findnewest";
|
||||
description = "Recursively find newest file in a hierarchy and print its timestamp";
|
||||
license = licenses.bsd2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "fsatrace";
|
||||
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
||||
ln -s $out/$installDir/fsatrace $out/bin/fsatrace
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/jacereda/fsatrace";
|
||||
description = "filesystem access tracer";
|
||||
license = licenses.isc;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
# for xargs
|
||||
@@ -20,12 +20,12 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "11479ac436g8bwk0lfnmdms0cirv9k11pdvfrrg9jwkki1j1abkk";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
nativeBuildInputs = [ autoreconfHook ] ++ lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
buildInputs = [ gettext libtool makeWrapper texinfo ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A cross-platform file change monitor with multiple backends";
|
||||
homepage = "https://github.com/emcrisostomo/fswatch";
|
||||
license = licenses.gpl3Plus;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, pkg-config
|
||||
@@ -26,9 +26,9 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = [
|
||||
libftdi1
|
||||
libusb-compat-0_1
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
|
||||
] ++ lib.optionals stdenv.isDarwin [ IOKit ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "JTAG programmer for the ULX3S and ULX2S open hardware FPGA development boards";
|
||||
homepage = "https://github.com/kost/fujprog";
|
||||
license = licenses.bsd2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, targetPackages
|
||||
{ lib, stdenv, targetPackages
|
||||
|
||||
# Build time
|
||||
, fetchurl, pkg-config, perl, texinfo, setupDebugInfoDirs, buildPackages
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
let
|
||||
basename = "gdb";
|
||||
targetPrefix = stdenv.lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
|
||||
targetPrefix = lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
|
||||
"${stdenv.targetPlatform.config}-";
|
||||
in
|
||||
|
||||
@@ -40,15 +40,15 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [
|
||||
./debug-info-from-env.patch
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
./darwin-target-match.patch
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config texinfo perl setupDebugInfoDirs ];
|
||||
|
||||
buildInputs = [ ncurses readline gmp mpfr expat libipt zlib guile ]
|
||||
++ stdenv.lib.optional pythonSupport python3
|
||||
++ stdenv.lib.optional doCheck dejagnu;
|
||||
++ lib.optional pythonSupport python3
|
||||
++ lib.optional doCheck dejagnu;
|
||||
|
||||
propagatedNativeBuildInputs = [ setupDebugInfoDirs ];
|
||||
|
||||
@@ -57,12 +57,12 @@ stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
|
||||
# darwin build fails with format hardening since v7.12
|
||||
hardeningDisable = stdenv.lib.optionals stdenv.isDarwin [ "format" ];
|
||||
hardeningDisable = lib.optionals stdenv.isDarwin [ "format" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-format-nonliteral";
|
||||
|
||||
# TODO(@Ericson2314): Always pass "--target" and always prefix.
|
||||
configurePlatforms = [ "build" "host" ] ++ stdenv.lib.optional (stdenv.targetPlatform != stdenv.hostPlatform) "target";
|
||||
configurePlatforms = [ "build" "host" ] ++ lib.optional (stdenv.targetPlatform != stdenv.hostPlatform) "target";
|
||||
|
||||
# GDB have to be built out of tree.
|
||||
preConfigure = ''
|
||||
@@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
configureScript = "../configure";
|
||||
|
||||
configureFlags = with stdenv.lib; [
|
||||
configureFlags = with lib; [
|
||||
"--enable-targets=all" "--enable-64-bit-bfd"
|
||||
"--disable-install-libbfd"
|
||||
"--disable-shared" "--enable-static"
|
||||
@@ -82,7 +82,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-mpfr=${mpfr.dev}"
|
||||
"--with-expat" "--with-libexpat-prefix=${expat.dev}"
|
||||
"--with-auto-load-safe-path=${builtins.concatStringsSep ":" safePaths}"
|
||||
] ++ stdenv.lib.optional (!pythonSupport) "--without-python";
|
||||
] ++ lib.optional (!pythonSupport) "--without-python";
|
||||
|
||||
postInstall =
|
||||
'' # Remove Info files already provided by Binutils and other packages.
|
||||
@@ -92,7 +92,7 @@ stdenv.mkDerivation rec {
|
||||
# TODO: Investigate & fix the test failures.
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "The GNU Project debugger";
|
||||
|
||||
longDescription = ''
|
||||
@@ -103,7 +103,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = "https://www.gnu.org/software/gdb/";
|
||||
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
platforms = with platforms; linux ++ cygwin ++ darwin;
|
||||
maintainers = with maintainers; [ pierron globin lsix ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, buildPythonApplication
|
||||
, fetchPypi
|
||||
, gdb
|
||||
@@ -41,13 +41,13 @@ buildPythonApplication rec {
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/gdbgui \
|
||||
--prefix PATH : ${stdenv.lib.makeBinPath [ gdb ]}
|
||||
--prefix PATH : ${lib.makeBinPath [ gdb ]}
|
||||
'';
|
||||
|
||||
# tests do not work without stdout/stdin
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A browser-based frontend for GDB";
|
||||
homepage = "https://www.gdbgui.com/";
|
||||
license = licenses.gpl3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, texinfo, help2man }:
|
||||
{ fetchurl, lib, stdenv, texinfo, help2man }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gengetopt";
|
||||
@@ -37,9 +37,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = "https://www.gnu.org/software/gengetopt/";
|
||||
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
maintainers = [ ];
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
platforms = lib.platforms.all;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, libtool, makeWrapper
|
||||
{ fetchurl, lib, stdenv, libtool, makeWrapper
|
||||
, coreutils, ctags, ncurses, pythonPackages, sqlite, universal-ctags
|
||||
}:
|
||||
|
||||
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
||||
--prefix PYTHONPATH : "$(toPythonPath ${pythonPackages.pygments})"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Source code tag system";
|
||||
longDescription = ''
|
||||
GNU GLOBAL is a source code tagging system that works the same way
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
# Note: this package is used for bootstrapping fetchurl, and thus
|
||||
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
||||
@@ -26,7 +26,7 @@ stdenv.mkDerivation {
|
||||
sha256 = "12lmdnbml9lfvy0khpjc42riicddaz7li8wmbnsam7zsw6al11qk";
|
||||
})
|
||||
]
|
||||
++ stdenv.lib.optional stdenv.isDarwin ./darwin-secure-format.patch;
|
||||
++ lib.optional stdenv.isDarwin ./darwin-secure-format.patch;
|
||||
|
||||
meta = {
|
||||
homepage = "https://www.gnu.org/software/m4/";
|
||||
@@ -49,8 +49,8 @@ stdenv.mkDerivation {
|
||||
compiler or as a macro processor in its own right.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = stdenv.lib.platforms.unix ++ stdenv.lib.platforms.windows;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.unix ++ lib.platforms.windows;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{ stdenv, fetchurl, pkg-config, glib, bison, flex, gnome3 }:
|
||||
{ lib, stdenv, fetchurl, pkg-config, glib, bison, flex, gnome3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gob2";
|
||||
version = "2.0.20";
|
||||
|
||||
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 = "5fe5d7990fd65b0d4b617ba894408ebaa6df453f2781c15a1cfdf2956c0c5428";
|
||||
};
|
||||
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Preprocessor for making GObjects with inline C code";
|
||||
homepage = "https://www.jirka.org/gob.html";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, autoreconfHook }:
|
||||
{lib, stdenv, fetchurl, autoreconfHook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gperf-3.0.4";
|
||||
@@ -27,9 +27,9 @@ stdenv.mkDerivation rec {
|
||||
employed by gperf.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
homepage = "https://www.gnu.org/software/gperf/";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl}:
|
||||
{lib, stdenv, fetchurl}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "gperf-3.1";
|
||||
@@ -25,9 +25,9 @@ stdenv.mkDerivation rec {
|
||||
employed by gperf.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
|
||||
homepage = "https://www.gnu.org/software/gperf/";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkg-config, globalplatform, pcsclite, gppcscconnectionplugin
|
||||
{ lib, stdenv, fetchurl, pkg-config, globalplatform, pcsclite, gppcscconnectionplugin
|
||||
, makeWrapper
|
||||
}:
|
||||
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
wrapProgram "$out/bin/gpshell" --prefix LD_LIBRARY_PATH : "${gppcscconnectionplugin}/lib"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://sourceforge.net/p/globalplatform/wiki/Home/";
|
||||
description = "Smartcard management application";
|
||||
license = licenses.gpl3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gputils";
|
||||
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "055v83fdgqljprapf7rmh8x66mr13fj0qypj49xba5spx0ca123g";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://gputils.sourceforge.io";
|
||||
description = "A collection of tools for the Microchip (TM) PIC microcontrollers. It includes gpasm, gplink, and gplib";
|
||||
license = licenses.gpl2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, gtk2, pkg-config }:
|
||||
{lib, stdenv, fetchurl, gtk2, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gtkdialog-0.8.3";
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
homepage = "https://code.google.com/archive/p/gtkdialog/";
|
||||
# community links: http://murga-linux.com/puppy/viewtopic.php?t=111923 -> https://github.com/01micko/gtkdialog
|
||||
description = "Small utility for fast and easy GUI building from many scripted and compiled languages";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, gtk2, pkg-config, libintl }:
|
||||
{ lib, stdenv, fetchurl, gtk2, pkg-config, libintl }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gtkperf-0.40.0";
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
# https://openbenchmarking.org/innhold/7e9780c11550d09aa67bdba71248facbe2d781db
|
||||
patches = [ ./bench.patch ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Application designed to test GTK performance";
|
||||
homepage = "http://gtkperf.sourceforge.net/";
|
||||
license = with licenses; [ gpl2 ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perlPackages, gettext }:
|
||||
{ lib, stdenv, fetchurl, perlPackages, gettext }:
|
||||
|
||||
# Note: this package is used for bootstrapping fetchurl, and thus
|
||||
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
||||
@@ -27,14 +27,14 @@ stdenv.mkDerivation rec {
|
||||
cat > $out/bin/help2man <<EOF
|
||||
#! $SHELL -e
|
||||
export PERL5LIB=\''${PERL5LIB:+:}${perlPackages.LocaleGettext}/${perlPackages.perl.libPrefix}
|
||||
${stdenv.lib.optionalString stdenv.hostPlatform.isCygwin
|
||||
${lib.optionalString stdenv.hostPlatform.isCygwin
|
||||
''export PATH=\''${PATH:+:}${gettext}/bin''}
|
||||
exec -a \$0 $out/bin/.help2man-wrapped "\$@"
|
||||
EOF
|
||||
chmod +x $out/bin/help2man
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Generate man pages from `--help' output";
|
||||
|
||||
longDescription =
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, buildGoPackage
|
||||
, fetchFromGitHub
|
||||
, makeWrapper
|
||||
@@ -32,8 +32,8 @@ buildGoPackage rec {
|
||||
inherit (src.meta) homepage;
|
||||
|
||||
description = "Lightning fast code searching made easy";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
maintainers = with stdenv.lib.maintainers; [ grahamc ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ grahamc ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
|
||||
pkg-config
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A client for the Hydra CI";
|
||||
homepage = "https://github.com/nlewo/hydra-cli";
|
||||
license = with licenses; [ mit ];
|
||||
|
||||
@@ -128,7 +128,7 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
passthru = { inherit perlDeps migration tests; };
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Nix-based continuous build system";
|
||||
license = licenses.gpl3;
|
||||
platforms = platforms.linux;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, perlPackages, librsvg}:
|
||||
{lib, stdenv, fetchurl, perlPackages, librsvg}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "icon-naming-utils-0.8.90";
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
--replace '/bin/perl' '/bin/perl -I${perlPackages.XMLSimple}/${perlPackages.perl.libPrefix}'
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://tango.freedesktop.org/Standard_Icon_Naming_Specification";
|
||||
platforms = with platforms; linux ++ darwin;
|
||||
license = licenses.gpl2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchFromGitHub, libunwind, cmake, pcre, gdb}:
|
||||
{lib, stdenv, fetchFromGitHub, libunwind, cmake, pcre, gdb}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "5.9.16";
|
||||
@@ -34,10 +34,10 @@ stdenv.mkDerivation rec {
|
||||
details and see the big picture from combined workloads.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
license = lib.licenses.gpl2;
|
||||
|
||||
homepage = "https://igprof.org/";
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ ktf ];
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ ktf ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, texinfo }:
|
||||
{ lib, stdenv, fetchurl, texinfo }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "indent-2.2.12";
|
||||
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ texinfo ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang
|
||||
"-Wno-implicit-function-declaration";
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
@@ -20,8 +20,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://www.gnu.org/software/indent/";
|
||||
description = "A source code reformatter";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
maintainers = [ stdenv.lib.maintainers.mmahut ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = [ lib.maintainers.mmahut ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, autoreconfHook, fetchFromGitHub, fetchpatch }:
|
||||
{ lib, stdenv, autoreconfHook, fetchFromGitHub, fetchpatch }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "inotify-tools";
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/rvoicilas/inotify-tools/wiki";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ marcweber pSub ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkg-config, libdrm, libpciaccess, cairo, xorgproto, udev
|
||||
{ lib, stdenv, fetchurl, pkg-config, libdrm, libpciaccess, cairo, xorgproto, udev
|
||||
, libX11, libXext, libXv, libXrandr, glib, bison, libunwind, python3, kmod
|
||||
, procps, utilmacros, gtk-doc, openssl, peg, elfutils
|
||||
}:
|
||||
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://01.org/linuxgraphics/";
|
||||
description = "Tools for development and testing of the Intel DRM driver";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, fetchpatch, gettext, perlPackages, buildPackages }:
|
||||
{ lib, stdenv, fetchurl, fetchpatch, gettext, perlPackages, buildPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "intltool";
|
||||
@@ -22,12 +22,12 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = with perlPackages; [ perl XMLParser ];
|
||||
propagatedBuildInputs = [ gettext ] ++ (with perlPackages; [ perl XMLParser ]);
|
||||
|
||||
postInstall = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
|
||||
postInstall = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
|
||||
for f in $out/bin/*; do
|
||||
substituteInPlace $f --replace "${buildPackages.perl}" "${perlPackages.perl}"
|
||||
done
|
||||
'';
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Translation helper tool";
|
||||
homepage = "https://launchpad.net/intltool/";
|
||||
license = licenses.gpl2Plus;
|
||||
|
||||
@@ -55,8 +55,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "IOzone Filesystem Benchmark";
|
||||
homepage = "http://www.iozone.org/";
|
||||
license = stdenv.lib.licenses.unfreeRedistributable;
|
||||
license = lib.licenses.unfreeRedistributable;
|
||||
platforms = ["i686-linux" "x86_64-linux" "x86_64-darwin" "aarch64-linux" ];
|
||||
maintainers = with stdenv.lib.maintainers; [ Baughn makefu ];
|
||||
maintainers = with lib.maintainers; [ Baughn makefu ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, pkg-config }:
|
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, pkg-config }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "itm-tools";
|
||||
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Tools for analyzing ITM traces";
|
||||
homepage = "https://github.com/japaric/itm-tools";
|
||||
license = with licenses; [ asl20 mit ];
|
||||
|
||||
@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "http://itstool.org/";
|
||||
description = "XML to PO and back again";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
license = lib.licenses.gpl3Plus;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ autoconf, fetchurl, makedepend, perl, python, stdenv, unzip, zip }:
|
||||
{ autoconf, fetchurl, makedepend, perl, python, lib, stdenv, unzip, zip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jscoverage-0.5.1";
|
||||
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
homepage = "http://siliconforks.com/jscoverage/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, pythonPackages }:
|
||||
{ lib, stdenv, fetchurl, pkg-config, bison, flex, gperf, ncurses, pythonPackages }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
basename = "kconfig-frontends";
|
||||
@@ -21,9 +21,9 @@ stdenv.mkDerivation rec {
|
||||
wrapPythonPrograms
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=format-security";
|
||||
NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=format-security";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Out of Linux tree packaging of the kconfig infrastructure";
|
||||
longDescription = ''
|
||||
Configuration language and system for the Linux kernel and other
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, extra-cmake-modules, qt5,
|
||||
{ lib, stdenv, fetchurl, cmake, extra-cmake-modules, qt5,
|
||||
ki18n, kconfig, kiconthemes, kxmlgui, kwindowsystem,
|
||||
qtbase, makeWrapper,
|
||||
}:
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
wrapProgram $out/bin/kdbg --prefix QT_PLUGIN_PATH : ${qtbase}/${qtbase.qtPluginPrefix}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://www.kdbg.org/";
|
||||
description = ''
|
||||
A graphical user interface to gdb, the GNU debugger. It provides an
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ elk6Version
|
||||
, enableUnfree ? true
|
||||
, stdenv
|
||||
, lib, stdenv
|
||||
, makeWrapper
|
||||
, fetchurl
|
||||
, nodejs-10_x
|
||||
@@ -8,7 +8,7 @@
|
||||
, which
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
let
|
||||
nodejs = nodejs-10_x;
|
||||
inherit (builtins) elemAt;
|
||||
@@ -49,7 +49,7 @@ in stdenv.mkDerivation rec {
|
||||
mv * $out/libexec/kibana/
|
||||
rm -r $out/libexec/kibana/node
|
||||
makeWrapper $out/libexec/kibana/bin/kibana $out/bin/kibana \
|
||||
--prefix PATH : "${stdenv.lib.makeBinPath [ nodejs coreutils which ]}"
|
||||
--prefix PATH : "${lib.makeBinPath [ nodejs coreutils which ]}"
|
||||
sed -i 's@NODE=.*@NODE=${nodejs}/bin/node@' $out/libexec/kibana/bin/kibana
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{ elk7Version
|
||||
, enableUnfree ? true
|
||||
, stdenv
|
||||
, lib, stdenv
|
||||
, makeWrapper
|
||||
, fetchurl
|
||||
, nodejs-10_x
|
||||
@@ -8,7 +8,7 @@
|
||||
, which
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
let
|
||||
nodejs = nodejs-10_x;
|
||||
inherit (builtins) elemAt;
|
||||
@@ -49,7 +49,7 @@ in stdenv.mkDerivation rec {
|
||||
mv * $out/libexec/kibana/
|
||||
rm -r $out/libexec/kibana/node
|
||||
makeWrapper $out/libexec/kibana/bin/kibana $out/bin/kibana \
|
||||
--prefix PATH : "${stdenv.lib.makeBinPath [ nodejs coreutils which ]}"
|
||||
--prefix PATH : "${lib.makeBinPath [ nodejs coreutils which ]}"
|
||||
sed -i 's@NODE=.*@NODE=${nodejs}/bin/node@' $out/libexec/kibana/bin/kibana
|
||||
'';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, m4, perl}:
|
||||
{lib, stdenv, fetchurl, m4, perl}:
|
||||
|
||||
# Note: this package is used for bootstrapping fetchurl, and thus
|
||||
# cannot use fetchpatch! All mutable patches (generated by GitHub or
|
||||
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
homepage = "https://www.gnu.org/software/libtool/";
|
||||
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, m4, perl, help2man
|
||||
{ lib, stdenv, fetchurl, m4, perl, help2man
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "GNU Libtool, a generic library support script";
|
||||
longDescription = ''
|
||||
GNU libtool is a generic library support script. Libtool hides
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "libwhich";
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
||||
install -Dm755 -t $out/bin libwhich
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Like `which`, for dynamic libraries";
|
||||
homepage = "https://github.com/vtjnash/libwhich";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitLab }:
|
||||
{ lib, stdenv, buildGoPackage, fetchFromGitLab }:
|
||||
buildGoPackage rec {
|
||||
pname = "loccount";
|
||||
version = "1.2";
|
||||
@@ -13,7 +13,7 @@ buildGoPackage rec {
|
||||
sha256 = "18z7ai7wy2k9yd3w65d37apfqs3h9bc2c15y7v1bydppi44zfsdk";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Re-implementation of sloccount in Go";
|
||||
longDescription = ''
|
||||
loccount is a re-implementation of David A. Wheeler's sloccount tool
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user