Merge pull request #132234 from Artturin/fix-kazam

kazam: switch to a maintained fork

authored by

Ben Siraphob and committed by
GitHub
f5ad2b8b 8921779f

+35 -20
+35 -20
pkgs/applications/video/kazam/default.nix
··· 1 - { lib, fetchurl, substituteAll, python3, gst_all_1, wrapGAppsHook, gobject-introspection 2 - , gtk3, libwnck, keybinder3, intltool, libcanberra-gtk3, libappindicator-gtk3, libpulseaudio 3 - , fetchpatch }: 4 5 - python3.pkgs.buildPythonApplication rec { 6 - name = "kazam-${version}"; 7 - version = "1.4.5"; 8 - namePrefix = ""; 9 10 - src = fetchurl { 11 - url = "https://launchpad.net/kazam/stable/${version}/+download/kazam-${version}.tar.gz"; 12 - sha256 = "1qygnrvm6aqixbyivhssp70hs0llxwk7lh3j7idxa2jbkk06hj4f"; 13 }; 14 15 - nativeBuildInputs = [ gobject-introspection python3.pkgs.distutils_extra intltool wrapGAppsHook ]; 16 buildInputs = [ 17 - gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gtk3 libwnck 18 - keybinder3 libappindicator-gtk3 19 ]; 20 21 - propagatedBuildInputs = with python3.pkgs; [ pygobject3 pyxdg pycairo dbus-python ]; 22 23 # workaround https://github.com/NixOS/nixpkgs/issues/56943 24 strictDeps = false; ··· 30 libcanberra = libcanberra-gtk3; 31 inherit libpulseaudio; 32 }) 33 - # https://github.com/hzbd/kazam/pull/21 34 - (fetchpatch { 35 - url = "https://github.com/hzbd/kazam/commit/37e53a5aa61f4223a9ea03ceeda26eeba2b9d37b.patch"; 36 - sha256 = "1q5dpmdm6cvgzw8xa7bwclnqa05xc73ja1lszwmwv5glyik0fk4z"; 37 - }) 38 ]; 39 40 # no tests ··· 42 43 meta = with lib; { 44 description = "A screencasting program created with design in mind"; 45 - homepage = "https://code.launchpad.net/kazam"; 46 license = licenses.lgpl3; 47 platforms = platforms.linux; 48 maintainers = [ maintainers.domenkozar ];
··· 1 + { lib 2 + , fetchFromGitHub 3 + , substituteAll 4 + , python3Packages 5 + , gst_all_1 6 + , wrapGAppsHook 7 + , gobject-introspection 8 + , gtk3 9 + , libwnck 10 + , keybinder3 11 + , intltool 12 + , libcanberra-gtk3 13 + , libappindicator-gtk3 14 + , libpulseaudio 15 + , libgudev 16 + }: 17 18 + python3Packages.buildPythonApplication rec { 19 + pname = "kazam"; 20 + version = "unstable-2021-06-22"; 21 22 + src = fetchFromGitHub { 23 + owner = "niknah"; 24 + repo = "kazam"; 25 + rev = "13f6ce124e5234348f56358b9134a87121f3438c"; 26 + sha256 = "1jk6khwgdv3nmagdgp5ivz3156pl0ljhf7b6i4b52w1h5ywsg9ah"; 27 }; 28 29 + nativeBuildInputs = [ gobject-introspection python3Packages.distutils_extra intltool wrapGAppsHook ]; 30 buildInputs = [ 31 + gst_all_1.gstreamer 32 + gst_all_1.gst-plugins-base 33 + gst_all_1.gst-plugins-good 34 + gtk3 35 + libwnck 36 + keybinder3 37 + libappindicator-gtk3 38 + libgudev 39 ]; 40 41 + propagatedBuildInputs = with python3Packages; [ pygobject3 pyxdg pycairo dbus-python xlib ]; 42 43 # workaround https://github.com/NixOS/nixpkgs/issues/56943 44 strictDeps = false; ··· 50 libcanberra = libcanberra-gtk3; 51 inherit libpulseaudio; 52 }) 53 ]; 54 55 # no tests ··· 57 58 meta = with lib; { 59 description = "A screencasting program created with design in mind"; 60 + homepage = "https://github.com/niknah/kazam"; 61 license = licenses.lgpl3; 62 platforms = platforms.linux; 63 maintainers = [ maintainers.domenkozar ];