diff options
| author | Brett Gilio <brettg@gnu.org> | 2020-08-30 18:36:08 -0500 |
|---|---|---|
| committer | Brett Gilio <brettg@gnu.org> | 2020-08-30 18:36:08 -0500 |
| commit | 5180552e98ed22c5ae858002d312e4a3f26e0f00 (patch) | |
| tree | 9822b068e011fa5e88f7974a81d468fd1fe0383c | |
| parent | f2feb9b9dfb343e563cebc2f120d7fea667865a5 (diff) | |
gnu: ocaml-ounit: Update to 2.2.3 and rename.
* gnu/packages/ocaml.scm (ocaml-ounit): Update to 2.2.3 and rename.
[definition]: Rename to ocaml-ounit2.
[source]: Replace url-fetch with git-fetch.
[native-inputs]: Remove comment.
[build-system]: Change to dune-build-system.
[arguments]: Remove deletion of check phase, and specify package field.
[description]: Respace to align with column-width.
| -rw-r--r-- | gnu/packages/ocaml.scm | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index a64c68deb1c..4ed83d7024f 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm | |||
| @@ -974,29 +974,30 @@ compilers that can directly deal with packages.") | |||
| 974 | `(("m4" ,m4) | 974 | `(("m4" ,m4) |
| 975 | ("ocaml" ,ocaml-4.07))))) | 975 | ("ocaml" ,ocaml-4.07))))) |
| 976 | 976 | ||
| 977 | ;; note that some tests may hang for no obvious reason. | 977 | (define-public ocaml-ounit2 |
| 978 | (define-public ocaml-ounit | ||
| 979 | (package | 978 | (package |
| 980 | (name "ocaml-ounit") | 979 | (name "ocaml-ounit2") |
| 981 | (version "2.0.8") | 980 | (version "2.2.3") |
| 982 | (source (origin | 981 | (source |
| 983 | (method url-fetch) | 982 | (origin |
| 984 | (uri (ocaml-forge-uri "ounit" version 1749)) | 983 | (method git-fetch) |
| 985 | (sha256 | 984 | (uri (git-reference |
| 986 | (base32 | 985 | (url "https://github.com/gildor478/ounit") |
| 987 | "03ifp9hjcxg4m5j190iy373jcn4039d3vy10kmd8p4lfciwzwc1f")))) | 986 | (commit (string-append "v" version)))) |
| 988 | (build-system ocaml-build-system) | 987 | (file-name (git-file-name name version)) |
| 988 | (sha256 | ||
| 989 | (base32 | ||
| 990 | "12bsyk5g64rsa94khyl32pjj3fvc58av4vxqrjb3jy14cqyh95y1")))) | ||
| 991 | (build-system dune-build-system) | ||
| 989 | (native-inputs | 992 | (native-inputs |
| 990 | `(("libxml2" ,libxml2) ; for xmllint | 993 | `(("libxml2" ,libxml2) |
| 991 | ("ocamlbuild" ,ocamlbuild))) | 994 | ("ocamlbuild" ,ocamlbuild))) |
| 992 | (arguments | 995 | (arguments |
| 993 | `(#:phases | 996 | `(#:package "ounit")) |
| 994 | (modify-phases %standard-phases | 997 | (home-page "https://github.com/gildor478/ounit") |
| 995 | (delete 'check)))) ; tests are run during build | ||
| 996 | (home-page "http://ounit.forge.ocamlcore.org") | ||
| 997 | (synopsis "Unit testing framework for OCaml") | 998 | (synopsis "Unit testing framework for OCaml") |
| 998 | (description "Unit testing framework for OCaml. It is similar to JUnit and | 999 | (description "Unit testing framework for OCaml. |
| 999 | other XUnit testing frameworks.") | 1000 | It is similar to JUnit and other XUnit testing frameworks.") |
| 1000 | (license license:expat))) | 1001 | (license license:expat))) |
| 1001 | 1002 | ||
| 1002 | (define-public camlzip | 1003 | (define-public camlzip |
