Loading pkgs/applications/audio/hushboard/default.nix→pkgs/by-name/hu/hushboard/package.nix +30 −16 Original line number Diff line number Diff line { lib, buildPythonApplication, python3Packages, fetchFromGitHub, gobject-introspection, gtk3, libappindicator, libpulseaudio, librsvg, pycairo, pygobject3, six, wrapGAppsHook3, xlib, nix-update-script, fetchpatch, }: buildPythonApplication { python3Packages.buildPythonApplication { pname = "hushboard"; version = "unstable-2021-03-17"; format = "setuptools"; version = "0-unstable-2024-04-28"; pyproject = true; src = fetchFromGitHub { owner = "stuartlangridge"; repo = "hushboard"; rev = "c16611c539be111891116a737b02c5fb359ad1fc"; sha256 = "06jav6j0bsxhawrq31cnls8zpf80fpwk0cak5s82js6wl4vw2582"; rev = "13f5e62add99355f90798006742f62397be8be0c"; hash = "sha256-z5ZSqcdKUHWt7kgW7ISZJei2YzVZHJGOqJ2IXv3qiWQ="; }; patches = [ # https://github.com/stuartlangridge/hushboard/pull/30 (fetchpatch { url = "https://github.com/stuartlangridge/hushboard/commit/b17b58cd00eb9af8184f8dcb010bbae7f9bc470c.patch"; hash = "sha256-C03hq2ttXY8DJzrarQvFIzo29d+owZVIHZRA28fq7Z8="; }) ]; build-system = with python3Packages; [ setuptools ]; nativeBuildInputs = [ wrapGAppsHook3 gobject-introspection Loading @@ -37,7 +45,7 @@ buildPythonApplication { libpulseaudio ]; propagatedBuildInputs = [ propagatedBuildInputs = with python3Packages; [ pycairo pygobject3 six Loading @@ -62,15 +70,21 @@ buildPythonApplication { cp hushboard-512.png $out/share/icons/hicolor/512x512/apps/hushboard.png ''; # There are no tests passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; # no tests doCheck = false; meta = with lib; { pythonImportsCheck = [ "hushboard" ]; meta = { homepage = "https://kryogenix.org/code/hushboard/"; license = licenses.mit; license = lib.licenses.mit; description = "Mute your microphone while typing"; mainProgram = "hushboard"; platforms = platforms.linux; maintainers = with maintainers; [ keysmashes ]; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ keysmashes ]; }; } pkgs/top-level/all-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -11608,8 +11608,6 @@ with pkgs; huggle = libsForQt5.callPackage ../applications/misc/huggle { }; hushboard = python3.pkgs.callPackage ../applications/audio/hushboard { }; hyperion-ng = libsForQt5.callPackage ../applications/video/hyperion-ng { }; jackline = callPackage ../applications/networking/instant-messengers/jackline { Loading Loading
pkgs/applications/audio/hushboard/default.nix→pkgs/by-name/hu/hushboard/package.nix +30 −16 Original line number Diff line number Diff line { lib, buildPythonApplication, python3Packages, fetchFromGitHub, gobject-introspection, gtk3, libappindicator, libpulseaudio, librsvg, pycairo, pygobject3, six, wrapGAppsHook3, xlib, nix-update-script, fetchpatch, }: buildPythonApplication { python3Packages.buildPythonApplication { pname = "hushboard"; version = "unstable-2021-03-17"; format = "setuptools"; version = "0-unstable-2024-04-28"; pyproject = true; src = fetchFromGitHub { owner = "stuartlangridge"; repo = "hushboard"; rev = "c16611c539be111891116a737b02c5fb359ad1fc"; sha256 = "06jav6j0bsxhawrq31cnls8zpf80fpwk0cak5s82js6wl4vw2582"; rev = "13f5e62add99355f90798006742f62397be8be0c"; hash = "sha256-z5ZSqcdKUHWt7kgW7ISZJei2YzVZHJGOqJ2IXv3qiWQ="; }; patches = [ # https://github.com/stuartlangridge/hushboard/pull/30 (fetchpatch { url = "https://github.com/stuartlangridge/hushboard/commit/b17b58cd00eb9af8184f8dcb010bbae7f9bc470c.patch"; hash = "sha256-C03hq2ttXY8DJzrarQvFIzo29d+owZVIHZRA28fq7Z8="; }) ]; build-system = with python3Packages; [ setuptools ]; nativeBuildInputs = [ wrapGAppsHook3 gobject-introspection Loading @@ -37,7 +45,7 @@ buildPythonApplication { libpulseaudio ]; propagatedBuildInputs = [ propagatedBuildInputs = with python3Packages; [ pycairo pygobject3 six Loading @@ -62,15 +70,21 @@ buildPythonApplication { cp hushboard-512.png $out/share/icons/hicolor/512x512/apps/hushboard.png ''; # There are no tests passthru.updateScript = nix-update-script { extraArgs = [ "--version=branch" ]; }; # no tests doCheck = false; meta = with lib; { pythonImportsCheck = [ "hushboard" ]; meta = { homepage = "https://kryogenix.org/code/hushboard/"; license = licenses.mit; license = lib.licenses.mit; description = "Mute your microphone while typing"; mainProgram = "hushboard"; platforms = platforms.linux; maintainers = with maintainers; [ keysmashes ]; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ keysmashes ]; }; }
pkgs/top-level/all-packages.nix +0 −2 Original line number Diff line number Diff line Loading @@ -11608,8 +11608,6 @@ with pkgs; huggle = libsForQt5.callPackage ../applications/misc/huggle { }; hushboard = python3.pkgs.callPackage ../applications/audio/hushboard { }; hyperion-ng = libsForQt5.callPackage ../applications/video/hyperion-ng { }; jackline = callPackage ../applications/networking/instant-messengers/jackline { Loading