mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
ocamlPackages.mirage-random-test: init at 0.1.0
This commit is contained in:
parent
9a56ba8781
commit
2446dfa5fc
@ -0,0 +1,30 @@
|
||||
{ lib, buildDunePackage, fetchurl
|
||||
, cstruct, mirage-random
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "mirage-random-test";
|
||||
version = "0.1.0";
|
||||
|
||||
minimumOCamlVersion = "4.06";
|
||||
|
||||
# due to cstruct
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/mirage/${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||
sha256 = "1jmjyb9a4v7l0xxgdwpr9zshzr8xk3hybra6y2dp51anbwk8kv46";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cstruct
|
||||
mirage-random
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Stub random device implementation for testing";
|
||||
homepage = "https://github.com/mirage/mirage-random";
|
||||
license = licenses.isc;
|
||||
maintainers = [ maintainers.sternenseemann ];
|
||||
};
|
||||
}
|
@ -595,6 +595,8 @@ let
|
||||
|
||||
mirage-random = callPackage ../development/ocaml-modules/mirage-random { };
|
||||
|
||||
mirage-random-test = callPackage ../development/ocaml-modules/mirage-random-test { };
|
||||
|
||||
mirage-runtime = callPackage ../development/ocaml-modules/mirage/runtime.nix { };
|
||||
|
||||
mirage-stack = callPackage ../development/ocaml-modules/mirage-stack { };
|
||||
|
Loading…
Reference in New Issue
Block a user