792b51d22f
GitOrigin-RevId: d5f237872975e6fb6f76eef1368b5634ffcd266f
28 lines
688 B
Nix
28 lines
688 B
Nix
{ lib, stdenv, fetchurl, unzip }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.3.0";
|
|
pname = "randoop";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/randoop/randoop/releases/download/v${version}/${pname}-${version}.zip";
|
|
sha256 = "sha256-3svBmXcRvscaK8YD4qm/geQSJ6cAm0en/d7H09h41PQ=";
|
|
};
|
|
|
|
nativeBuildInputs = [ unzip ];
|
|
|
|
installPhase = ''
|
|
mkdir -p $out/lib $out/doc
|
|
|
|
cp -R *.jar $out/lib
|
|
cp README.txt $out/doc
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Automatic test generation for Java";
|
|
homepage = "https://randoop.github.io/randoop/";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ pSub ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|