6 , stripJavaArchivesHook
14 pname = "projectlibre";
18 url = "https://git.code.sf.net/p/projectlibre/code";
19 rev = "0c939507cc63e9eaeb855437189cdec79e9386c2"; # version 1.7.0 was not tagged
20 hash = "sha256-eLUbsQkYuVQxt4px62hzfdUNg2zCL/VOSVEVctfbxW8=";
32 ant -f openproj_build/build.xml
39 mkdir -p $out/share/{projectlibre/samples,doc/projectlibre}
42 cp -R dist/* $out/share/projectlibre
43 cp -R license $out/share/doc/projectlibre
44 cp -R resources/samples/* $out/share/projectlibre/samples
45 install -Dm644 resources/projectlibre.desktop -t $out/share/applications
46 install -Dm644 resources/projectlibre.png -t $out/share/pixmaps
47 install -Dm755 resources/projectlibre -t $out/bin
50 substituteInPlace $out/bin/projectlibre \
51 --replace-fail "/usr/share/projectlibre" "$out/share/projectlibre"
53 wrapProgram $out/bin/projectlibre \
54 --prefix PATH : ${lib.makeBinPath [ jre coreutils which ]}
60 description = "Project-Management Software similar to MS-Project";
61 homepage = "https://www.projectlibre.com/";
62 license = lib.licenses.cpal10;
63 mainProgram = "projectlibre";
64 maintainers = with lib.maintainers; [ Mogria tomasajt ];
65 platforms = jre.meta.platforms;