Unverified Commit 3c179aaa authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

smile: 2.9.0 → 2.9.5 (#314521)

parent 5a7b442b
Loading
Loading
Loading
Loading
+5 −13
Original line number Diff line number Diff line
@@ -13,28 +13,20 @@

python3.pkgs.buildPythonApplication rec {
  pname = "smile";
  version = "2.9.0";
  format = "other";
  version = "2.9.5";
  pyproject = false; # Builds with meson

  src = fetchFromGitHub {
    owner = "mijorus";
    repo = "smile";
    rev = version;
    hash = "sha256-tXbRel+rtaE2zPO8NOc4X+Ktk4PdRHBMtpsGLbvuHZk=";
    hash = "sha256-WwkwJXRnIvBS0cdcmJhErZLe0wwvarUdE7rpx7qcd2E=";
  };

  postPatch = ''
    patchShebangs build-aux/meson/postinstall.py

    substituteInPlace build-aux/meson/postinstall.py \
      --replace-fail gtk-update-icon-cache gtk4-update-icon-cache
  '';

  nativeBuildInputs = [
    desktop-file-utils # for update-desktop-database
    glib # for glib-compile-resources
    gobject-introspection
    gtk4 # for gtk4-update-icon-cache
    meson
    ninja
    wrapGAppsHook4
@@ -44,7 +36,7 @@ python3.pkgs.buildPythonApplication rec {
    libadwaita
  ];

  propagatedBuildInputs = with python3.pkgs; [
  dependencies = with python3.pkgs; [
    dbus-python
    manimpango
    pygobject3
@@ -63,6 +55,6 @@ python3.pkgs.buildPythonApplication rec {
    homepage = "https://mijorus.it/projects/smile/";
    license = lib.licenses.gpl3Plus;
    mainProgram = "smile";
    maintainers = with lib.maintainers; [ koppor ];
    maintainers = with lib.maintainers; [ koppor aleksana ];
  };
}