3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/analysis/pmd/default.nix
Tuomas Tynkkynen 21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00

26 lines
531 B
Nix

{stdenv, fetchurl, unzip}:
stdenv.mkDerivation rec {
name = "pmd-${version}";
version = "5.2.3";
buildInputs = [ unzip ];
src = fetchurl {
url = "mirror://sourceforge/pmd/pmd-bin-${version}.zip";
sha256 = "03frkyiii7304qrcypdqcxqxjf5n3p59zjib0r802mbbx1nzcisn";
};
installPhase = ''
mkdir -p $out
cp -R * $out
'';
meta = {
description = "Scans Java source code and looks for potential problems";
homepage = http://pmd.sourceforge.net/;
platforms = stdenv.lib.platforms.unix;
};
}