1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/ocaml-modules/bitstring/default.nix
2016-08-19 07:58:05 +02:00

28 lines
853 B
Nix

{ stdenv, fetchzip, buildOcaml, time, autoconf, automake }:
buildOcaml rec {
name = "bitstring";
version = "f1673f8";
src = fetchzip {
url = https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/bitstring/source-archive.zip;
sha256 = "03343yggwp3y483zj5axaalxlnl698xrjiv3hmd4c2s05g53iwas";
};
patches = [ ./camlp4-git.patch ./meta.patch ./srcdir.patch ];
buildInputs = [time autoconf automake];
doCheck = true;
createFindlibDestdir = true;
hasSharedObjects = true;
preConfigure = "./bootstrap";
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 ];
};
}