diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/analysis/randoop/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/tools/analysis/randoop/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/analysis/randoop/default.nix b/nixpkgs/pkgs/development/tools/analysis/randoop/default.nix new file mode 100644 index 000000000000..e8e3168e937c --- /dev/null +++ b/nixpkgs/pkgs/development/tools/analysis/randoop/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl, unzip }: + +stdenv.mkDerivation rec { + version = "3.1.5"; + pname = "randoop"; + + src = fetchurl { + url = "https://github.com/randoop/randoop/releases/download/v${version}/${pname}-${version}.zip"; + sha256 = "13zspyi9fgnqc90qfqqnj0hb7869l0aixv0vwgj8m4m1hggpadlx"; + }; + + 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"; + homepage = https://randoop.github.io/randoop/; + license = licenses.mit; + maintainers = with maintainers; [ pSub ]; + platforms = platforms.linux; + }; +} |