ocamlPackages.bitv: init at 1.3
bitv is a bit vector library for OCaml. Homepage: https://github.com/backtracking/bitv
This commit is contained in:
parent
fd2f2bbe6f
commit
2aeafe7ef4
27
pkgs/development/ocaml-modules/bitv/default.nix
Normal file
27
pkgs/development/ocaml-modules/bitv/default.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{ stdenv, fetchzip, autoreconfHook, which, ocaml, findlib }:
|
||||||
|
|
||||||
|
if !stdenv.lib.versionAtLeast ocaml.version "4.02"
|
||||||
|
then throw "bitv is not available for OCaml ${ocaml.version}"
|
||||||
|
else
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "ocaml${ocaml.version}-bitv-${version}";
|
||||||
|
version = "1.3";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://github.com/backtracking/bitv/archive/${version}.tar.gz";
|
||||||
|
sha256 = "0vkh1w9fpi5m1sgiqg6r38j3fqglhdajmbyiyr91113lrpljm75i";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ autoreconfHook which ocaml findlib ];
|
||||||
|
|
||||||
|
createFindlibDestdir = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A bit vector library for OCaml";
|
||||||
|
license = stdenv.lib.licenses.lgpl21;
|
||||||
|
homepage = "https://github.com/backtracking/bitv";
|
||||||
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
||||||
|
inherit (ocaml.meta) platforms;
|
||||||
|
};
|
||||||
|
}
|
@ -60,6 +60,8 @@ let
|
|||||||
|
|
||||||
bitstring = callPackage ../development/ocaml-modules/bitstring { };
|
bitstring = callPackage ../development/ocaml-modules/bitstring { };
|
||||||
|
|
||||||
|
bitv = callPackage ../development/ocaml-modules/bitv { };
|
||||||
|
|
||||||
bolt = callPackage ../development/ocaml-modules/bolt { };
|
bolt = callPackage ../development/ocaml-modules/bolt { };
|
||||||
|
|
||||||
bos = callPackage ../development/ocaml-modules/bos { };
|
bos = callPackage ../development/ocaml-modules/bos { };
|
||||||
|
Loading…
Reference in New Issue
Block a user