screenkey: 1.2 -> 1.4

Thankfully some weird dependencies have been dropped in the new
releases.
This commit is contained in:
Spencer Baugh 2021-04-18 11:24:04 -04:00
parent 5a333c5f09
commit 60c97bacb6

View file

@ -1,9 +1,7 @@
{ lib { lib
, fetchFromGitLab , fetchFromGitLab
# native # native
, intltool
, wrapGAppsHook , wrapGAppsHook
, file
# not native # not native
, xorg , xorg
, gobject-introspection , gobject-introspection
@ -13,22 +11,16 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "screenkey"; pname = "screenkey";
version = "1.2"; version = "1.4";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "screenkey"; owner = "screenkey";
repo = "screenkey"; repo = "screenkey";
rev = "v${version}"; rev = "v${version}";
sha256 = "1x13n57iy2pg3h3r994q3g5nbmh2gwk3qidmmcv0g7qa89n2gwbj"; sha256 = "1rfngmkh01g5192pi04r1fm7vsz6hg9k3qd313sn9rl9xkjgp11l";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
python3.pkgs.distutils_extra
# Shouldn't be needed once https://gitlab.com/screenkey/screenkey/-/issues/122 is fixed.
intltool
# We are not sure why is this needed, but without it we get "file: command
# not found" errors during build.
file
wrapGAppsHook wrapGAppsHook
# for setup hook # for setup hook
gobject-introspection gobject-introspection
@ -39,6 +31,7 @@ python3.pkgs.buildPythonApplication rec {
]; ];
propagatedBuildInputs = with python3.pkgs; [ propagatedBuildInputs = with python3.pkgs; [
Babel
pycairo pycairo
pygobject3 pygobject3
]; ];