mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 17:25:11 +00:00
eb3611a8f3
closes #34828
30 lines
727 B
Nix
30 lines
727 B
Nix
{ stdenv, buildPythonPackage, fetchFromGitHub
|
|
, enum-compat
|
|
, xorgserver, pytest, i3, python
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "i3ipc";
|
|
version = "1.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "acrisci";
|
|
repo = "i3ipc-python";
|
|
rev = "v${version}";
|
|
sha256 = "15drq16ncmjrgsri6gjzp0qm8abycm92nicm78q3k7vy7rqpvfnh";
|
|
};
|
|
|
|
propagatedBuildInputs = [ enum-compat ];
|
|
|
|
checkInputs = [ xorgserver pytest i3 ];
|
|
|
|
checkPhase = ''${python.interpreter} run-tests.py'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "An improved Python library to control i3wm";
|
|
homepage = https://github.com/acrisci/i3ipc-python;
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ vanzef ];
|
|
};
|
|
}
|