2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, unzip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "4.3.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "randoop";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/randoop/randoop/releases/download/v${version}/${pname}-${version}.zip";
|
2024-05-15 15:35:15 +00:00
|
|
|
sha256 = "sha256-x9kAoVa4wvUp3gpg9GCodvjwql3CBtn5EqJIZYSSqVI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-03-19 17:17:44 +00:00
|
|
|
nativeBuildInputs = [ unzip ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/lib $out/doc
|
|
|
|
|
|
|
|
cp -R *.jar $out/lib
|
|
|
|
cp README.txt $out/doc
|
|
|
|
'';
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Automatic test generation for Java";
|
|
|
|
homepage = "https://randoop.github.io/randoop/";
|
2022-06-16 17:23:12 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ pSub ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|