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 15:18:58 +00:00
stdenv.mkDerivation rec {
2022-02-17 12:39:29 +00:00
version = "4.3.0";
pname = "randoop";
2017-06-04 15:18:58 +00:00
src = fetchurl {
url = "https://github.com/randoop/randoop/releases/download/v${version}/${pname}-${version}.zip";
2022-02-17 12:39:29 +00:00
sha256 = "sha256-3svBmXcRvscaK8YD4qm/geQSJ6cAm0en/d7H09h41PQ=";
2017-06-04 15:18:58 +00:00
};
nativeBuildInputs = [ unzip ];
2017-06-04 15:18:58 +00:00
installPhase = ''
mkdir -p $out/lib $out/doc
cp -R *.jar $out/lib
cp README.txt $out/doc
'';
meta = with lib; {
2017-06-04 15:18:58 +00: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 15:18:58 +00:00
license = licenses.mit;
maintainers = with maintainers; [ pSub ];
platforms = platforms.linux;
};
}