mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
35 lines
1 KiB
Nix
35 lines
1 KiB
Nix
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "ansiterminal-0.6.5";
|
|
|
|
src = fetchurl {
|
|
url = "https://forge.ocamlcore.org/frs/download.php/1206/ANSITerminal-0.6.5.tar.gz";
|
|
sha256 = "1j9kflv2i16vf9hy031cl6z8hv6791mjbhnd9bw07y1pswdlx1r6";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
|
|
|
configurePhase = "ocaml setup.ml -configure --prefix $out";
|
|
|
|
buildPhase = "ocaml setup.ml -build";
|
|
|
|
installPhase = "ocaml setup.ml -install";
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://forge.ocamlcore.org/projects/ansiterminal;
|
|
description = "A module allowing to use the colors and cursor movements on ANSI terminals";
|
|
longDescription = ''
|
|
ANSITerminal is a module allowing to use the colors and cursor
|
|
movements on ANSI terminals. It also works on the windows shell (but
|
|
this part is currently work in progress).
|
|
'';
|
|
license = licenses.lgpl3;
|
|
platforms = ocaml.meta.platforms or [];
|
|
maintainers = [ maintainers.jirkamarsik ];
|
|
};
|
|
}
|