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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
749 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, unzip }:
2017-06-04 16:18:58 +01:00
stdenv.mkDerivation rec {
2023-01-09 20:47:32 +00:00
version = "4.3.2";
pname = "randoop";
2017-06-04 16:18:58 +01:00
src = fetchurl {
url = "https://github.com/randoop/randoop/releases/download/v${version}/${pname}-${version}.zip";
2023-01-09 20:47:32 +00:00
sha256 = "sha256-lcYI0Yns/R5VeOUG68Xe8h1BO8wlKvL1CZIqzWkgsqo=";
2017-06-04 16:18:58 +01:00
};
nativeBuildInputs = [ unzip ];
2017-06-04 16:18:58 +01:00
installPhase = ''
mkdir -p $out/lib $out/doc
cp -R *.jar $out/lib
cp README.txt $out/doc
'';
meta = with lib; {
2017-06-04 16:18:58 +01:00
description = "Automatic test generation for Java";
2020-03-04 10:59:53 +00:00
homepage = "https://randoop.github.io/randoop/";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
2017-06-04 16:18:58 +01:00
license = licenses.mit;
maintainers = with maintainers; [ pSub ];
platforms = platforms.linux;
};
}