mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
ili2c: init at 5.0.0
This commit is contained in:
parent
3bc04b576a
commit
c8c751aca2
38
pkgs/tools/misc/ili2c/default.nix
Normal file
38
pkgs/tools/misc/ili2c/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ stdenv, fetchFromGitHub, jdk, ant, makeWrapper, jre }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ili2c";
|
||||
version = "5.0.0";
|
||||
|
||||
nativeBuildInputs = [ ant jdk makeWrapper ];
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "claeis";
|
||||
repo = pname;
|
||||
rev = "${pname}-${version}";
|
||||
sha256 = "0xps2343d5gdr2aj8j3l4cjq4k9zbxxlhnp8sjlhxh1wdczxlwx6";
|
||||
};
|
||||
|
||||
buildPhase = "ant jar";
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p $out/share/${pname}
|
||||
cp $build/build/source/build/jar/ili2c.jar $out/share/${pname}
|
||||
|
||||
mkdir -p $out/bin
|
||||
makeWrapper ${jre}/bin/java $out/bin/ili2c \
|
||||
--add-flags "-jar $out/share/${pname}/ili2c.jar"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "The INTERLIS Compiler";
|
||||
longDescription = ''
|
||||
Checks the syntactical correctness of an INTERLIS data model.
|
||||
'';
|
||||
homepage = "https://www.interlis.ch/downloads/ili2c";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = [ maintainers.das-g ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -816,6 +816,8 @@ in
|
||||
|
||||
httperf = callPackage ../tools/networking/httperf { };
|
||||
|
||||
ili2c = callPackage ../tools/misc/ili2c { };
|
||||
|
||||
imgpatchtools = callPackage ../development/mobile/imgpatchtools { };
|
||||
|
||||
ipgrep = callPackage ../tools/networking/ipgrep { };
|
||||
|
Loading…
Reference in New Issue
Block a user