1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-23 07:26:54 +00:00
nixpkgs/pkgs/development/ocaml-modules/bitstring/default.nix
Ryan Mulligan 42097781bf ocamlPackages.bitstring: 2.1.0 -> 2.1.1
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 2.1.1 with grep in /nix/store/82mvh5s9b7njvwvf2a0c3bw27qm0af4n-ocaml-bitstring-2.1.1
- directory tree listing: https://gist.github.com/6a7bc29539027df0f0f45f8f9e9c1b45
2018-03-20 20:29:56 -07:00

28 lines
790 B
Nix

{ stdenv, fetchurl, buildOcaml, time, autoconf, automake }:
buildOcaml rec {
name = "bitstring";
version = "2.1.1";
src = fetchurl {
url = http://github.com/xguerin/bitstring/archive/v2.1.1.tar.gz;
sha256 = "0vy8ibrxccii1jbsk5q6yh1kxjigqvi7lhhcmizvd5gfhf7mfyc8";
};
patches = [ ./camlp4-git.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 = https://github.com/xguerin/bitstring;
license = licenses.lgpl21Plus;
maintainers = [ maintainers.maurer ];
};
}