2021-08-05 21:33:18 +00:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, gnat
|
|
|
|
# use gprbuild-boot since gprbuild proper depends
|
|
|
|
# on this xmlada derivation.
|
|
|
|
, gprbuild-boot
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "xmlada";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "23.0.0";
|
2021-08-05 21:33:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
name = "xmlada-${version}-src";
|
|
|
|
owner = "AdaCore";
|
|
|
|
repo = "xmlada";
|
|
|
|
rev = "v${version}";
|
2022-11-21 17:40:18 +00:00
|
|
|
sha256 = "sha256-covcSwlQQjRKTv0DdMEgahXXlch0TeKnvSyOsGO9+e0=";
|
2021-08-05 21:33:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
gnat
|
|
|
|
gprbuild-boot
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "XML/Ada: An XML parser for Ada";
|
|
|
|
homepage = "https://github.com/AdaCore/xmlada";
|
|
|
|
maintainers = [ maintainers.sternenseemann ];
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|