diff options
author | Artturin <Artturin@artturin.com> | 2020-08-18 18:03:50 +0300 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-08-19 12:34:35 -0700 |
commit | f7651718b5966be91c4d9a6bbcbd468bd7d17bc8 (patch) | |
tree | 1f24a0795a3802e47035ff558539628cfe82d0ba /pkgs/misc | |
parent | 655ace454c5e84d9663260e98a8445bdb45f2307 (diff) | |
download | nixpkgs-f7651718b5966be91c4d9a6bbcbd468bd7d17bc8.tar nixpkgs-f7651718b5966be91c4d9a6bbcbd468bd7d17bc8.tar.gz nixpkgs-f7651718b5966be91c4d9a6bbcbd468bd7d17bc8.tar.bz2 nixpkgs-f7651718b5966be91c4d9a6bbcbd468bd7d17bc8.tar.lz nixpkgs-f7651718b5966be91c4d9a6bbcbd468bd7d17bc8.tar.xz nixpkgs-f7651718b5966be91c4d9a6bbcbd468bd7d17bc8.tar.zst nixpkgs-f7651718b5966be91c4d9a6bbcbd468bd7d17bc8.zip |
flashfocus: init at 2.2.2
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/flashfocus/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/misc/flashfocus/default.nix b/pkgs/misc/flashfocus/default.nix new file mode 100644 index 00000000000..98f368132a9 --- /dev/null +++ b/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 ]; + }; +} |