diff options
Diffstat (limited to 'nixpkgs/pkgs/development/ocaml-modules/mirage-random/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/ocaml-modules/mirage-random/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/ocaml-modules/mirage-random/default.nix b/nixpkgs/pkgs/development/ocaml-modules/mirage-random/default.nix new file mode 100644 index 000000000000..535c9286948e --- /dev/null +++ b/nixpkgs/pkgs/development/ocaml-modules/mirage-random/default.nix @@ -0,0 +1,20 @@ +{ lib, buildDunePackage, fetchurl, cstruct }: + +buildDunePackage rec { + pname = "mirage-random"; + version = "2.0.0"; + + src = fetchurl { + url = "https://github.com/mirage/mirage-random/releases/download/v${version}/mirage-random-v${version}.tbz"; + sha256 = "0qj41d5smkkkbjwsnz71bhhj94d2cwv53rf3j4rhky0pqbkidnv1"; + }; + + propagatedBuildInputs = [ cstruct ]; + + meta = { + description = "Random signatures for MirageOS"; + homepage = "https://github.com/mirage/mirage-random"; + license = lib.licenses.isc; + maintainers = [ lib.maintainers.vbgl ]; + }; +} |