2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, unzip }:
|
2017-06-04 15:18:58 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2022-02-17 12:39:29 +00:00
|
|
|
version = "4.3.0";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "randoop";
|
2017-06-04 15:18:58 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://github.com/randoop/randoop/releases/download/v${version}/${pname}-${version}.zip";
|
2022-02-17 12:39:29 +00:00
|
|
|
sha256 = "sha256-3svBmXcRvscaK8YD4qm/geQSJ6cAm0en/d7H09h41PQ=";
|
2017-06-04 15:18:58 +00:00
|
|
|
};
|
|
|
|
|
2021-02-20 21:01:53 +00:00
|
|
|
nativeBuildInputs = [ unzip ];
|
2017-06-04 15:18:58 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/lib $out/doc
|
|
|
|
|
|
|
|
cp -R *.jar $out/lib
|
|
|
|
cp README.txt $out/doc
|
|
|
|
'';
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2017-06-04 15:18:58 +00:00
|
|
|
description = "Automatic test generation for Java";
|
2020-03-04 10:59:53 +00:00
|
|
|
homepage = "https://randoop.github.io/randoop/";
|
2022-06-02 13:38:41 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
2017-06-04 15:18:58 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|