Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
47 lines
2.4 KiB
Nix
47 lines
2.4 KiB
Nix
{ lib
|
|
, pkgs
|
|
, makeScopeWithSplicing'
|
|
, generateSplicesForMkScope
|
|
, gnat
|
|
}:
|
|
let
|
|
gnat_version = lib.versions.major gnat.version;
|
|
in
|
|
makeScopeWithSplicing' {
|
|
otherSplices = generateSplicesForMkScope ("gnat" + gnat_version + "Packages");
|
|
f = (self: {
|
|
inherit gnat;
|
|
|
|
gpr2 = self.callPackage ../development/ada-modules/gpr2 { };
|
|
|
|
gprbuild-boot = self.callPackage ../development/ada-modules/gprbuild/boot.nix { };
|
|
gprbuild = self.callPackage ../development/ada-modules/gprbuild { };
|
|
|
|
xmlada = self.callPackage ../development/ada-modules/xmlada { };
|
|
|
|
gnatprove = self.callPackage ../development/ada-modules/gnatprove {
|
|
ocamlPackages = pkgs.ocaml-ng.ocamlPackages_4_14;
|
|
};
|
|
|
|
gnatcoll-core = self.callPackage ../development/ada-modules/gnatcoll/core.nix { };
|
|
|
|
# gnatcoll-bindings repository
|
|
gnatcoll-gmp = self.callPackage ../development/ada-modules/gnatcoll/bindings.nix { component = "gmp"; };
|
|
gnatcoll-iconv = self.callPackage ../development/ada-modules/gnatcoll/bindings.nix { component = "iconv"; };
|
|
gnatcoll-lzma = self.callPackage ../development/ada-modules/gnatcoll/bindings.nix { component = "lzma"; };
|
|
gnatcoll-omp = self.callPackage ../development/ada-modules/gnatcoll/bindings.nix { component = "omp"; };
|
|
gnatcoll-python3 = self.callPackage ../development/ada-modules/gnatcoll/bindings.nix { component = "python3"; python3 = pkgs.python39; };
|
|
gnatcoll-readline = self.callPackage ../development/ada-modules/gnatcoll/bindings.nix { component = "readline"; };
|
|
gnatcoll-syslog = self.callPackage ../development/ada-modules/gnatcoll/bindings.nix { component = "syslog"; };
|
|
gnatcoll-zlib = self.callPackage ../development/ada-modules/gnatcoll/bindings.nix { component = "zlib"; };
|
|
|
|
# gnatcoll-db repository
|
|
gnatcoll-postgres = self.callPackage ../development/ada-modules/gnatcoll/db.nix { component = "postgres"; };
|
|
gnatcoll-sql = self.callPackage ../development/ada-modules/gnatcoll/db.nix { component = "sql"; };
|
|
gnatcoll-sqlite = self.callPackage ../development/ada-modules/gnatcoll/db.nix { component = "sqlite"; };
|
|
gnatcoll-xref = self.callPackage ../development/ada-modules/gnatcoll/db.nix { component = "xref"; };
|
|
gnatcoll-db2ada = self.callPackage ../development/ada-modules/gnatcoll/db.nix { component = "gnatcoll_db2ada"; };
|
|
gnatinspect = self.callPackage ../development/ada-modules/gnatcoll/db.nix { component = "gnatinspect"; };
|
|
});
|
|
}
|
|
|