mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
9367367dfd
Permanent redirects on homepages and/or source URLs as reported by Repology
29 lines
704 B
Nix
29 lines
704 B
Nix
{ stdenv, fetchzip, ocaml, findlib }:
|
|
let
|
|
pname = "easy-format";
|
|
version = "1.2.0";
|
|
in
|
|
stdenv.mkDerivation {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/mjambon/${pname}/archive/v${version}.tar.gz";
|
|
sha256 = "00ga7mrlycjc99gzp3bgx6iwhf7i6j8856f8xzrf1yas7zwzgzm9";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib ];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A high-level and functional interface to the Format module of the OCaml standard library";
|
|
homepage = "https://github.com/ocaml-community/${pname}";
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.vbgl ];
|
|
};
|
|
}
|