aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/ocaml-modules/io-page/default.nix
blob: e0f024569626141d9f5951e9c86ea8812f148b10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchzip, buildDunePackage, configurator, cstruct }:

buildDunePackage rec {
  pname = "io-page";
  version = "2.0.1";

  src = fetchzip {
    url = "https://github.com/mirage/${pname}/archive/${version}.tar.gz";
    sha256 = "1rw04dwrlx5hah5dkjf7d63iff82j9cifr8ifjis5pdwhgwcff8i";
  };

  buildInputs = [ configurator ];
  propagatedBuildInputs = [ cstruct ];

  meta = {
    homepage = https://github.com/mirage/io-page;
    license = stdenv.lib.licenses.isc;
    description = "IO memory page library for Mirage backends";
    maintainers = with stdenv.lib.maintainers; [ vbgl ];
  };
}