mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
ocamlPackages.alcobar: init at 0.3.1
(cherry picked from commit 4e5ec8423e)
This commit is contained in:
parent
ee7ddcd4ae
commit
0362fecd69
2 changed files with 51 additions and 0 deletions
49
pkgs/development/ocaml-modules/alcobar/default.nix
Normal file
49
pkgs/development/ocaml-modules/alcobar/default.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
afl-persistent,
|
||||
alcotest,
|
||||
buildDunePackage,
|
||||
calendar,
|
||||
cmdliner,
|
||||
fetchurl,
|
||||
fpath,
|
||||
lib,
|
||||
ocaml,
|
||||
pprint,
|
||||
uucp,
|
||||
uunf,
|
||||
}:
|
||||
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "alcobar";
|
||||
version = "0.3.1";
|
||||
minimalOCamlVersion = "4.10";
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/samoht/alcobar/releases/download/v${finalAttrs.version}/alcobar-${finalAttrs.version}.tbz";
|
||||
hash = "sha256-V2UnvLrtf+XXkp7uFlrIpxg6+fZqwhCS/J7C3Nw+eVU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
afl-persistent
|
||||
alcotest
|
||||
cmdliner
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
calendar
|
||||
fpath
|
||||
pprint
|
||||
uucp
|
||||
uunf
|
||||
];
|
||||
doCheck = lib.versionAtLeast ocaml.version "5.0";
|
||||
|
||||
meta = {
|
||||
description = "Crowbar with an Alcotest-compatible API";
|
||||
homepage = "https://github.com/samoht/alcobar";
|
||||
changelog = "https://github.com/samoht/alcobar/blob/v${finalAttrs.version}/CHANGES.md";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = [ lib.maintainers.vog ];
|
||||
};
|
||||
})
|
||||
|
|
@ -22,6 +22,8 @@ let
|
|||
|
||||
afl-persistent = callPackage ../development/ocaml-modules/afl-persistent { };
|
||||
|
||||
alcobar = callPackage ../development/ocaml-modules/alcobar { };
|
||||
|
||||
alcotest = callPackage ../development/ocaml-modules/alcotest { };
|
||||
|
||||
alcotest-lwt = callPackage ../development/ocaml-modules/alcotest/lwt.nix { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue