2018-11-05 11:21:46 +01:00
|
|
|
{ stdenv, fetchFromGitHub, buildDunePackage, easy-format }:
|
2014-09-21 12:02:55 +02:00
|
|
|
|
2018-11-05 11:21:46 +01:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "biniou";
|
2018-03-01 17:48:10 +01:00
|
|
|
version = "1.2.0";
|
2018-11-05 11:21:46 +01:00
|
|
|
|
2018-03-01 17:48:10 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mjambon";
|
2018-11-05 11:21:46 +01:00
|
|
|
repo = pname;
|
2018-03-01 17:48:10 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "0mjpgwyfq2b2izjw0flmlpvdjgqpq8shs89hxj1np2r50csr8dcb";
|
|
|
|
};
|
2017-10-06 22:23:12 +02:00
|
|
|
|
2018-03-01 17:48:10 +01:00
|
|
|
propagatedBuildInputs = [ easy-format ];
|
2017-10-06 22:23:12 +02:00
|
|
|
|
2018-03-01 17:48:10 +01:00
|
|
|
postPatch = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
2017-10-06 22:23:12 +02:00
|
|
|
|
2018-03-01 17:48:10 +01:00
|
|
|
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;
|
|
|
|
};
|
2014-07-03 11:09:47 +02:00
|
|
|
}
|