nixpkgs-suyu/pkgs/development/libraries/java/lombok/default.nix

24 lines
617 B
Nix
Raw Normal View History

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