depot/third_party/nixpkgs/pkgs/development/libraries/java/jdom/default.nix

23 lines
542 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "jdom";
version = "1.0";
src = fetchurl {
url = "http://www.jdom.org/dist/binary/jdom-${version}.tar.gz";
sha256 = "1igmxzcy0s25zcy9vmcw0kd13lh60r0b4qg8lnp1jic33f427pxf";
};
buildCommand = ''
cp -r ./ $out
'';
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;
};
}