1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/applications/video/screenkey/default.nix
Matthew Bauer 76999cc40e treewide: remove aliases in nixpkgs
This makes the command ‘nix-env -qa -f. --arg config '{skipAliases =
true;}'’ work in Nixpkgs.

Misc...

- qtikz: use libsForQt5.callPackage

  This ensures we get the right poppler.

- rewrites:

  docbook5_xsl -> docbook_xsl_ns
  docbook_xml_xslt -> docbook_xsl

diffpdf: fixup
2018-07-18 23:25:20 -04:00

61 lines
1.1 KiB
Nix

{ lib
, substituteAll
, buildPythonApplication
, fetchFromGitHub
, distutils_extra
, setuptools-git
, intltool
, pygtk
, libX11
, libXtst
, wrapGAppsHook
, defaultIconTheme
, hicolor-icon-theme
}:
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
hicolor-icon-theme
];
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 ];
};
}