mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
f8c4a98e8e
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
53 lines
909 B
Nix
53 lines
909 B
Nix
{ lib, buildDunePackage
|
|
, fetchFromGitHub
|
|
, ppx_assert
|
|
, ppx_bench
|
|
, ppx_bin_prot
|
|
, ppx_compare
|
|
, ppx_enumerate
|
|
, ppx_hash
|
|
, ppx_here
|
|
, ppx_optcomp
|
|
, ppx_sexp_conv
|
|
, ppx_sexp_value
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ppx_bap";
|
|
version = "0.14";
|
|
duneVersion = "3";
|
|
|
|
minimalOCamlVersion = "4.07";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "BinaryAnalysisPlatform";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1c6rcdp8bicdiwqc2mb59cl9l2vxlp3y8hmnr9x924fq7acly248";
|
|
};
|
|
|
|
buildInputs = [
|
|
ppx_optcomp
|
|
ppx_sexp_value
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
ppx_assert
|
|
ppx_bench
|
|
ppx_bin_prot
|
|
ppx_compare
|
|
ppx_enumerate
|
|
ppx_hash
|
|
ppx_here
|
|
ppx_sexp_conv
|
|
];
|
|
|
|
meta = {
|
|
description = "Set of ppx rewriters for BAP";
|
|
inherit (src.meta) homepage;
|
|
license = lib.licenses.mit;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
mainProgram = "ppx-bap";
|
|
};
|
|
}
|