File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed
development/ocaml-modules/bencode Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildDunePackage ,
4+ fetchFromGitHub ,
5+ ounit ,
6+ qcheck ,
7+ } :
8+
9+ buildDunePackage rec {
10+ pname = "bencode" ;
11+ version = "2.0" ;
12+ minimalOCamlVersion = "4.02.0" ;
13+
14+ src = fetchFromGitHub {
15+ owner = "rgrinberg" ;
16+ repo = "bencode" ;
17+ tag = version ;
18+ hash = "sha256-sEMS9oBOPeFX1x7cHjbQhCD2QI5yqC+550pPqqMsVws=" ;
19+ } ;
20+
21+ doCheck = true ;
22+ checkInputs = [
23+ ounit
24+ qcheck
25+ ] ;
26+
27+ meta = {
28+ description = "Bencode (.torrent file format) reader/writer in OCaml " ;
29+ homepage = "https://github.com/rgrinberg/bencode" ;
30+ changelog = "https://github.com/rgrinberg/bencode/blob/${ version } /Changelog.md" ;
31+ license = lib . licenses . mit ;
32+ maintainers = with lib . maintainers ; [ infinidoge ] ;
33+ } ;
34+ }
Original file line number Diff line number Diff line change 8888
8989 benchmark = callPackage ../development/ocaml-modules/benchmark { } ;
9090
91+ bencode = callPackage ../development/ocaml-modules/bencode { } ;
92+
9193 bheap = callPackage ../development/ocaml-modules/bheap { } ;
9294
9395 bigarray-compat = callPackage ../development/ocaml-modules/bigarray-compat { } ;
You can’t perform that action at this time.
0 commit comments