3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/java/lombok/default.nix

24 lines
616 B
Nix
Raw Normal View History

{ stdenv, fetchurl }:
2016-04-07 07:34:41 +01:00
stdenv.mkDerivation rec {
2018-11-04 21:36:45 +00:00
name = "lombok-1.18.4";
2016-04-07 07:34:41 +01:00
src = fetchurl {
url = "https://projectlombok.org/downloads/${name}.jar";
2018-11-04 21:36:45 +00:00
sha256 = "0hlpycnmzd71ihn59hzf445dvwky2lkv57jimx91i6v7xcnr5wrr";
2016-04-07 07:34:41 +01:00
};
buildCommand = ''
mkdir -p $out/share/java
cp $src $out/share/java/lombok.jar
'';
2016-04-07 07:34:41 +01:00
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 ];
};
}