567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
36 lines
729 B
Nix
36 lines
729 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
gnat,
|
|
# use gprbuild-boot since gprbuild proper depends
|
|
# on this xmlada derivation.
|
|
gprbuild-boot,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "xmlada";
|
|
version = "25.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
name = "xmlada-${version}-src";
|
|
owner = "AdaCore";
|
|
repo = "xmlada";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-UMJiXSHMS8+X5gyV1nmC29gF71BFnz7LNPQnwUMD3Yg=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
gnat
|
|
gprbuild-boot
|
|
];
|
|
|
|
meta = {
|
|
description = "XML/Ada: An XML parser for Ada";
|
|
homepage = "https://github.com/AdaCore/xmlada";
|
|
maintainers = [ lib.maintainers.sternenseemann ];
|
|
license = lib.licenses.gpl3Plus;
|
|
platforms = lib.platforms.all;
|
|
};
|
|
}
|