about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/optint/default.nix
blob: 2227f6e033cab06b3c3cfd78d1211fe35731e35f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ lib, buildDunePackage, fetchurl }:

buildDunePackage rec {
  minimumOCamlVersion = "4.07";
  version = "0.1.0";
  pname = "optint";
  src = fetchurl {
    url = "https://github.com/mirage/optint/releases/download/v${version}/optint-v${version}.tbz";
    sha256 = "27847660223c16cc7eaf8fcd9d5589a0b802114330a2529578f8007d3b01185d";
  };

  useDune2 = true;

  meta = {
    homepage = "https://github.com/mirage/optint";
    description = "Abstract type of integer between x64 and x86 architecture";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.vbgl ];
  };
}