feat(ocaml/ubase): init
with ocamlExtension init
This commit is contained in:
parent
dd29a6ea34
commit
c941b7b08c
2 changed files with 40 additions and 0 deletions
36
ocaml-pkgs/ubase.nix
Normal file
36
ocaml-pkgs/ubase.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildDunePackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "ubase";
|
||||||
|
version = "0.20";
|
||||||
|
|
||||||
|
minimalOCamlVersion = "4.14";
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "sanette";
|
||||||
|
repo = "ubase";
|
||||||
|
rev = version;
|
||||||
|
hash = "sha256-zmYjWEk0r1h87RczCJu2tYlS79F/pAiBt16BplPmA7c=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkInputs = [
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Remove accents from utf8 strings";
|
||||||
|
homepage = "https://github.com/sanette/ubase";
|
||||||
|
changelog = "https://github.com/sanette/ubase/blob/${src.rev}/CHANGES.md";
|
||||||
|
license = lib.licenses.lgpl3;
|
||||||
|
maintainers = with lib.maintainers; [ ];
|
||||||
|
mainProgram = "ubase";
|
||||||
|
platforms = lib.platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -17,4 +17,8 @@ mkGeneralOverlay ./pkgs final prev
|
||||||
xml = import ./xml.nix { pkgs = final; };
|
xml = import ./xml.nix { pkgs = final; };
|
||||||
};
|
};
|
||||||
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [ (mkGeneralOverlay ./python-pkgs) ];
|
pythonPackagesExtensions = prev.pythonPackagesExtensions ++ [ (mkGeneralOverlay ./python-pkgs) ];
|
||||||
|
# ocamlPackagesExtensions is from a custom patch
|
||||||
|
ocamlPackagesExtensions = (prev.ocamlPackagesExtensions or [ ]) ++ [
|
||||||
|
(mkGeneralOverlay ./ocaml-pkgs)
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue