pkgs/development/tools: stdenv.lib -> lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, python3Packages }:
|
||||
{ lib, stdenv, python3Packages }:
|
||||
|
||||
with python3Packages;
|
||||
buildPythonApplication rec {
|
||||
@@ -14,7 +14,7 @@ buildPythonApplication rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/myint/autoflake";
|
||||
description = "A simple program which removes unused imports and unused variables as reported by pyflakes";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, rustPlatform, fetchFromGitHub }:
|
||||
{ lib, stdenv, rustPlatform, fetchFromGitHub }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "bingrep";
|
||||
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "sha256-3eGYU5O7HSpawIL/8OVmROCzXfdnoMAnIujjrIp00xg=";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Greps through binaries from various OSs and architectures, and colors them";
|
||||
homepage = "https://github.com/m4b/bingrep";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
let
|
||||
name = "cccc";
|
||||
@@ -30,8 +30,8 @@ stdenv.mkDerivation {
|
||||
complexity and metrics proposed by Chidamber&Kemerer and Henry&Kafura.
|
||||
'';
|
||||
homepage = "http://cccc.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.gpl2;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.linquize ];
|
||||
license = lib.licenses.gpl2;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.linquize ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, makeWrapper, jre }:
|
||||
{ lib, stdenv, fetchurl, makeWrapper, jre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "8.39";
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Checks Java source against a coding standard";
|
||||
longDescription = ''
|
||||
checkstyle is a development tool to help programmers write Java code that
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, clang, llvmPackages, perl, makeWrapper, python3 }:
|
||||
{ lib, stdenv, fetchurl, clang, llvmPackages, perl, makeWrapper, python3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "clang-analyzer";
|
||||
@@ -27,8 +27,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Clang Static Analyzer";
|
||||
homepage = "http://clang-analyzer.llvm.org";
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
||||
license = lib.licenses.bsd3;
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.thoughtpolice ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl }:
|
||||
{ lib, stdenv, fetchurl, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "6.0.1";
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
mv -v $out/share/man/man1/coan.1.{1,gz}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "The C preprocessor chainsaw";
|
||||
longDescription = ''
|
||||
A software engineering tool for analysing preprocessor-based
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchzip
|
||||
, zlib
|
||||
, xorg
|
||||
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
|
||||
ln -s $out/codeql/codeql $out/bin/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Semantic code analysis engine";
|
||||
homepage = "https://semmle.com/codeql";
|
||||
maintainers = [ maintainers.dump_stack ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, requireFile }:
|
||||
{ lib, stdenv, requireFile }:
|
||||
|
||||
let
|
||||
message = ''
|
||||
@@ -41,8 +41,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Coverity Scan build tools";
|
||||
homepage = "https://scan.coverity.com";
|
||||
license = stdenv.lib.licenses.unfreeRedistributable;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
||||
license = lib.licenses.unfreeRedistributable;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.thoughtpolice ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, fetchFromGitHub
|
||||
, libelfin
|
||||
, ncurses
|
||||
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
homepage = "https://github.com/plasma-umass/coz";
|
||||
description = "Profiler based on casual profiling";
|
||||
license = stdenv.lib.licenses.bsd2;
|
||||
maintainers = with stdenv.lib.maintainers; [ zimbatm ];
|
||||
license = lib.licenses.bsd2;
|
||||
maintainers = with lib.maintainers; [ zimbatm ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, libxslt, docbook_xsl, docbook_xml_dtd_45, pcre, withZ3 ? true, z3 }:
|
||||
{ lib, stdenv, fetchurl, libxslt, docbook_xsl, docbook_xml_dtd_45, pcre, withZ3 ? true, z3 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cppcheck";
|
||||
@@ -9,11 +9,11 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0mlw0z20qf0g9qrmdmbykzf87wlcgmah8bacmp4mk6dwfzr9g9n3";
|
||||
};
|
||||
|
||||
buildInputs = [ pcre ] ++ stdenv.lib.optionals withZ3 [ z3 ];
|
||||
buildInputs = [ pcre ] ++ lib.optionals withZ3 [ z3 ];
|
||||
nativeBuildInputs = [ libxslt docbook_xsl docbook_xml_dtd_45 ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "FILESDIR=$(out)/cfg" "HAVE_RULES=yes" ]
|
||||
++ stdenv.lib.optionals withZ3 [ "USE_Z3=yes" "CPPFLAGS=-DNEW_Z3=1" ];
|
||||
++ lib.optionals withZ3 [ "USE_Z3=yes" "CPPFLAGS=-DNEW_Z3=1" ];
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
cp cppcheck.1 $man/share/man/man1/cppcheck.1
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A static analysis tool for C/C++ code";
|
||||
longDescription = ''
|
||||
Check C/C++ code for memory leaks, mismatching allocation-deallocation,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perlPackages }:
|
||||
{ lib, stdenv, fetchurl, perlPackages }:
|
||||
|
||||
perlPackages.buildPerlPackage rec {
|
||||
pname = "egypt";
|
||||
@@ -15,7 +15,7 @@ perlPackages.buildPerlPackage rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Tool for making call graphs of C programmes";
|
||||
longDescription = ''
|
||||
Egypt is a simple tool for creating call graphs of C programs. It neither
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchurl, unzip}:
|
||||
{lib, stdenv, fetchurl, unzip}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "emma-2.0.5312";
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
homepage = "http://emma.sourceforge.net/";
|
||||
description = "A code coverage tool for Java";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = stdenv.lib.licenses.cpl10;
|
||||
platforms = lib.platforms.unix;
|
||||
license = lib.licenses.cpl10;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage {
|
||||
pname = "evmdis-unstable";
|
||||
@@ -12,7 +12,7 @@ buildGoPackage {
|
||||
sha256 = "09y4j7ipgv8yd99g3xk3f079w8fqfj7kl1y7ry81ainysn0qlqrg";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Arachnid/evmdis";
|
||||
description = "Ethereum EVM disassembler";
|
||||
license = [ licenses.asl20 ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl }:
|
||||
{ lib, stdenv, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "findbugs-3.0.1";
|
||||
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
|
||||
EOF
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A static analysis tool to find bugs in Java programs automatically";
|
||||
homepage = "http://findbugs.sourceforge.net/";
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, ocamlPackages, CoreServices }:
|
||||
{ lib, stdenv, fetchFromGitHub, ocamlPackages, CoreServices }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "flow";
|
||||
@@ -17,9 +17,9 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
buildInputs = (with ocamlPackages; [ ocaml findlib ocamlbuild dtoa core_kernel sedlex_2 ocaml_lwt lwt_log lwt_ppx ppx_deriving ppx_gen_rec ppx_tools_versioned visitors wtf8 ocaml-migrate-parsetree ])
|
||||
++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
++ lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A static type checker for JavaScript";
|
||||
homepage = "https://flow.org/";
|
||||
changelog = "https://github.com/facebook/flow/releases/tag/v${version}";
|
||||
|
||||
@@ -73,8 +73,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "An extensible and collaborative platform dedicated to source-code analysis of C software";
|
||||
homepage = "http://frama-c.com/";
|
||||
license = stdenv.lib.licenses.lgpl21;
|
||||
maintainers = with stdenv.lib.maintainers; [ thoughtpolice amiddelk ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = lib.licenses.lgpl21;
|
||||
maintainers = with lib.maintainers; [ thoughtpolice amiddelk ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
||||
cp -ar $src/Documentation/html $out/share/doc/${name}/.
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Automatically generate all types of basic memory management operations and write into trace files";
|
||||
homepage = "https://github.com/GarCoSim";
|
||||
maintainers = [ maintainers.cmcdragonkai ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit }:
|
||||
{ lib, stdenv, fetchgit }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
@@ -17,7 +17,7 @@ stdenv.mkDerivation {
|
||||
cp ./traceFileSim "$out/bin"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Ease the analysis of existing memory management techniques, as well as the prototyping of new memory management techniques";
|
||||
homepage = "https://github.com/GarCoSim";
|
||||
maintainers = [ maintainers.cmcdragonkai ];
|
||||
|
||||
@@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
|
||||
--replace "Exec=/opt/hopper-${rev}/bin/Hopper" "Exec=$out/bin/hopper"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://www.hopperapp.com/index.html";
|
||||
description = "A macOS and Linux Disassembler";
|
||||
license = licenses.unfree;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv,
|
||||
{ lib, stdenv,
|
||||
mkDerivation,
|
||||
cmake,
|
||||
elfutils,
|
||||
@@ -58,8 +58,8 @@ mkDerivation rec {
|
||||
then displays the result in a graphical way.
|
||||
'';
|
||||
homepage = "https://github.com/KDAB/hotspot";
|
||||
license = with stdenv.lib.licenses; [ gpl2 gpl3 ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = with stdenv.lib.maintainers; [ nh2 ];
|
||||
license = with lib.licenses; [ gpl2 gpl3 ];
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ nh2 ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, cmake, llvmPackages, python2 }:
|
||||
{ lib, stdenv, fetchurl, cmake, llvmPackages, python2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "include-what-you-use";
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
--replace "'include-what-you-use'" "'$out/bin/include-what-you-use'"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Analyze #includes in C/C++ source files with clang";
|
||||
longDescription = ''
|
||||
For every symbol (type, function variable, or macro) that you use in
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, ant, jdk, runtimeShell }:
|
||||
{ lib, stdenv, fetchFromGitHub, ant, jdk, runtimeShell }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "jdepend";
|
||||
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||
chmod a+x $out/bin/jdepend
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Traverses Java class file directories and generates design quality metrics for each Java package";
|
||||
homepage = "http://www.clarkware.com/software/JDepend.html";
|
||||
license = licenses.bsd3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchFromGitHub, cmake, pkg-config, zlib, curl, elfutils, python, libiberty, libopcodes}:
|
||||
{lib, stdenv, fetchFromGitHub, cmake, pkg-config, zlib, curl, elfutils, python, libiberty, libopcodes}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "kcov";
|
||||
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ zlib curl elfutils python libiberty libopcodes ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Code coverage tester for compiled programs, Python scripts and shell scripts";
|
||||
|
||||
longDescription = ''
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchFromGitHub, perl, perlPackages, makeWrapper }:
|
||||
{lib, stdenv, fetchFromGitHub, perl, perlPackages, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "lcov";
|
||||
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
|
||||
wrapProgram $out/bin/genpng --set PERL5LIB ${perlPackages.makeFullPerlPath [ perlPackages.GD ]}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Code coverage tool that enhances GNU gcov";
|
||||
|
||||
longDescription =
|
||||
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
homepage = "http://ltp.sourceforge.net/coverage/lcov.php";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
|
||||
maintainers = with maintainers; [ dezgeg ];
|
||||
platforms = platforms.all;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, makeWrapper, bash, gnumake }:
|
||||
{ lib, stdenv, fetchFromGitHub, makeWrapper, bash, gnumake }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "makefile2graph-2018-01-03";
|
||||
@@ -19,10 +19,10 @@ stdenv.mkDerivation {
|
||||
--replace '/bin/sh' ${bash}/bin/bash \
|
||||
--replace 'make2graph' "$out/bin/make2graph"
|
||||
wrapProgram $out/bin/makefile2graph \
|
||||
--set PATH ${stdenv.lib.makeBinPath [ gnumake ]}
|
||||
--set PATH ${lib.makeBinPath [ gnumake ]}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/lindenb/makefile2graph";
|
||||
description = "Creates a graph of dependencies from GNU-Make; Output is a graphiz-dot file or a Gexf-XML file";
|
||||
maintainers = with maintainers; [ cmcdragonkai ];
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, llvmPackages, readline, python }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages, readline, python }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "oclgrind";
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
"-DCLANG_ROOT=${llvmPackages.clang-unwrapped}"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "An OpenCL device simulator and debugger";
|
||||
homepage = "https://github.com/jrprice/oclgrind";
|
||||
license = licenses.bsd3;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, rustPlatform, qt5, git, cmake
|
||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, qt5, git, cmake
|
||||
, pkg-config, makeWrapper }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@@ -34,7 +34,7 @@ rustPlatform.buildRustPackage rec {
|
||||
makeWrapper $out/share/${pname}/${pname} $out/bin/${pname}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A libre cross-platform disassembler";
|
||||
longDescription = ''
|
||||
Panopticon is a cross platform disassembler for reverse
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, openssl, fetchFromGitHub }:
|
||||
{ lib, stdenv, openssl, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
pname = "pev";
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
|
||||
|
||||
installFlags = [ "prefix=$(out)" ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A full-featured, open source, multiplatform command line toolkit to work with PE (Portable Executables) binaries";
|
||||
homepage = "https://pev.sourceforge.net/";
|
||||
license = licenses.gpl2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, unzip, makeWrapper, openjdk }:
|
||||
{ lib, stdenv, fetchurl, unzip, makeWrapper, openjdk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pmd";
|
||||
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "An extensible cross-language static code analyzer";
|
||||
homepage = "https://pmd.github.io/";
|
||||
changelog = "https://pmd.github.io/pmd-${version}/pmd_release_notes.html";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{ stdenv, qmake, qtbase, perl, python, php, kcachegrind }:
|
||||
{ lib, stdenv, qmake, qtbase, perl, python, php, kcachegrind }:
|
||||
|
||||
let
|
||||
name = stdenv.lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name;
|
||||
name = lib.replaceStrings ["kcachegrind"] ["qcachegrind"] kcachegrind.name;
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
inherit name;
|
||||
@@ -31,7 +31,7 @@ in stdenv.mkDerivation {
|
||||
install -Dm644 kcachegrind/48-apps-kcachegrind.png "$out/share/icons/hicolor/48x48/apps/kcachegrind.png"
|
||||
'');
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "A Qt GUI to visualize profiling data";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.unix;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{stdenv, fetchFromGitHub
|
||||
{lib, stdenv, fetchFromGitHub
|
||||
, buildPackages
|
||||
, pkg-config
|
||||
, libusb-compat-0_1, readline, libewf, perl, zlib, openssl
|
||||
@@ -19,7 +19,7 @@ assert pythonBindings -> python3 != null;
|
||||
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) optional;
|
||||
inherit (lib) optional;
|
||||
|
||||
generic = {
|
||||
version_commit, # unused
|
||||
@@ -95,9 +95,9 @@ let
|
||||
meta = {
|
||||
description = "unix-like reverse engineering framework and commandline tools";
|
||||
homepage = "http://radare.org/";
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
maintainers = with stdenv.lib.maintainers; [ raskin makefu mic92 ];
|
||||
platforms = with stdenv.lib.platforms; linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
maintainers = with lib.maintainers; [ raskin makefu mic92 ];
|
||||
platforms = with lib.platforms; linux;
|
||||
inherit version;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, unzip }:
|
||||
{ lib, stdenv, fetchurl, unzip }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "4.2.5";
|
||||
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
cp README.txt $out/doc
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Automatic test generation for Java";
|
||||
homepage = "https://randoop.github.io/randoop/";
|
||||
license = licenses.mit;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, cmake, libpfm, zlib, pkg-config, python3Packages, which, procps, gdb, capnproto }:
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, libpfm, zlib, pkg-config, python3Packages, which, procps, gdb, capnproto }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "5.4.0";
|
||||
@@ -52,8 +52,8 @@ stdenv.mkDerivation rec {
|
||||
time the same execution is replayed.
|
||||
'';
|
||||
|
||||
license = with stdenv.lib.licenses; [ mit bsd2 ];
|
||||
maintainers = with stdenv.lib.maintainers; [ pierron thoughtpolice ];
|
||||
platforms = stdenv.lib.platforms.x86;
|
||||
license = with lib.licenses; [ mit bsd2 ];
|
||||
maintainers = with lib.maintainers; [ pierron thoughtpolice ];
|
||||
platforms = lib.platforms.x86;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchgit, sqlite, pkg-config, perl
|
||||
{ lib, stdenv, fetchgit, sqlite, pkg-config, perl
|
||||
, buildllvmsparse ? true
|
||||
, buildc2xml ? true
|
||||
, llvm ? null, libxml2 ? null
|
||||
@@ -18,8 +18,8 @@ stdenv.mkDerivation {
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [sqlite perl]
|
||||
++ stdenv.lib.optional buildllvmsparse llvm
|
||||
++ stdenv.lib.optional buildc2xml libxml2;
|
||||
++ lib.optional buildllvmsparse llvm
|
||||
++ lib.optional buildc2xml libxml2;
|
||||
|
||||
preBuild =
|
||||
'' sed -i Makefile \
|
||||
@@ -29,7 +29,7 @@ stdenv.mkDerivation {
|
||||
meta = {
|
||||
description = "A semantic analysis tool for C";
|
||||
homepage = "http://smatch.sourceforge.net/";
|
||||
license = stdenv.lib.licenses.free; /* OSL, see http://www.opensource.org */
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
license = lib.licenses.free; /* OSL, see http://www.opensource.org */
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, mkDerivation, fetchFromGitHub, cmake, boost, qtbase }:
|
||||
{ lib, stdenv, mkDerivation, fetchFromGitHub, cmake, boost, qtbase }:
|
||||
|
||||
mkDerivation rec {
|
||||
pname = "snowman";
|
||||
@@ -19,7 +19,7 @@ mkDerivation rec {
|
||||
export sourceRoot=$sourceRoot/src
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Native code to C/C++ decompiler";
|
||||
homepage = "http://derevenets.com/";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, pkg-config, libxml2, llvm }:
|
||||
{ fetchurl, lib, stdenv, pkg-config, libxml2, llvm }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "sparse-0.5.0";
|
||||
@@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
|
||||
meta = {
|
||||
description = "Semantic parser for C";
|
||||
homepage = "https://git.kernel.org/cgit/devel/sparse/sparse.git/";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = [ lib.maintainers.thoughtpolice ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
, withISpin ? true, tk, swarm, graphviz }:
|
||||
|
||||
let
|
||||
binPath = stdenv.lib.makeBinPath [ gcc ];
|
||||
ibinPath = stdenv.lib.makeBinPath [ gcc tk swarm graphviz tk ];
|
||||
binPath = lib.makeBinPath [ gcc ];
|
||||
ibinPath = lib.makeBinPath [ gcc tk swarm graphviz tk ];
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "spin";
|
||||
version = "6.4.9";
|
||||
url-version = stdenv.lib.replaceChars ["."] [""] version;
|
||||
url-version = lib.replaceChars ["."] [""] version;
|
||||
|
||||
src = fetchurl {
|
||||
# The homepage is behind CloudFlare anti-DDoS protection, which blocks cURL.
|
||||
@@ -36,7 +36,7 @@ in stdenv.mkDerivation rec {
|
||||
--prefix PATH ':' "$out/bin:${ibinPath}"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Formal verification tool for distributed software systems";
|
||||
homepage = "http://spinroot.com/";
|
||||
license = licenses.free;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ fetchurl, stdenv, flex }:
|
||||
{ fetchurl, lib, stdenv, flex }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "splint-3.1.2";
|
||||
@@ -8,13 +8,13 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "02pv8kscsrkrzip9r08pfs9xs98q74c52mlxzbii6cv6vx1vd3f7";
|
||||
};
|
||||
|
||||
patches = [ ./tmpdir.patch ] ++ stdenv.lib.optional stdenv.isDarwin ./darwin.patch;
|
||||
patches = [ ./tmpdir.patch ] ++ lib.optional stdenv.isDarwin ./darwin.patch;
|
||||
|
||||
buildInputs = [ flex ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://www.splint.org/";
|
||||
description = "Annotation-assisted lightweight static analyzer for C";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub }:
|
||||
{ lib, stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "swarm-2019-03-11";
|
||||
@@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
install -Dm644 Doc/swarm.1 $out/share/man/man1/swarm.1
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
description = "Verification script generator for Spin";
|
||||
homepage = "http://spinroot.com/";
|
||||
license = licenses.free;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, python3, fetchFromGitHub }:
|
||||
{ lib, stdenv, python3, fetchFromGitHub }:
|
||||
|
||||
with python3.pkgs;
|
||||
|
||||
@@ -14,7 +14,7 @@ buildPythonApplication rec {
|
||||
sha256 = "1yn9vi91j1yxkn0icdnjhgl0qrqqkzyhccj39af4f19q1gdw995l";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/theopolis/uefi-firmware-parser/";
|
||||
description = "Parse BIOS/Intel ME/UEFI firmware related structures: Volumes, FileSystems, Files, etc";
|
||||
# MIT + license headers in some files
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, perl, gdb, cctools, xnu, bootstrap_cmds }:
|
||||
{ lib, stdenv, fetchurl, perl, gdb, cctools, xnu, bootstrap_cmds }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "valgrind-3.16.1";
|
||||
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
# GDB is needed to provide a sane default for `--db-command'.
|
||||
# Perl is needed for `callgrind_{annotate,control}'.
|
||||
buildInputs = [ gdb perl ] ++ stdenv.lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ];
|
||||
buildInputs = [ gdb perl ] ++ lib.optionals (stdenv.isDarwin) [ bootstrap_cmds xnu ];
|
||||
|
||||
# Perl is also a native build input.
|
||||
nativeBuildInputs = [ perl ];
|
||||
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
enableParallelBuilding = true;
|
||||
separateDebugInfo = stdenv.isLinux;
|
||||
|
||||
preConfigure = stdenv.lib.optionalString stdenv.isDarwin (
|
||||
preConfigure = lib.optionalString stdenv.isDarwin (
|
||||
let OSRELEASE = ''
|
||||
$(awk -F '"' '/#define OSRELEASE/{ print $2 }' \
|
||||
<${xnu}/Library/Frameworks/Kernel.framework/Headers/libkern/version.h)'';
|
||||
@@ -50,8 +50,8 @@ stdenv.mkDerivation rec {
|
||||
postPatch = "";
|
||||
|
||||
configureFlags =
|
||||
stdenv.lib.optional (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "x86_64-darwin") "--enable-only64bit"
|
||||
++ stdenv.lib.optional stdenv.hostPlatform.isDarwin "--with-xcodedir=${xnu}/include";
|
||||
lib.optional (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "x86_64-darwin") "--enable-only64bit"
|
||||
++ lib.optional stdenv.hostPlatform.isDarwin "--with-xcodedir=${xnu}/include";
|
||||
|
||||
doCheck = false; # fails
|
||||
|
||||
@@ -76,10 +76,10 @@ stdenv.mkDerivation rec {
|
||||
Valgrind to build new tools.
|
||||
'';
|
||||
|
||||
license = stdenv.lib.licenses.gpl2Plus;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.eelco ];
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
maintainers = [ lib.maintainers.eelco ];
|
||||
platforms = lib.platforms.unix;
|
||||
badPlatforms = [
|
||||
"armv5tel-linux" "armv6l-linux" "armv6m-linux"
|
||||
"sparc-linux" "sparc64-linux"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, qt4, qmake4Hook }:
|
||||
{ lib, stdenv, fetchurl, qt4, qmake4Hook }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "valkyrie-2.0.0";
|
||||
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ qmake4Hook ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
meta = with lib; {
|
||||
homepage = "http://www.valgrind.org/";
|
||||
description = "Qt4-based GUI for the Valgrind 3.6.x series";
|
||||
license = licenses.gpl2;
|
||||
|
||||
Reference in New Issue
Block a user