1 { lib, python3Packages, fetchFromGitHub
5 , gobject-introspection
9 with python3Packages; buildPythonApplication {
11 version = "unstable-2020-12-07";
13 src = fetchFromGitHub {
16 rev = "a41d0f11bb6af4f08e724b8ccddf8513d905c0d1";
17 sha256 = "sha256-z0AyTbOEE60j/883X17mxgoaVlryNtn0dfEB0C18G2s=";
30 propagatedBuildInputs = [ pygobject3 xcffib pycairo numpy ];
32 # Cannot find pango without strictDeps = false
35 outputs = [ "out" "man" ];
37 makeWrapperArgs = ["--prefix PATH : ${lib.makeBinPath [ ffmpeg-full ]}"];
40 mkdir -p $man/share/man/man1
41 cp man/escrotum.1 $man/share/man/man1/
45 homepage = "https://github.com/Roger/escrotum";
46 description = "Linux screen capture using pygtk, inspired by scrot";
47 platforms = platforms.linux;
48 maintainers = with maintainers; [ rasendubi ];
49 license = licenses.gpl3;
50 mainProgram = "escrotum";