mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
31 lines
743 B
Nix
31 lines
743 B
Nix
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, camlp4 }:
|
|
|
|
let
|
|
pname = "ulex";
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "${pname}-${version}";
|
|
version = "1.1";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.cduce.org/download/${pname}-${version}.tar.gz";
|
|
sha256 = "0fjlkwps14adfgxdrbb4yg65fhyimplvjjs1xqj5np197cig67x0";
|
|
};
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
|
propagatedBuildInputs = [ camlp4 ];
|
|
|
|
buildFlags = "all all.opt";
|
|
|
|
meta = {
|
|
homepage = http://www.cduce.org/download.html;
|
|
description = "A lexer generator for Unicode and OCaml";
|
|
license = stdenv.lib.licenses.mit;
|
|
platforms = ocaml.meta.platforms or [];
|
|
maintainers = [ stdenv.lib.maintainers.roconnor ];
|
|
};
|
|
}
|