1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 03:48:57 +00:00
nixpkgs/pkgs/development/ocaml-modules/biniou/default.nix

27 lines
649 B
Nix

{ stdenv, fetchFromGitHub, buildDunePackage, easy-format }:
buildDunePackage rec {
pname = "biniou";
version = "1.2.0";
src = fetchFromGitHub {
owner = "mjambon";
repo = pname;
rev = "v${version}";
sha256 = "0mjpgwyfq2b2izjw0flmlpvdjgqpq8shs89hxj1np2r50csr8dcb";
};
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 = [ stdenv.lib.maintainers.vbgl ];
license = stdenv.lib.licenses.bsd3;
};
}