mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-18 19:54:05 +00:00
23 lines
457 B
Nix
23 lines
457 B
Nix
|
{stdenv, fetchurl, unzip}:
|
||
|
|
||
|
stdenv.mkDerivation {
|
||
|
name = "pmd-4.2.5";
|
||
|
buildInputs = [unzip] ;
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = mirror://sourceforge/pmd/pmd-bin-4.2.5.zip ;
|
||
|
sha256 = "07cb18mv7rplksy3iw3rxyjaav4m7kcjqfhzv20ki73hfkqxa85c";
|
||
|
};
|
||
|
|
||
|
installPhase = ''
|
||
|
ensureDir $out
|
||
|
cp -R * $out
|
||
|
'';
|
||
|
|
||
|
meta = {
|
||
|
description = "PMD scans Java source code and looks for potential problems." ;
|
||
|
homepage = http://pmd.sourceforge.net/;
|
||
|
};
|
||
|
}
|
||
|
|