2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, unzip }:
|
2017-06-04 16:18:58 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-12-04 21:34:06 +00:00
|
|
|
version = "4.2.5";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "randoop";
|
2017-06-04 16:18:58 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://github.com/randoop/randoop/releases/download/v${version}/${pname}-${version}.zip";
|
2020-12-04 21:34:06 +00:00
|
|
|
sha256 = "0v3vla3k6csfb8w0j9njrhcjj4n7yh172n9wv6z397f1sa0fs202";
|
2017-06-04 16:18:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ unzip ];
|
|
|
|
|
|
|
|
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 16:18:58 +01:00
|
|
|
description = "Automatic test generation for Java";
|
2020-03-04 10:59:53 +00:00
|
|
|
homepage = "https://randoop.github.io/randoop/";
|
2017-06-04 16:18:58 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|