diff options
author | Ulrik Strid <ulrik.strid@outlook.com> | 2023-02-20 09:54:09 +0100 |
---|---|---|
committer | Vincent Laporte <vbgl@users.noreply.github.com> | 2023-02-20 11:03:39 +0100 |
commit | 430385cad56869d1163bd4020dc5a59a4f633aec (patch) | |
tree | 178a83088e6e069fd124a467eac76120466198ec /pkgs/development/ocaml-modules/simple-diff | |
parent | b69883faca9542d135fa6bab7928ff1b233c167f (diff) | |
download | nixpkgs-430385cad56869d1163bd4020dc5a59a4f633aec.tar nixpkgs-430385cad56869d1163bd4020dc5a59a4f633aec.tar.gz nixpkgs-430385cad56869d1163bd4020dc5a59a4f633aec.tar.bz2 nixpkgs-430385cad56869d1163bd4020dc5a59a4f633aec.tar.lz nixpkgs-430385cad56869d1163bd4020dc5a59a4f633aec.tar.xz nixpkgs-430385cad56869d1163bd4020dc5a59a4f633aec.tar.zst nixpkgs-430385cad56869d1163bd4020dc5a59a4f633aec.zip |
ocamlPackages.simple-diff: init at 0.3
Diffstat (limited to 'pkgs/development/ocaml-modules/simple-diff')
-rw-r--r-- | pkgs/development/ocaml-modules/simple-diff/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/simple-diff/default.nix b/pkgs/development/ocaml-modules/simple-diff/default.nix new file mode 100644 index 00000000000..a87026fb4a0 --- /dev/null +++ b/pkgs/development/ocaml-modules/simple-diff/default.nix @@ -0,0 +1,28 @@ +{ stdenv, lib, fetchFromGitHub, ocaml, findlib, topkg, ocamlbuild, re }: + +stdenv.mkDerivation rec { + pname = "ocaml${ocaml.version}-simple-diff"; + version = "0.3"; + + src = fetchFromGitHub { + owner = "gjaldon"; + repo = "simple_diff"; + rev = "v${version}"; + sha256 = "sha256-OaKECUBCCt9KfdRJf3HcXTUJVxKKdYtnzOHpMPOllrk="; + }; + + nativeBuildInputs = [ ocaml findlib ocamlbuild topkg ]; + buildInputs = [ topkg ]; + propagatedBuildInputs = [ re ]; + + strictDeps = true; + + inherit (topkg) buildPhase installPhase; + + meta = with lib; { + homepage = "https://github.com/gjaldon/simple_diff"; + description = "Simple_diff is a pure OCaml diffing algorithm"; + license = licenses.isc; + maintainers = with maintainers; [ ulrikstrid ]; + }; +} |