3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/misc/flashfocus/default.nix
Robert Schütz 827f213fb2
flashfocus: don't use python3Packages.callPackage (#117027)
Otherwise we can't override specific Python dependencies of it.
2021-03-21 18:24:14 +01:00

39 lines
810 B
Nix

{ lib, python3 }:
python3.pkgs.buildPythonApplication rec {
pname = "flashfocus";
version = "2.2.2";
src = python3.pkgs.fetchPypi {
inherit pname version;
sha256 = "1z20d596rnc7cs0rrd221gjn14dmbr11djv94y9p4v7rr788sswv";
};
nativeBuildInputs = with python3.pkgs; [
pytestrunner
];
propagatedBuildInputs = with python3.pkgs; [
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 ];
};
}