diff options
author | Ivan Solyankin <vanzef@gmail.com> | 2018-02-11 13:15:28 +0300 |
---|---|---|
committer | Ivan Solyankin <vanzef@gmail.com> | 2018-02-11 16:34:31 +0300 |
commit | eb3611a8f33a39e14b40a63c031ea0bc3e70f8d3 (patch) | |
tree | b69b099f02e9abea01a7970154a99fe1e0991f5c /pkgs/development/python-modules/i3ipc | |
parent | 0e2ec65b0a78df49aef3db08d209340e32d8e757 (diff) | |
download | nixlib-eb3611a8f33a39e14b40a63c031ea0bc3e70f8d3.tar nixlib-eb3611a8f33a39e14b40a63c031ea0bc3e70f8d3.tar.gz nixlib-eb3611a8f33a39e14b40a63c031ea0bc3e70f8d3.tar.bz2 nixlib-eb3611a8f33a39e14b40a63c031ea0bc3e70f8d3.tar.lz nixlib-eb3611a8f33a39e14b40a63c031ea0bc3e70f8d3.tar.xz nixlib-eb3611a8f33a39e14b40a63c031ea0bc3e70f8d3.tar.zst nixlib-eb3611a8f33a39e14b40a63c031ea0bc3e70f8d3.zip |
pythonPackages.i3ipc: init at 1.4.0
closes #34828
Diffstat (limited to 'pkgs/development/python-modules/i3ipc')
-rw-r--r-- | pkgs/development/python-modules/i3ipc/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/i3ipc/default.nix b/pkgs/development/python-modules/i3ipc/default.nix new file mode 100644 index 000000000000..492c4da6fcc9 --- /dev/null +++ b/pkgs/development/python-modules/i3ipc/default.nix @@ -0,0 +1,29 @@ +{ 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 ]; + }; +} |