1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

ocamlPackages.curses: 1.0.4 -> 1.0.8

https://github.com/mbacarella/curses/raw/1.0.8/CHANGES
This commit is contained in:
Mario Rodas 2021-10-01 04:20:00 +00:00 committed by Vincent Laporte
parent a362961faf
commit 2ed7f96a78

View file

@ -1,17 +1,19 @@
{ lib, stdenv, fetchurl, ocaml, findlib, ncurses }:
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, ncurses }:
stdenv.mkDerivation rec {
pname = "ocaml-curses";
version = "1.0.4";
version = "1.0.8";
src = fetchurl {
url = "http://ocaml.phauna.org/distfiles/ocaml-curses-${version}.ogunden1.tar.gz";
sha256 = "08wq1r93lincdfzlriyc5nl2p4q7ca4h6ygzgp1nhkgd93pgk9v2";
src = fetchFromGitHub {
owner = "mbacarella";
repo = "curses";
rev = version;
sha256 = "0yy3wf8i7jgvzdc40bni7mvpkvclq97cgb5fw265mrjj0iqpkqpd";
};
propagatedBuildInputs = [ ncurses ];
buildInputs = [ ocaml findlib ];
nativeBuildInputs = [ ocaml findlib ];
# Fix build for recent ncurses versions
NIX_CFLAGS_COMPILE = "-DNCURSES_INTERNALS=1";
@ -26,8 +28,9 @@ stdenv.mkDerivation rec {
meta = with lib; {
description = "OCaml Bindings to curses/ncurses";
homepage = "https://opam.ocaml.org/packages/curses/curses.1.0.4/";
license = licenses.gpl2;
homepage = "https://github.com/mbacarella/curses";
license = licenses.lgpl21Plus;
changelog = "https://github.com/mbacarella/curses/raw/${version}/CHANGES";
maintainers = [ maintainers.volth ];
platforms = ocaml.meta.platforms or [];
};