Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 48 lines 1.1 kB view raw
1{ lib, python3Packages, fetchFromGitHub 2, gtk3 3, pango 4, gobject-introspection 5, wrapGAppsHook 6}: 7 8with python3Packages; buildPythonApplication { 9 pname = "escrotum"; 10 version = "unstable-2020-12-07"; 11 12 src = fetchFromGitHub { 13 owner = "Roger"; 14 repo = "escrotum"; 15 rev = "a41d0f11bb6af4f08e724b8ccddf8513d905c0d1"; 16 sha256 = "sha256-z0AyTbOEE60j/883X17mxgoaVlryNtn0dfEB0C18G2s="; 17 }; 18 19 buildInputs = [ 20 gtk3 21 pango 22 ]; 23 24 nativeBuildInputs = [ 25 gobject-introspection 26 wrapGAppsHook 27 ]; 28 29 propagatedBuildInputs = [ pygobject3 xcffib pycairo numpy ]; 30 31 # Cannot find pango without strictDeps = false 32 strictDeps = false; 33 34 outputs = [ "out" "man" ]; 35 36 postInstall = '' 37 mkdir -p $man/share/man/man1 38 cp man/escrotum.1 $man/share/man/man1/ 39 ''; 40 41 meta = with lib; { 42 homepage = "https://github.com/Roger/escrotum"; 43 description = "Linux screen capture using pygtk, inspired by scrot"; 44 platforms = platforms.linux; 45 maintainers = with maintainers; [ rasendubi ]; 46 license = licenses.gpl3; 47 }; 48}