Commit d3854ca9 authored by Valentin Reis's avatar Valentin Reis
Browse files

Merge branch 'checkpatch' into 'master'

[feature] add package for checkpatch.pl

See merge request !3
parents 4d369fb3 6c93e1cd
Pipeline #6117 passed with stages
in 1 minute and 41 seconds
{ stdenv, src, perl }:
stdenv.mkDerivation {
inherit src;
name = "checkpatch";
buildPhase = "true";
installPhase = ''
mkdir -p $out/bin $out/share
substituteInPlace scripts/checkpatch.pl --replace 'dirname(abs_path($P))' \"$out/share\";
cp scripts/checkpatch.pl $out/bin
cp scripts/spelling.txt scripts/const_structs.checkpatch $out/share
'';
buildInputs = [perl];
}
This diff is collapsed.
......@@ -95,6 +95,7 @@ let
openmc-data = fetched openmc/data.json;
# tools
checkpatch = callPackage ./checkpatch {src=pkgs.linux_testing.src;};
zymake = callPackage ./zymake {
inherit (pkgs.ocamlPackages) findlib ocamlbuild topkg batteries;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment