about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAleksana <me@aleksana.moe>2024-05-28 19:43:08 +0800
committerGitHub <noreply@github.com>2024-05-28 11:43:08 +0000
commit3c179aaa723ecc0e1fb208b5f1946beddc5a4f72 (patch)
treeaaaa1b3a02699df70cf59c4820b66c4201cf8a1c
parent5a7b442bbfe5b5137acc292885feaa97a62de60e (diff)
smile: 2.9.0 → 2.9.5 (#314521)
-rw-r--r--pkgs/by-name/sm/smile/package.nix18
1 files changed, 5 insertions, 13 deletions
diff --git a/pkgs/by-name/sm/smile/package.nix b/pkgs/by-name/sm/smile/package.nix
index 1c95965fde22f..3285177141976 100644
--- a/pkgs/by-name/sm/smile/package.nix
+++ b/pkgs/by-name/sm/smile/package.nix
@@ -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 ];
   };
 }