mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
ocamlPackages.bencode: init at 2.0
This commit is contained in:
parent
7baddbc4fd
commit
e016599ff5
2 changed files with 36 additions and 0 deletions
34
pkgs/development/ocaml-modules/bencode/default.nix
Normal file
34
pkgs/development/ocaml-modules/bencode/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildDunePackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
ounit,
|
||||||
|
qcheck,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "bencode";
|
||||||
|
version = "2.0";
|
||||||
|
minimalOCamlVersion = "4.02.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "rgrinberg";
|
||||||
|
repo = "bencode";
|
||||||
|
tag = version;
|
||||||
|
hash = "sha256-sEMS9oBOPeFX1x7cHjbQhCD2QI5yqC+550pPqqMsVws=";
|
||||||
|
};
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkInputs = [
|
||||||
|
ounit
|
||||||
|
qcheck
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Bencode (.torrent file format) reader/writer in OCaml ";
|
||||||
|
homepage = "https://github.com/rgrinberg/bencode";
|
||||||
|
changelog = "https://github.com/rgrinberg/bencode/blob/${version}/Changelog.md";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ infinidoge ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -88,6 +88,8 @@ let
|
||||||
|
|
||||||
benchmark = callPackage ../development/ocaml-modules/benchmark { };
|
benchmark = callPackage ../development/ocaml-modules/benchmark { };
|
||||||
|
|
||||||
|
bencode = callPackage ../development/ocaml-modules/bencode { };
|
||||||
|
|
||||||
bheap = callPackage ../development/ocaml-modules/bheap { };
|
bheap = callPackage ../development/ocaml-modules/bheap { };
|
||||||
|
|
||||||
bigarray-compat = callPackage ../development/ocaml-modules/bigarray-compat { };
|
bigarray-compat = callPackage ../development/ocaml-modules/bigarray-compat { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue