2018-01-22 20:18:26 +00:00
|
|
|
{ lib
|
|
|
|
, substituteAll
|
|
|
|
, buildPythonApplication
|
|
|
|
, fetchFromGitHub
|
|
|
|
, distutils_extra
|
|
|
|
, setuptools-git
|
|
|
|
, intltool
|
|
|
|
, pygtk
|
|
|
|
, libX11
|
|
|
|
, libXtst
|
|
|
|
, wrapGAppsHook
|
|
|
|
, defaultIconTheme
|
2018-07-17 21:11:16 +01:00
|
|
|
, hicolor-icon-theme
|
2018-01-22 20:18:26 +00:00
|
|
|
}:
|
|
|
|
buildPythonApplication rec {
|
|
|
|
pname = "screenkey";
|
|
|
|
version = "0.9";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "wavexx";
|
|
|
|
repo = "screenkey";
|
|
|
|
rev = "screenkey-${version}";
|
|
|
|
sha256 = "14g7fiv9n7m03djwz1pp5034pffi87ssvss9bc1q8vq0ksn23vrw";
|
|
|
|
};
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./paths.patch;
|
|
|
|
inherit libX11 libXtst;
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
distutils_extra
|
|
|
|
setuptools-git
|
|
|
|
intltool
|
|
|
|
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
defaultIconTheme
|
2018-07-17 21:11:16 +01:00
|
|
|
hicolor-icon-theme
|
2018-01-22 20:18:26 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pygtk
|
|
|
|
];
|
|
|
|
|
|
|
|
# screenkey does not have any tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = https://www.thregr.org/~wavexx/software/screenkey/;
|
|
|
|
description = "A screencast tool to display your keys inspired by Screenflick";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.rasendubi ];
|
|
|
|
};
|
|
|
|
}
|