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
22 lines
664 B
Nix
22 lines
664 B
Nix
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ocaml${ocaml.version}-rresult-${version}";
|
|
version = "0.6.0";
|
|
src = fetchurl {
|
|
url = "https://erratique.ch/software/rresult/releases/rresult-${version}.tbz";
|
|
sha256 = "1k69a3gvrk7f2cshwjzvk7818f0bwxhacgd14wxy6d4gmrggci86";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild topkg ];
|
|
|
|
inherit (topkg) buildPhase installPhase;
|
|
|
|
meta = {
|
|
license = stdenv.lib.licenses.isc;
|
|
homepage = https://erratique.ch/software/rresult;
|
|
description = "Result value combinators for OCaml";
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
inherit (ocaml.meta) platforms;
|
|
};
|
|
}
|