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

29 lines
688 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, unzip }:
2017-06-04 15:18:58 +00:00
stdenv.mkDerivation rec {
2021-08-17 17:03:46 +00:00
version = "4.2.6";
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";
2021-08-17 17:03:46 +00:00
sha256 = "sha256-69cKAyMwORG4A91OARmY4uQKgBZIx9N/zc7TZ086CK0=";
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/";
2017-06-04 15:18:58 +00:00
license = licenses.mit;
maintainers = with maintainers; [ pSub ];
platforms = platforms.linux;
};
}