2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, unzip }:
|
2017-06-04 15:18:58 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-17 17:03:46 +00:00
|
|
|
version = "4.2.6";
|
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";
|
2021-08-17 17:03:46 +00:00
|
|
|
sha256 = "sha256-69cKAyMwORG4A91OARmY4uQKgBZIx9N/zc7TZ086CK0=";
|
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/";
|
2017-06-04 15:18:58 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|