uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
42
pkgs/development/ocaml-modules/pcap-format/default.nix
Normal file
42
pkgs/development/ocaml-modules/pcap-format/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib, buildDunePackage, fetchurl
|
||||
, ppx_cstruct, ppx_tools
|
||||
, cstruct, ounit, mmap, stdlib-shims
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "pcap-format";
|
||||
version = "0.5.2";
|
||||
|
||||
minimumOCamlVersion = "4.03";
|
||||
|
||||
# due to cstruct
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/ocaml-pcap/releases/download/${version}/${pname}-${version}.tbz";
|
||||
sha256 = "14c5rpgglyz41jic0fg0xa22d2w1syb86kva22y9fi7aqj9vm31f";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
ppx_tools
|
||||
ppx_cstruct
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cstruct
|
||||
stdlib-shims
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [
|
||||
ounit
|
||||
mmap
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Decode and encode PCAP (packet capture) files";
|
||||
homepage = "https://mirage.github.io/ocaml-pcap";
|
||||
license = licenses.isc;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue