summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexey Shmalko <rasen.dubi@gmail.com>2021-12-06 09:26:23 +0200
committerAlexey Shmalko <rasen.dubi@gmail.com>2021-12-06 09:26:23 +0200
commit9e8df69a9f0ab8c4b97d7e0132e45cd650cd8993 (patch)
tree41f2fe1b66ee4cb47f43562e61b0092f4eca2d0d
parent4789953e5c1ef6d10e3ff437e5b7ab8eed526942 (diff)
downloadnixpkgs-9e8df69a9f0ab8c4b97d7e0132e45cd650cd8993.tar
nixpkgs-9e8df69a9f0ab8c4b97d7e0132e45cd650cd8993.tar.gz
nixpkgs-9e8df69a9f0ab8c4b97d7e0132e45cd650cd8993.tar.bz2
nixpkgs-9e8df69a9f0ab8c4b97d7e0132e45cd650cd8993.tar.lz
nixpkgs-9e8df69a9f0ab8c4b97d7e0132e45cd650cd8993.tar.xz
nixpkgs-9e8df69a9f0ab8c4b97d7e0132e45cd650cd8993.tar.zst
nixpkgs-9e8df69a9f0ab8c4b97d7e0132e45cd650cd8993.zip
escrotum: 2019-06-10 -> 2020-12-07
-rw-r--r--pkgs/tools/graphics/escrotum/default.nix29
1 files changed, 23 insertions, 6 deletions
diff --git a/pkgs/tools/graphics/escrotum/default.nix b/pkgs/tools/graphics/escrotum/default.nix
index 6a0a2b2683d..08136f57ef8 100644
--- a/pkgs/tools/graphics/escrotum/default.nix
+++ b/pkgs/tools/graphics/escrotum/default.nix
@@ -1,18 +1,35 @@
-{ lib, python2Packages, fetchFromGitHub
+{ lib, python3Packages, fetchFromGitHub
+, gtk3
+, pango
+, gobject-introspection
+, wrapGAppsHook
 }:
 
-with python2Packages; buildPythonApplication {
+with python3Packages; buildPythonApplication {
   pname = "escrotum";
-  version = "unstable-2019-06-10";
+  version = "unstable-2020-12-07";
 
   src = fetchFromGitHub {
     owner  = "Roger";
     repo   = "escrotum";
-    rev    = "f6c300315cb4402e37f16b56aad2d206e24c5281";
-    sha256 = "0x7za74lkwn3v6j9j04ifgdwdlx9akh1izkw7vkkzj9ag9qjrzb0";
+    rev    = "a41d0f11bb6af4f08e724b8ccddf8513d905c0d1";
+    sha256 = "sha256-z0AyTbOEE60j/883X17mxgoaVlryNtn0dfEB0C18G2s=";
   };
 
-  propagatedBuildInputs = [ pygtk numpy ];
+  buildInputs = [
+    gtk3
+    pango
+  ];
+
+  nativeBuildInputs = [
+    gobject-introspection
+    wrapGAppsHook
+  ];
+
+  propagatedBuildInputs = [ pygobject3 xcffib pycairo numpy ];
+
+  # Cannot find pango without strictDeps = false
+  strictDeps = false;
 
   outputs = [ "out" "man" ];