5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
29 lines
749 B
Nix
29 lines
749 B
Nix
{ lib, stdenv, fetchurl, unzip }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.3.3";
|
|
pname = "randoop";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/randoop/randoop/releases/download/v${version}/${pname}-${version}.zip";
|
|
sha256 = "sha256-x9kAoVa4wvUp3gpg9GCodvjwql3CBtn5EqJIZYSSqVI=";
|
|
};
|
|
|
|
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/";
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ pSub ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|