ocamlPackages.directories: 0.5 -> 0.6 (#414677)
* ocamlPackages.directories: 0.5 -> 0.6 Changelog: https://github.com/OCamlPro/directories/releases/tag/0.6 Diff: https://github.com/OCamlPro/directories/compare/0.5...0.6 * ocamlPackages.directories: modernized derivation - Rename: ocamlpro -> OCamlPro - Added: meta.changelog - Change: rev -> tag and sha256 -> hash - Fix: minimalOCamlVersion
This commit is contained in:
parent
704de12c28
commit
c0b96fce53
@ -2,24 +2,28 @@
|
|||||||
lib,
|
lib,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
buildDunePackage,
|
buildDunePackage,
|
||||||
|
fpath,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "directories";
|
pname = "directories";
|
||||||
version = "0.5";
|
version = "0.6";
|
||||||
useDune2 = true;
|
|
||||||
|
|
||||||
minimalOCamlVersion = "4.07";
|
minimalOCamlVersion = "4.14";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ocamlpro";
|
owner = "OCamlPro";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = version;
|
tag = version;
|
||||||
sha256 = "sha256-31CGhmmfOORJ1ewgp+IU+p1+f2kfX/W+lxK7EGU62vc=";
|
hash = "sha256-c/9ChiSODD1K7YsMj65tjErAwXeWvEQ8BkAcUvsr19c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
fpath
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/ocamlpro/directories";
|
homepage = "https://github.com/OCamlPro/directories";
|
||||||
description = "OCaml library that provides configuration, cache and data paths (and more!) following the suitable conventions on Linux, macOS and Windows";
|
description = "OCaml library that provides configuration, cache and data paths (and more!) following the suitable conventions on Linux, macOS and Windows";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
directories is an OCaml library that provides configuration, cache and
|
directories is an OCaml library that provides configuration, cache and
|
||||||
@ -31,6 +35,7 @@ buildDunePackage rec {
|
|||||||
xdg-user-dirs on Linux, Known Folders on Windows, Standard Directories on
|
xdg-user-dirs on Linux, Known Folders on Windows, Standard Directories on
|
||||||
macOS.
|
macOS.
|
||||||
'';
|
'';
|
||||||
|
changelog = "https://raw.githubusercontent.com/OCamlPro/directories/refs/tags/${src.tag}/CHANGES.md";
|
||||||
license = lib.licenses.isc;
|
license = lib.licenses.isc;
|
||||||
maintainers = with lib.maintainers; [ bcc32 ];
|
maintainers = with lib.maintainers; [ bcc32 ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user