Revert "Merge pull request #20090 from sternenseemann/master"

Reason: https://github.com/NixOS/nixpkgs/pull/20090#commitcomment-19686426

This reverts commit 9ffcb1b250, reversing
changes made to a6283c1126.
This commit is contained in:
Profpatsch
2016-11-04 12:24:57 +01:00
parent c5cac5051a
commit 2bd86e9e47
15 changed files with 62 additions and 396 deletions
@@ -1,36 +0,0 @@
{ stdenv, buildOcaml, fetchFromGitHub, findlib
, result, uucp, uuseg, uutf
, withLwt ? true
, lwt ? null }:
with stdenv.lib;
assert withLwt -> lwt != null;
buildOcaml rec {
version = "0.1.1";
name = "notty";
minimumSupportedOcamlVersion = "4.02";
src = fetchFromGitHub {
owner = "pqwy";
repo = "notty";
rev = "v${version}";
sha256 = "0bw3bq8z2y1rhc20zn13s78sazywyzpg8nmyjch33p7ypxfglf01";
};
buildInputs = [ findlib ];
propagatedBuildInputs = [ result uucp uuseg uutf ] ++
optional withLwt lwt;
configureFlags = [ "--enable-unix" ] ++
optional withLwt ["--enable-lwt"];
configurePhase = "./configure --prefix $out $configureFlags";
meta = with stdenv.lib; {
homepage = https://github.com/pqwy/notty/tree/master;
description = "Declarative terminal graphics for OCaml.";
license = licenses.isc;
maintainers = with maintainers; [ sternenseemann ];
};
}