File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
pkgs/by-name/ex/exificient Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ maven ,
3+ fetchFromGitHub ,
4+ lib ,
5+ makeWrapper ,
6+ jre ,
7+ } :
8+
9+ maven . buildMavenPackage rec {
10+ pname = "exificient" ;
11+ version = "1.0.7" ;
12+
13+ src = fetchFromGitHub {
14+ owner = "EXIficient" ;
15+ repo = "exificient" ;
16+ rev = "exificient-${ version } " ;
17+ hash = "sha256-XrlZQf2BamYw8u1S2qQ6jV9mgyCEjBxKqPZCXMJzXmc=" ;
18+ } ;
19+
20+ mvnHash = "sha256-/72Pi8WbKhPXu7Zb9r30znY1FHJc7FM42f7uQJqJnWo=" ;
21+
22+ mvnParameters = "package assembly:single -Dmaven.test.skip=true" ;
23+
24+ nativeBuildInputs = [ makeWrapper ] ;
25+
26+ installPhase = ''
27+ runHook preInstall
28+ ls -al target/classes/com/siemens/
29+ mkdir -p $out/bin $out/share/exificient
30+ install -Dm644 target/exificient-jar-with-dependencies.jar $out/share/exificient
31+
32+ makeWrapper ${ jre } /bin/java $out/bin/exificient \
33+ --add-flags "-classpath $out/share/exificient/exificient-jar-with-dependencies.jar com.siemens.ct.exi.main.cmd.EXIficientCMD"
34+ runHook postInstall
35+ '' ;
36+
37+ meta = {
38+ description = "Java implementation of the W3C Efficient Extensible Interchange (EXI) format specification" ;
39+ homepage = "http://exificient.github.io/" ;
40+ license = lib . licenses . mit ;
41+ maintainers = with lib . maintainers ; [ samw ] ;
42+ mainProgram = "exificient" ;
43+ } ;
44+ }
You can’t perform that action at this time.
0 commit comments