forked from mirrors/nixpkgs
Merge pull request #132234 from Artturin/fix-kazam
kazam: switch to a maintained fork
This commit is contained in:
commit
f5ad2b8bc0
|
@ -1,24 +1,44 @@
|
||||||
{ lib, fetchurl, substituteAll, python3, gst_all_1, wrapGAppsHook, gobject-introspection
|
{ lib
|
||||||
, gtk3, libwnck, keybinder3, intltool, libcanberra-gtk3, libappindicator-gtk3, libpulseaudio
|
, fetchFromGitHub
|
||||||
, fetchpatch }:
|
, substituteAll
|
||||||
|
, python3Packages
|
||||||
|
, gst_all_1
|
||||||
|
, wrapGAppsHook
|
||||||
|
, gobject-introspection
|
||||||
|
, gtk3
|
||||||
|
, libwnck
|
||||||
|
, keybinder3
|
||||||
|
, intltool
|
||||||
|
, libcanberra-gtk3
|
||||||
|
, libappindicator-gtk3
|
||||||
|
, libpulseaudio
|
||||||
|
, libgudev
|
||||||
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
name = "kazam-${version}";
|
pname = "kazam";
|
||||||
version = "1.4.5";
|
version = "unstable-2021-06-22";
|
||||||
namePrefix = "";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://launchpad.net/kazam/stable/${version}/+download/kazam-${version}.tar.gz";
|
owner = "niknah";
|
||||||
sha256 = "1qygnrvm6aqixbyivhssp70hs0llxwk7lh3j7idxa2jbkk06hj4f";
|
repo = "kazam";
|
||||||
|
rev = "13f6ce124e5234348f56358b9134a87121f3438c";
|
||||||
|
sha256 = "1jk6khwgdv3nmagdgp5ivz3156pl0ljhf7b6i4b52w1h5ywsg9ah";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ gobject-introspection python3.pkgs.distutils_extra intltool wrapGAppsHook ];
|
nativeBuildInputs = [ gobject-introspection python3Packages.distutils_extra intltool wrapGAppsHook ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gtk3 libwnck
|
gst_all_1.gstreamer
|
||||||
keybinder3 libappindicator-gtk3
|
gst_all_1.gst-plugins-base
|
||||||
|
gst_all_1.gst-plugins-good
|
||||||
|
gtk3
|
||||||
|
libwnck
|
||||||
|
keybinder3
|
||||||
|
libappindicator-gtk3
|
||||||
|
libgudev
|
||||||
];
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [ pygobject3 pyxdg pycairo dbus-python ];
|
propagatedBuildInputs = with python3Packages; [ pygobject3 pyxdg pycairo dbus-python xlib ];
|
||||||
|
|
||||||
# workaround https://github.com/NixOS/nixpkgs/issues/56943
|
# workaround https://github.com/NixOS/nixpkgs/issues/56943
|
||||||
strictDeps = false;
|
strictDeps = false;
|
||||||
|
@ -30,11 +50,6 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
libcanberra = libcanberra-gtk3;
|
libcanberra = libcanberra-gtk3;
|
||||||
inherit libpulseaudio;
|
inherit libpulseaudio;
|
||||||
})
|
})
|
||||||
# https://github.com/hzbd/kazam/pull/21
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/hzbd/kazam/commit/37e53a5aa61f4223a9ea03ceeda26eeba2b9d37b.patch";
|
|
||||||
sha256 = "1q5dpmdm6cvgzw8xa7bwclnqa05xc73ja1lszwmwv5glyik0fk4z";
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# no tests
|
# no tests
|
||||||
|
@ -42,7 +57,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A screencasting program created with design in mind";
|
description = "A screencasting program created with design in mind";
|
||||||
homepage = "https://code.launchpad.net/kazam";
|
homepage = "https://github.com/niknah/kazam";
|
||||||
license = licenses.lgpl3;
|
license = licenses.lgpl3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = [ maintainers.domenkozar ];
|
maintainers = [ maintainers.domenkozar ];
|
||||||
|
|
Loading…
Reference in a new issue