2 pkgs ? import <nixpkgs> { },
5 pkgs.python3Packages.callPackage (
10 gobject-introspection,
20 buildPythonPackage rec {
24 src = lib.cleanSource ./.;
27 checkPhase = "./test.sh";
37 ++ lib.optionals lint [
41 buildInputs = [ gtk4 ];
42 pythonPath = [ pygobject3 ];
45 wrapProgram "$out/bin/srec" --prefix PATH : ${ffmpeg-full}/bin
47 install -D ${./srec48.png} $out/share/icons/hicolor/48x48/apps/srec.png
48 install -D ${./srec.png} $out/share/icons/hicolor/256x256/apps/srec.png
49 install -D ${./srec.svg} $out/share/icons/hicolor/scalable/apps/srec.svg
51 cp -r $desktopItem/share/* $out/share
54 desktopItem = makeDesktopItem {
58 comment = "Record video and audio";
60 genericName = "Record Screen";
68 description = "A simple GUI for screen recording";
69 homepage = "https://git.scottworley.com/srec";
70 license = pkgs.lib.licenses.gpl3;
71 maintainers = with pkgs.lib.maintainers; [ chkno ];