ocamlPackages.farith: init at 0.1
Homepage: https://git.frama-c.com/pub/farith Signed-off-by: Ethan Carter Edwards <ethan@ethancedwards.com>
This commit is contained in:
38
pkgs/development/ocaml-modules/farith/default.nix
Normal file
38
pkgs/development/ocaml-modules/farith/default.nix
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildDunePackage,
|
||||||
|
fetchFromGitLab,
|
||||||
|
ppx_deriving,
|
||||||
|
ppx_hash,
|
||||||
|
zarith,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildDunePackage rec {
|
||||||
|
pname = "farith";
|
||||||
|
version = "0.1";
|
||||||
|
|
||||||
|
minimalOCamlVersion = "4.10";
|
||||||
|
|
||||||
|
src = fetchFromGitLab {
|
||||||
|
domain = "git.frama-c.com";
|
||||||
|
owner = "pub";
|
||||||
|
repo = "farith";
|
||||||
|
tag = version;
|
||||||
|
hash = "sha256-9TGKeL3DXKEf2RLpkjOTC8aDQeLKSM9QUIiSkFCQW+8=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
ppx_deriving
|
||||||
|
ppx_hash
|
||||||
|
zarith
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Modelisation of base 2 floating points with arbitrary exponent and mantisse size.";
|
||||||
|
homepage = "https://git.frama-c.com/pub/farith";
|
||||||
|
license = lib.licenses.lgpl2Only;
|
||||||
|
maintainers = with lib.maintainers; [ ethancedwards8 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -610,6 +610,8 @@ let
|
|||||||
|
|
||||||
farfadet = callPackage ../development/ocaml-modules/farfadet { };
|
farfadet = callPackage ../development/ocaml-modules/farfadet { };
|
||||||
|
|
||||||
|
farith = callPackage ../development/ocaml-modules/farith { };
|
||||||
|
|
||||||
fdkaac = callPackage ../development/ocaml-modules/fdkaac { };
|
fdkaac = callPackage ../development/ocaml-modules/fdkaac { };
|
||||||
|
|
||||||
ff = callPackage ../development/ocaml-modules/ff { };
|
ff = callPackage ../development/ocaml-modules/ff { };
|
||||||
|
|||||||
Reference in New Issue
Block a user