2021-03-25 11:39:49 +00:00
|
|
|
{ lib, python2Packages, fetchFromGitHub
|
2017-10-08 12:18:45 +01:00
|
|
|
}:
|
|
|
|
|
2021-03-25 11:39:49 +00:00
|
|
|
with python2Packages; buildPythonApplication {
|
2019-08-29 10:20:01 +01:00
|
|
|
name = "escrotum-2019-06-10";
|
2017-10-08 12:18:45 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Roger";
|
|
|
|
repo = "escrotum";
|
2019-08-29 10:20:01 +01:00
|
|
|
rev = "f6c300315cb4402e37f16b56aad2d206e24c5281";
|
|
|
|
sha256 = "0x7za74lkwn3v6j9j04ifgdwdlx9akh1izkw7vkkzj9ag9qjrzb0";
|
2017-10-08 12:18:45 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pygtk numpy ];
|
|
|
|
|
2019-08-29 10:20:01 +01:00
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $man/share/man/man1
|
|
|
|
cp man/escrotum.1 $man/share/man/man1/
|
|
|
|
'';
|
|
|
|
|
2017-10-08 12:18:45 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/Roger/escrotum";
|
2017-10-08 12:18:45 +01:00
|
|
|
description = "Linux screen capture using pygtk, inspired by scrot";
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ rasendubi ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
}
|