nixpkgs/pkgs/development/python-modules/i3ipc/default.nix
R. RyanTM 77addd67bb python36Packages.i3ipc: 1.4.0 -> 1.5.1
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.6-i3ipc/versions
2018-10-24 08:11:25 -07:00

30 lines
727 B
Nix

{ stdenv, buildPythonPackage, fetchFromGitHub
, enum-compat
, xorgserver, pytest, i3, python
}:
buildPythonPackage rec {
pname = "i3ipc";
version = "1.5.1";
src = fetchFromGitHub {
owner = "acrisci";
repo = "i3ipc-python";
rev = "v${version}";
sha256 = "06d7g4d7cnh0vp5diavy3x9wz1w5nwdrb7ipc4g1c3a2wc78862d";
};
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 ];
};
}