2018-01-09 20:34:09 +00:00
|
|
|
{ stdenv, fetchurl }:
|
2016-04-07 07:34:41 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-01-09 10:37:56 +00:00
|
|
|
name = "lombok-1.18.10";
|
2018-01-09 20:34:09 +00:00
|
|
|
|
2016-04-07 07:34:41 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://projectlombok.org/downloads/${name}.jar";
|
2020-01-09 10:37:56 +00:00
|
|
|
sha256 = "1ymjwxg01dq8qq89hx23yvk5h46hwfb8ihbqbvabmz1vh9afjdi8";
|
2016-04-07 07:34:41 +01:00
|
|
|
};
|
2018-01-09 20:34:09 +00: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;
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://projectlombok.org/";
|
2016-04-07 07:34:41 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.CrystalGamma ];
|
|
|
|
};
|
|
|
|
}
|