nixpkgs-suyu/pkgs/development/tools/analysis/randoop/default.nix

29 lines
685 B
Nix
Raw Normal View History

2017-06-04 17:18:58 +02:00
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
2020-04-01 20:23:47 +02:00
version = "4.2.3";
pname = "randoop";
2017-06-04 17:18:58 +02:00
src = fetchurl {
url = "https://github.com/randoop/randoop/releases/download/v${version}/${pname}-${version}.zip";
2020-04-01 20:23:47 +02:00
sha256 = "0apmwbh761b02z8i4s3d270ms0c1fw98d10rpczngrs2jz37s2m9";
2017-06-04 17:18:58 +02:00
};
buildInputs = [ unzip ];
installPhase = ''
mkdir -p $out/lib $out/doc
cp -R *.jar $out/lib
cp README.txt $out/doc
'';
meta = with stdenv.lib; {
description = "Automatic test generation for Java";
2020-03-04 11:59:53 +01:00
homepage = "https://randoop.github.io/randoop/";
2017-06-04 17:18:58 +02:00
license = licenses.mit;
maintainers = with maintainers; [ pSub ];
platforms = platforms.linux;
};
}