gnu: ocaml-qtest: Update to 2.9.
* gnu/packages/ocaml.scm (ocaml-qtest): Update to 2.9. [source]: Use git-fetch. [build-system]: Use dune-build-system.
This commit is contained in:
		
							parent
							
								
									bcc718be03
								
							
						
					
					
						commit
						e821a6406a
					
				
					 1 changed files with 11 additions and 16 deletions
				
			
		| 
						 | 
					@ -1214,28 +1214,23 @@ instances and printing them.")
 | 
				
			||||||
(define-public ocaml-qtest
 | 
					(define-public ocaml-qtest
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "ocaml-qtest")
 | 
					    (name "ocaml-qtest")
 | 
				
			||||||
    (version "2.8")
 | 
					    (version "2.9")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
              (method url-fetch)
 | 
					              (method git-fetch)
 | 
				
			||||||
              (uri (string-append "https://github.com/vincent-hugot/qtest/"
 | 
					              (uri (git-reference
 | 
				
			||||||
                                  "archive/" version ".tar.gz"))
 | 
					                     (url "https://github.com/vincent-hugot/qtest/")
 | 
				
			||||||
              (file-name (string-append name "-" version ".tar.gz"))
 | 
					                     (commit (string-append "v" version))))
 | 
				
			||||||
 | 
					              (file-name (git-file-name name version))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "1ff4if64mc9c7wmhjdgnlnh6k6a713piqzr4043zzj4s5pw7smxk"))))
 | 
					                "1ifxc8jndwah82g5k8xaa7jskbv866j4zpd0w41f0pskg4y0z9g1"))))
 | 
				
			||||||
    (build-system ocaml-build-system)
 | 
					    (build-system dune-build-system)
 | 
				
			||||||
    (native-inputs
 | 
					    (arguments
 | 
				
			||||||
     `(("ocamlbuild" ,ocamlbuild)))
 | 
					     `(#:jbuild? #t
 | 
				
			||||||
 | 
					       #:test-target "tests"))
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     `(("ounit" ,ocaml-ounit)
 | 
					     `(("ounit" ,ocaml-ounit)
 | 
				
			||||||
       ("qcheck" ,ocaml-qcheck)))
 | 
					       ("qcheck" ,ocaml-qcheck)))
 | 
				
			||||||
    (arguments
 | 
					 | 
				
			||||||
     `(#:tests? #f ; No test target.
 | 
					 | 
				
			||||||
       #:make-flags
 | 
					 | 
				
			||||||
       (list (string-append "BIN=" (assoc-ref %outputs "out") "/bin"))
 | 
					 | 
				
			||||||
       #:phases
 | 
					 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					 | 
				
			||||||
         (delete 'configure))))
 | 
					 | 
				
			||||||
    (home-page "https://github.com/vincent-hugot/qtest")
 | 
					    (home-page "https://github.com/vincent-hugot/qtest")
 | 
				
			||||||
    (synopsis "Inline (Unit) Tests for OCaml")
 | 
					    (synopsis "Inline (Unit) Tests for OCaml")
 | 
				
			||||||
    (description "Qtest extracts inline unit tests written using a special
 | 
					    (description "Qtest extracts inline unit tests written using a special
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue