2 pkgs ? import <nixpkgs> { },
5 pkgs.python3Packages.callPackage (
10 gobject-introspection,
21 buildPythonPackage rec {
25 src = lib.cleanSource ./.;
28 build-system = [ setuptools ];
31 checkPhase = "./test.sh";
41 ++ lib.optionals lint [
45 buildInputs = [ gtk4 ];
46 pythonPath = [ pygobject3 ];
49 wrapProgram "$out/bin/srec" --prefix PATH : ${ffmpeg-full}/bin
51 install -D ${./srec48.png} $out/share/icons/hicolor/48x48/apps/srec.png
52 install -D ${./srec.png} $out/share/icons/hicolor/256x256/apps/srec.png
53 install -D ${./srec.svg} $out/share/icons/hicolor/scalable/apps/srec.svg
55 cp -r $desktopItem/share/* $out/share
58 desktopItem = makeDesktopItem {
62 comment = "Record video and audio";
64 genericName = "Record Screen";
72 description = "A simple GUI for screen recording";
73 homepage = "https://git.scottworley.com/srec";
74 license = pkgs.lib.licenses.gpl3;
75 maintainers = with pkgs.lib.maintainers; [ chkno ];