1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/development/ocaml-modules/ulex/0.8/default.nix
Joachim Fasting bf7ad2d84f meta.description fixups
Mostly scripted substitutions with a couple of subjective enhancements.
2015-04-30 18:17:42 +02:00

35 lines
798 B
Nix

{stdenv, fetchurl, ocaml, findlib, camlp5 }:
let
ocaml_version = (builtins.parseDrvName ocaml.name).version;
version = "0.8";
pname = "ulex";
in
stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchurl {
url = "http://www.cduce.org/download/old/${pname}-${version}.tar.gz";
sha256 = "19faabg8hzz155xlzmjwsl59d7slahb5m1l9zh1fqvvpp81r26cp";
};
buildInputs = [ocaml findlib camlp5];
createFindlibDestdir = true;
patches = [ ./meta_version.patch ./camlp5.patch ];
propagatedBuildInputs = [ camlp5 ];
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;
maintainers = [ stdenv.lib.maintainers.roconnor ];
};
}