410b979fe2
GitOrigin-RevId: a64e169e396460d6b5763a1de1dd197df8421688
31 lines
653 B
Nix
31 lines
653 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchzip
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "jdom";
|
|
version = "2.0.6.1";
|
|
|
|
src = fetchzip {
|
|
url = "http://www.jdom.org/dist/binary/jdom-${version}.zip";
|
|
stripRoot = false;
|
|
hash = "sha256-Y++mlO+7N5EU2NhRzLl5x5WXNqu/2tDO/NpNhfRegcg=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/java
|
|
cp -a . $out/share/java
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Java-based solution for accessing, manipulating, and outputting XML data from Java code";
|
|
homepage = "http://www.jdom.org";
|
|
platforms = platforms.unix;
|
|
license = licenses.bsdOriginal;
|
|
};
|
|
}
|