nixpkgs/pkgs/development/ocaml-modules/prettym/default.nix
Jörg Thalheim 5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00

48 lines
849 B
Nix

{ alcotest
, base64
, bigarray-overlap
, bigstringaf
, buildDunePackage
, fetchurl
, fmt
, jsonm
, ke
, lib
, ptime
}:
buildDunePackage rec {
pname = "prettym";
version = "0.0.3";
src = fetchurl {
url = "https://github.com/dinosaure/prettym/releases/download/${version}/prettym-${version}.tbz";
hash = "sha256-kXDxoRref02YpYSlvlK7a5FBX5ccbnWJQzG0axi5jwk=";
};
duneVersion = "3";
minimalOCamlVersion = "4.08";
propagatedBuildInputs = [
bigarray-overlap
bigstringaf
fmt
ke
];
checkInputs = [
ptime
alcotest
jsonm
base64
];
doCheck = true;
meta = {
description = "Simple bounded encoder to serialize human readable values and respect the 80-column constraint";
license = lib.licenses.mit;
homepage = "https://github.com/dinosaure/prettym";
maintainers = [ ];
};
}