mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
37 lines
730 B
Nix
37 lines
730 B
Nix
{ buildDunePackage
|
|
, lib
|
|
, fetchurl
|
|
, angstrom
|
|
, faraday
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "hpack";
|
|
version = "0.11.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/anmonteiro/ocaml-h2/releases/download/${version}/h2-${version}.tbz";
|
|
hash = "sha256-GdXwazlgDurjzy7ekLpuMkCii8W+F/jl/IBv/WTHgFM=";
|
|
};
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
propagatedBuildInputs = [
|
|
angstrom
|
|
faraday
|
|
];
|
|
|
|
# circular dependency
|
|
doCheck = false;
|
|
|
|
meta = {
|
|
license = lib.licenses.bsd3;
|
|
description = "HPACK (Header Compression for HTTP/2) implementation in OCaml";
|
|
homepage = "https://github.com/anmonteiro/ocaml-h2";
|
|
maintainers = with lib.maintainers; [
|
|
sternenseemann
|
|
anmonteiro
|
|
];
|
|
};
|
|
}
|