mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
bac4d95aa2
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them if there's actual content. Inspired by https://github.com/NixOS/nixpkgs/issues/60004
24 lines
717 B
Nix
24 lines
717 B
Nix
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, cmdliner, result, uchar }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ocaml${ocaml.version}-fmt-0.8.5";
|
|
|
|
src = fetchurl {
|
|
url = https://erratique.ch/software/fmt/releases/fmt-0.8.5.tbz;
|
|
sha256 = "1zj9azcxcn6skmb69ykgmi9z8c50yskwg03wqgh87lypgjdcz060";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild topkg cmdliner ];
|
|
propagatedBuildInputs = [ result uchar ];
|
|
|
|
inherit (topkg) buildPhase installPhase;
|
|
|
|
meta = {
|
|
homepage = https://erratique.ch/software/fmt;
|
|
license = stdenv.lib.licenses.isc;
|
|
description = "OCaml Format pretty-printer combinators";
|
|
inherit (ocaml.meta) platforms;
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
};
|
|
}
|