nixpkgs/pkgs/development/python-modules/libtmux/default.nix

27 lines
633 B
Nix
Raw Normal View History

2017-06-03 12:49:35 +01:00
{ stdenv, fetchPypi, buildPythonPackage, pytest_29 }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "libtmux";
2017-08-24 18:34:20 +01:00
version = "0.7.4";
2017-06-03 12:49:35 +01:00
src = fetchPypi {
inherit pname version;
2017-08-24 18:34:20 +01:00
sha256 = "c7407aa4103d40f50f99432bf4dffe0b4591f976956b2dd7ee7bbf53ad138bd9";
2017-06-03 12:49:35 +01:00
};
buildInputs = [ pytest_29 ];
patchPhase = ''
sed -i 's/==.*$//' requirements/test.txt
'';
meta = with stdenv.lib; {
description = "Scripting library for tmux";
homepage = https://libtmux.readthedocs.io/;
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ jgeerds ];
};
}