ocamlPackages.{earley,gnuplot,wtf8,xmlplaylist}: small cleaning (#463410)
This commit is contained in:
@@ -5,19 +5,16 @@
|
||||
stdlib-shims,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
version = "3.0.0";
|
||||
pname = "earley";
|
||||
src = fetchFromGitHub {
|
||||
owner = "rlepigre";
|
||||
repo = "ocaml-earley";
|
||||
rev = version;
|
||||
sha256 = "1vi58zdxchpw6ai0bz9h2ggcmg8kv57yk6qbx82lh47s5wb3mz5y";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-vvw6Fi/6EEgF6gub6U/ZE73K3hMw/QWiMvxC1ttHJe4=";
|
||||
};
|
||||
|
||||
minimalOCamlVersion = "4.07";
|
||||
useDune2 = true;
|
||||
|
||||
buildInputs = [ stdlib-shims ];
|
||||
|
||||
doCheck = true;
|
||||
@@ -29,4 +26,4 @@ buildDunePackage rec {
|
||||
maintainers = [ lib.maintainers.vbgl ];
|
||||
mainProgram = "pa_ocaml";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -6,19 +6,15 @@
|
||||
iso8601,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "gnuplot";
|
||||
version = "0.7";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimalOCamlVersion = "4.03";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "c-cube";
|
||||
repo = "ocaml-${pname}";
|
||||
rev = "v${version}";
|
||||
sha256 = "02pzi3lb57ysrdsba743s3vmnapjbxgq8ynlzpxbbs6cn1jj6ch9";
|
||||
repo = "ocaml-gnuplot";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-CTIjZbDM6LX6/dR6hF9f8ipb99CDHLV0y9qfsuiI/wo=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -26,10 +22,10 @@ buildDunePackage rec {
|
||||
iso8601
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
inherit (src.meta) homepage;
|
||||
description = "Ocaml bindings to Gnuplot";
|
||||
maintainers = [ maintainers.bcdarwin ];
|
||||
license = licenses.lgpl21;
|
||||
meta = {
|
||||
homepage = "https://github.com/c-cube/ocaml-gnuplot";
|
||||
description = "OCaml bindings to Gnuplot";
|
||||
maintainers = [ lib.maintainers.bcdarwin ];
|
||||
license = lib.licenses.lgpl21;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -4,23 +4,19 @@
|
||||
buildDunePackage,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "wtf8";
|
||||
version = "1.0.2";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
minimalOCamlVersion = "4.02";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/flowtype/ocaml-${pname}/releases/download/v${version}/${pname}-v${version}.tbz";
|
||||
sha256 = "09ygcxxd5warkdzz17rgpidrd0pg14cy2svvnvy1hna080lzg7vp";
|
||||
url = "https://github.com/flowtype/ocaml-wtf8/releases/download/v${finalAttrs.version}/wtf8-v${finalAttrs.version}.tbz";
|
||||
hash = "sha256-d5/3KUBAWRj8tntr4RkJ74KWW7wvn/B/m1nx0npnzyc=";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/flowtype/ocaml-wtf8";
|
||||
description = "WTF-8 is a superset of UTF-8 that allows unpaired surrogates";
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.eqyiel ];
|
||||
license = lib.licenses.mit;
|
||||
maintainers = [ lib.maintainers.eqyiel ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
@@ -6,26 +6,24 @@
|
||||
xmlm,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
buildDunePackage (finalAttrs: {
|
||||
pname = "xmlplaylist";
|
||||
version = "0.1.5";
|
||||
|
||||
useDune2 = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "savonet";
|
||||
repo = "ocaml-xmlplaylist";
|
||||
rev = "v${version}";
|
||||
sha256 = "1x5lbwkr2ip00x8vyfbl8936yy79j138vx8a16ix7g9p2j5qsfcq";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-mDmNixQ3vdOjCQr1jUaQ6XhvRkJ0Ob9RB+BGkSdftPQ=";
|
||||
};
|
||||
|
||||
buildInputs = [ dune-configurator ];
|
||||
propagatedBuildInputs = [ xmlm ];
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/savonet/ocaml-xmlplaylist";
|
||||
description = "Module to parse various RSS playlist formats";
|
||||
license = licenses.lgpl21Only;
|
||||
maintainers = with maintainers; [ dandellion ];
|
||||
license = lib.licenses.lgpl21Only;
|
||||
maintainers = with lib.maintainers; [ dandellion ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user