1 { lib, stdenv, fetchurl, jre, graphviz, makeWrapper }:
3 stdenv.mkDerivation (finalAttrs: {
8 url = "https://github.com/mrlem/genesys/releases/download/v${finalAttrs.version}/${finalAttrs.pname}-${finalAttrs.version}.tar.gz";
9 hash = "sha256-I1lEVvwRiGf1f4zUtqKhSb+it/nC8WAmw5S6edquOj8=";
12 nativeBuildInputs = [ makeWrapper ];
14 # The package is distributed as a prebuilt JAVA binary
23 wrapProgram $out/bin/${finalAttrs.pname} \
24 --set JAVA_HOME "${jre.home}" \
25 --prefix PATH : "${graphviz}/bin"
31 description = "A simple family tree generator that scales";
32 homepage = "https://github.com/mrlem/genesys";
33 license = lib.licenses.gpl3;
34 maintainers = with lib.maintainers; [ rogarb ];
35 platforms = lib.platforms.all;