{ stdenv , lib , fetchFromGitHub , gnat # use gprbuild-boot since gprbuild proper depends # on this xmlada derivation. , gprbuild-boot }: stdenv.mkDerivation rec { pname = "xmlada"; version = "21.0.0"; src = fetchFromGitHub { name = "xmlada-${version}-src"; owner = "AdaCore"; repo = "xmlada"; rev = "v${version}"; sha256 = "00vljkvck951nj853v9sda5qbfm1mp8y2k61ja2595rmp8qcrazw"; }; 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; }; }