Unverified Commit 88d3861a authored by Gergő Gutyina's avatar Gergő Gutyina Committed by GitHub
Browse files

various: move to `pkgs/by-name` (#480855)

parents 8968d5b0 5762bc65
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
  wrapGAppsHook3,
  cairo,
  glib,
  goocanvas3,
  goocanvas_3,
  gtk3,
  gtksourceview3,
  json-glib,
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {
  buildInputs = [
    cairo
    glib
    goocanvas3
    goocanvas_3
    pantheon.granite
    gtk3
    gtksourceview3
+24 −2
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
  lib,
  stdenv,
  fetchurl,
  pkgs,
  buildPackages,
  fixDarwinDylibNames,
}:
@@ -52,5 +51,28 @@ stdenv.mkDerivation rec {
      --subst-var-by isTargetDarwin '${toString stdenv.targetPlatform.isDarwin}'
  '';

  inherit (pkgs.build2) passthru;
  passthru = {
    configSharedStatic =
      enableShared: enableStatic:
      if enableShared && enableStatic then
        "both"
      else if enableShared then
        "shared"
      else if enableStatic then
        "static"
      else
        throw "neither shared nor static libraries requested";
  };

  meta = {
    homepage = "https://www.build2.org/";
    description = "Bootstrap for the 'build2' package, you most likely want to use that one";
    license = lib.licenses.mit;
    changelog = "https://git.build2.org/cgit/build2/tree/NEWS";
    platforms = lib.platforms.all;
    maintainers = with lib.maintainers; [
      hiro98
      r-burns
    ];
  };
}
Loading