depot/third_party/nixpkgs/pkgs/development/ocaml-modules/sel/default.nix

34 lines
618 B
Nix

{
lib,
fetchurl,
ppxlib,
ppx_deriving,
buildDunePackage,
}:
buildDunePackage rec {
pname = "sel";
version = "0.5.0";
minimalOCamlVersion = "4.07";
src = fetchurl {
url = "https://github.com/gares/sel/releases/download/v${version}/sel-${version}.tbz";
hash = "sha256-n4Z+Pe9fkHLnRzwCryxYNe165Q2Vds9+CduRbRJjqI0=";
};
buildInputs = [
ppxlib
];
propagatedBuildInputs = [
ppx_deriving
];
meta = {
description = "Simple event library";
homepage = "https://github.com/gares/sel/";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vbgl ];
};
}