nixpkgs/pkgs/applications/video/screenkey/default.nix

59 lines
1 KiB
Nix
Raw Normal View History

2018-01-22 21:18:26 +01:00
{ lib
, substituteAll
, buildPythonApplication
, fetchFromGitHub
, distutils_extra
, setuptools-git
, intltool
, pygtk
, libX11
, libXtst
, wrapGAppsHook
2019-02-13 22:47:50 +01:00
, gnome3
2018-01-22 21:18:26 +01: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 = [
2019-02-13 22:47:50 +01:00
gnome3.adwaita-icon-theme
2018-01-22 21:18:26 +01: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 ];
};
}