nixpkgs/pkgs/applications/graphics/batik/default.nix

24 lines
531 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl}:
2020-11-14 20:35:40 +00:00
stdenv.mkDerivation rec {
pname = "batik";
2021-01-29 08:21:01 +00:00
version = "1.14";
2020-11-14 20:35:40 +00:00
src = fetchurl {
2020-11-14 20:35:40 +00:00
url = "mirror://apache/xmlgraphics/batik/binaries/batik-bin-${version}.tar.gz";
2021-01-29 08:21:01 +00:00
sha256 = "sha256-D06qgb5wdS5AahnznDnAGISPCZY/CPqJdGQFRwUsRhg=";
};
meta = with lib; {
2018-08-22 22:40:22 +01:00
description = "Java based toolkit for handling SVG";
homepage = "https://xmlgraphics.apache.org/batik";
2018-08-22 22:40:22 +01:00
license = licenses.asl20;
platforms = platforms.unix;
};
installPhase = ''
mkdir $out
cp -r * $out/
'';
}