Unverified Commit 723e1e95 authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

notes-up, meteo, nasc: drop (#450115)

parents 9125d59b 2fcc5cdc
Loading
Loading
Loading
Loading

pkgs/by-name/me/meteo/package.nix

deleted100644 → 0
+0 −72
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitLab,
  nix-update-script,
  appstream,
  desktop-file-utils,
  meson,
  ninja,
  pkg-config,
  python3,
  vala,
  wrapGAppsHook3,
  glib,
  glib-networking,
  gtk3,
  json-glib,
  libappindicator,
  libsoup_2_4,
  webkitgtk_4_0,
}:

stdenv.mkDerivation rec {
  pname = "meteo";
  version = "0.9.9.3";

  src = fetchFromGitLab {
    owner = "bitseater";
    repo = "meteo";
    rev = version;
    hash = "sha256-hubKusrs0Hh8RryoEI29pnhTSNsIbtGMltlH4qoM6gE=";
  };

  nativeBuildInputs = [
    appstream
    desktop-file-utils
    meson
    ninja
    pkg-config
    python3
    vala
    wrapGAppsHook3
  ];

  buildInputs = [
    glib
    glib-networking # see #311066
    gtk3
    json-glib
    libappindicator
    libsoup_2_4
    webkitgtk_4_0
  ];

  postPatch = ''
    chmod +x meson/post_install.py
    patchShebangs meson/post_install.py
  '';

  passthru = {
    updateScript = nix-update-script { };
  };

  meta = with lib; {
    description = "Know the forecast of the next hours & days";
    homepage = "https://gitlab.com/bitseater/meteo";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ bobby285271 ];
    platforms = platforms.linux;
    mainProgram = "com.gitlab.bitseater.meteo";
  };
}

pkgs/by-name/na/nasc/package.nix

deleted100644 → 0
+0 −90
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  pkg-config,
  python3,
  meson,
  ninja,
  vala,
  gtk3,
  glib,
  pantheon,
  gtksourceview,
  libgee,
  nix-update-script,
  webkitgtk_4_0,
  libqalculate,
  intltool,
  gnuplot,
  wrapGAppsHook3,
}:

stdenv.mkDerivation rec {
  pname = "nasc";
  version = "0.8.0";

  src = fetchFromGitHub {
    owner = "parnold-x";
    repo = "nasc";
    tag = version;
    sha256 = "02b9a59a9fzsb6nn3ycwwbcbv04qfzm6x7csq2addpzx5wak6dd8";
    fetchSubmodules = true;
  };

  nativeBuildInputs = [
    glib # post_install.py
    gtk3 # post_install.py
    intltool # for libqalculate
    meson
    ninja
    pkg-config
    python3
    vala
    wrapGAppsHook3
  ];

  buildInputs = [
    glib
    gtk3
    gtksourceview
    libgee
    pantheon.granite
    webkitgtk_4_0
    # We add libqalculate's runtime dependencies because nasc has it as a modified subproject.
  ]
  ++ libqalculate.buildInputs
  ++ libqalculate.propagatedBuildInputs;

  postPatch = ''
    chmod +x meson/post_install.py
    patchShebangs meson/post_install.py

    # patch subproject. same code in libqalculate expression
    substituteInPlace subprojects/libqalculate/libqalculate/Calculator-plot.cc \
      --replace 'commandline = "gnuplot"' 'commandline = "${gnuplot}/bin/gnuplot"' \
      --replace '"gnuplot - ' '"${gnuplot}/bin/gnuplot - '
    substituteInPlace subprojects/libqalculate/libqalculate/meson.build \
      --replace "link_with: 'libqalculate_lib_static'" "link_with: libqalculate_lib_static"
  '';

  passthru = {
    updateScript = nix-update-script { };
  };

  meta = with lib; {
    description = "Do maths like a normal person, designed for elementary OS";
    longDescription = ''
      It’s an app where you do maths like a normal person. It lets you
      type whatever you want and smartly figures out what is math and
      spits out an answer on the right pane. Then you can plug those
      answers in to future equations and if that answer changes, so does
      the equations it’s used in.
    '';
    homepage = "https://github.com/parnold-x/nasc";
    teams = [ teams.pantheon ];
    platforms = platforms.linux;
    license = licenses.gpl3Plus;
    mainProgram = "com.github.parnold_x.nasc";
  };
}
+0 −74
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  nix-update-script,
  desktop-file-utils,
  meson,
  ninja,
  pkg-config,
  python3,
  vala,
  wrapGAppsHook3,
  discount,
  glib,
  gtk3,
  gtksourceview4,
  gtkspell3,
  libgee,
  pantheon,
  sqlite,
  webkitgtk_4_0,
}:

stdenv.mkDerivation rec {
  pname = "notes-up";
  version = "2.0.6";

  src = fetchFromGitHub {
    owner = "Philip-Scott";
    repo = "Notes-up";
    rev = version;
    sha256 = "sha256-t9BCtdWd2JLrKTcmri1Lgl5RLBYD2xWCtMxoVXz0XPk=";
  };

  nativeBuildInputs = [
    desktop-file-utils
    meson
    ninja
    pkg-config
    python3
    vala
    wrapGAppsHook3
  ];

  buildInputs = [
    discount
    glib
    gtk3
    gtksourceview4
    gtkspell3
    libgee
    pantheon.granite
    sqlite
    webkitgtk_4_0
  ];

  postPatch = ''
    chmod +x meson/post_install.py
    patchShebangs meson/post_install.py
  '';

  passthru = {
    updateScript = nix-update-script { };
  };

  meta = with lib; {
    description = "Markdown notes editor and manager designed for elementary OS";
    homepage = "https://github.com/Philip-Scott/Notes-up";
    license = licenses.gpl2Only;
    teams = [ teams.pantheon ];
    platforms = platforms.linux;
    mainProgram = "com.github.philip_scott.notes-up";
  };
}
+3 −0
Original line number Diff line number Diff line
@@ -1733,6 +1733,7 @@ mapAliases {
  memorymappingHook = throw "memorymapping has been removed, as it was only useful on old macOS versions that are no longer supported"; # Added 2024-10-05
  memstream = throw "memstream has been removed, as it was only useful on old macOS versions that are no longer supported"; # Added 2024-10-05
  memstreamHook = throw "memstream has been removed, as it was only useful on old macOS versions that are no longer supported"; # Added 2024-10-05
  meteo = throw "'meteo' has been removed as it was unmaintained and depends on deprecated webkitgtk_4_0"; # Added 2025-10-09
  mhwaveedit = throw "'mkwaveedit' has been removed due to lack of maintenance upstream. Consider using 'audacity' or 'tenacity' instead"; # Added 2024-09-15
  microcodeAmd = microcode-amd; # Added 2024-09-08
  microcodeIntel = microcode-intel; # Added 2024-09-08
@@ -1806,6 +1807,7 @@ mapAliases {
  n98-magerun = throw "n98-magerun doesn't support new PHP newer than 8.1"; # Added 2025-10-03
  namazu = throw "namazu has been removed, as it was broken"; # Added 2025-08-25
  nanoblogger = throw "nanoblogger has been removed as upstream stopped developement in 2013"; # Added 2025-09-10
  nasc = throw "'nasc' has been removed as it was unmaintained and depends on deprecated webkitgtk_4_0"; # Added 2025-10-09
  ncdu_2 = ncdu; # Added 2022-07-22
  neardal = throw "neardal has been removed because it has been marked as broken since at least November 2024."; # Added 2025-09-29
  neocities-cli = neocities; # Added 2024-07-31
@@ -1833,6 +1835,7 @@ mapAliases {
  };
  nettools = net-tools; # Added 2025-06-11
  newt-go = fosrl-newt; # Added 2025-06-24
  notes-up = throw "'notes-up' has been removed as it was unmaintained and depends on deprecated webkitgtk_4_0"; # Added 2025-10-09
  notify-sharp = throw "'notify-sharp' has been removed as it was unmaintained and depends on deprecated dbus-sharp versions"; # Added 2025-08-25
  nextcloud30 = throw ''
    Nextcloud v30 has been removed from `nixpkgs` as the support for is dropped