3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/biniou/default.nix
sternenseemann 4e42cac49d ocamlPackages: stdenv.lib → lib
This change was produced by searching for remaining occurrences of
stdenv.lib and replacing them manually.

Reference #108938.
2021-01-12 16:33:18 +01:00

27 lines
634 B
Nix

{ lib, fetchFromGitHub, buildDunePackage, easy-format }:
buildDunePackage rec {
pname = "biniou";
version = "1.2.1";
src = fetchFromGitHub {
owner = "ocaml-community";
repo = pname;
rev = version;
sha256 = "0x2kiy809n1j0yf32l7hj102y628jp5jdrkbi3z7ld8jq04h1790";
};
propagatedBuildInputs = [ easy-format ];
postPatch = ''
patchShebangs .
'';
meta = {
inherit (src.meta) homepage;
description = "Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve";
maintainers = [ lib.maintainers.vbgl ];
license = lib.licenses.bsd3;
};
}