nixpkgs/pkgs/development/libraries/java/lombok/default.nix
2018-06-05 17:33:48 +02:00

24 lines
617 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "lombok-1.16.22";
src = fetchurl {
url = "https://projectlombok.org/downloads/${name}.jar";
sha256 = "1hr2jjlqdnxrw7ablqkf7ljc6n2q6a04ww14di06zs6i3l82zzpa";
};
buildCommand = ''
mkdir -p $out/share/java
cp $src $out/share/java/lombok.jar
'';
meta = {
description = "A library that can write a lot of boilerplate for your Java project";
platforms = stdenv.lib.platforms.all;
license = stdenv.lib.licenses.mit;
homepage = https://projectlombok.org/;
maintainers = [ stdenv.lib.maintainers.CrystalGamma ];
};
}