3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/ocaml-modules/biniou/default.nix

27 lines
634 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildDunePackage, easy-format }:
buildDunePackage rec {
pname = "biniou";
2019-11-27 09:24:00 +00:00
version = "1.2.1";
2018-03-01 16:48:10 +00:00
src = fetchFromGitHub {
2019-11-27 09:24:00 +00:00
owner = "ocaml-community";
repo = pname;
2019-11-27 09:24:00 +00:00
rev = version;
sha256 = "0x2kiy809n1j0yf32l7hj102y628jp5jdrkbi3z7ld8jq04h1790";
2018-03-01 16:48:10 +00:00
};
2017-10-06 21:23:12 +01:00
2018-03-01 16:48:10 +00:00
propagatedBuildInputs = [ easy-format ];
2017-10-06 21:23:12 +01:00
2018-03-01 16:48:10 +00:00
postPatch = ''
patchShebangs .
'';
2017-10-06 21:23:12 +01:00
2018-03-01 16:48:10 +00:00
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;
2018-03-01 16:48:10 +00:00
};
2014-07-03 10:09:47 +01:00
}