ocaml-bitstring: init at 2.0.4 and f1673f8
This commit is contained in:
28
pkgs/development/ocaml-modules/bitstring/default.nix
Normal file
28
pkgs/development/ocaml-modules/bitstring/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{stdenv, fetchgit, buildOcaml, time, autoconf, automake}:
|
||||
|
||||
buildOcaml rec {
|
||||
name = "bitstring";
|
||||
version = "f1673f8";
|
||||
src = fetchgit {
|
||||
url = "https://code.google.com/p/bitstring/";
|
||||
rev = "f1673f8";
|
||||
sha256 = "1lh97qf1b7mq64pxkphr2w91ri5hfwg58cpjb2xd8a453c9jylw4";
|
||||
};
|
||||
|
||||
patches = [ ./camlp4-git.patch ./meta.patch ];
|
||||
|
||||
buildInputs = [time autoconf automake];
|
||||
doCheck = true;
|
||||
|
||||
createFindlibDestdir = true;
|
||||
hasSharedObjects = true;
|
||||
|
||||
preConfigure = "./bootstrap; echo breakhash";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "This library adds Erlang-style bitstrings and matching over bitstrings as a syntax extension and library for OCaml.";
|
||||
homepage = http://code.google.com/p/bitstring/;
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = [ maintainers.maurer ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user