ocamlPackages.scfg: init at 0.5
Co-authored-by: Vincent Laporte <Vincent.Laporte@gmail.com> Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
parent
c92401fd34
commit
92e2572f9b
57
pkgs/development/ocaml-modules/scfg/default.nix
Normal file
57
pkgs/development/ocaml-modules/scfg/default.nix
Normal file
@ -0,0 +1,57 @@
|
||||
{
|
||||
lib,
|
||||
buildDunePackage,
|
||||
fetchzip,
|
||||
bos,
|
||||
cmdliner,
|
||||
fmt,
|
||||
fpath,
|
||||
menhir,
|
||||
menhirLib,
|
||||
prelude,
|
||||
sedlex,
|
||||
writableTmpDirAsHomeHook,
|
||||
}:
|
||||
|
||||
buildDunePackage rec {
|
||||
pname = "scfg";
|
||||
version = "0.5";
|
||||
|
||||
# upstream git repo is misconfigured and cannot be cloned
|
||||
src = fetchzip {
|
||||
url = "https://git.zapashcanon.fr/zapashcanon/scfg/archive/${version}.tar.gz";
|
||||
hash = "sha256-XyNVmI0W0B1JqR+uuojpHe9L5KKLhyoH8vN8+9i7Xcg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
menhir
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
cmdliner
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bos
|
||||
fmt
|
||||
fpath
|
||||
menhirLib
|
||||
prelude
|
||||
sedlex
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
writableTmpDirAsHomeHook
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Library to work with the scfg configuration file";
|
||||
homepage = "https://ocaml.org/p/scfg/";
|
||||
downloadPage = "https://git.zapashcanon.fr/zapashcanon/scfg";
|
||||
changelog = "https://git.zapashcanon.fr/zapashcanon/scfg/src/tag/${version}/CHANGES.md";
|
||||
license = lib.licenses.isc;
|
||||
maintainers = [ lib.maintainers.ethancedwards8 ];
|
||||
};
|
||||
}
|
||||
@ -1849,6 +1849,8 @@ let
|
||||
|
||||
sawja = callPackage ../development/ocaml-modules/sawja { };
|
||||
|
||||
scfg = callPackage ../development/ocaml-modules/scfg { };
|
||||
|
||||
secp256k1 = callPackage ../development/ocaml-modules/secp256k1 {
|
||||
inherit (pkgs) secp256k1;
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user