Skip to content

Commit

Permalink
flashfocus: init at 2.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin authored and Jon committed Aug 19, 2020
1 parent 655ace4 commit f765171
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions pkgs/misc/flashfocus/default.nix
@@ -0,0 +1,28 @@
{ lib, buildPythonApplication, fetchPypi, xcffib, pyyaml, click, i3ipc, marshmallow, cffi, xpybutil, pytestrunner }:


buildPythonApplication rec {
pname = "flashfocus";
version = "2.2.2";

src = fetchPypi {
inherit pname version;
sha256 = "1z20d596rnc7cs0rrd221gjn14dmbr11djv94y9p4v7rr788sswv";
};

nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ i3ipc xcffib click cffi xpybutil marshmallow pyyaml ];

# Tests require access to a X session
doCheck = false;

pythonImportsCheck = [ "flashfocus" ];

meta = with lib; {
homepage = "https://github.com/fennerm/flashfocus";
description = "Simple focus animations for tiling window managers";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ artturin ];
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -1924,6 +1924,8 @@ in

fuzzel = callPackage ../applications/misc/fuzzel { };

flashfocus = python3Packages.callPackage ../misc/flashfocus { };

qt-video-wlr = libsForQt5.callPackage ../applications/misc/qt-video-wlr { };

fwup = callPackage ../tools/misc/fwup { };
Expand Down

0 comments on commit f765171

Please sign in to comment.