diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2018-01-20 12:57:34 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-01-20 12:57:34 +0100 |
commit | 6d282fa3b6bf2e3027f3099886f593b84a660a83 (patch) | |
tree | 5de1556e3b21ddd6f9379dbb76e692789c1cfbdf | |
parent | 56c3535d067b78c00957fb16ebdc91e96930195f (diff) | |
download | nixlib-6d282fa3b6bf2e3027f3099886f593b84a660a83.tar nixlib-6d282fa3b6bf2e3027f3099886f593b84a660a83.tar.gz nixlib-6d282fa3b6bf2e3027f3099886f593b84a660a83.tar.bz2 nixlib-6d282fa3b6bf2e3027f3099886f593b84a660a83.tar.lz nixlib-6d282fa3b6bf2e3027f3099886f593b84a660a83.tar.xz nixlib-6d282fa3b6bf2e3027f3099886f593b84a660a83.tar.zst nixlib-6d282fa3b6bf2e3027f3099886f593b84a660a83.zip |
python.pkgs.libtmux: fix expression
-rw-r--r-- | pkgs/development/python-modules/libtmux/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/libtmux/default.nix b/pkgs/development/python-modules/libtmux/default.nix index 57f8d2c8114e..3fe0b3911c26 100644 --- a/pkgs/development/python-modules/libtmux/default.nix +++ b/pkgs/development/python-modules/libtmux/default.nix @@ -1,7 +1,6 @@ -{ stdenv, fetchPypi, buildPythonPackage, pytest_29 }: +{ stdenv, fetchPypi, buildPythonPackage, pytest }: buildPythonPackage rec { - name = "${pname}-${version}"; pname = "libtmux"; version = "0.7.7"; @@ -10,11 +9,14 @@ buildPythonPackage rec { sha256 = "5670c8da8d0192d932ac1e34f010e0eeb098cdb2af6daad0307b5418e7a37733"; }; - buildInputs = [ pytest_29 ]; - patchPhase = '' + checkInputs = [ pytest ]; + postPatch = '' sed -i 's/==.*$//' requirements/test.txt ''; + # No tests in archive + doCheck = false; + meta = with stdenv.lib; { description = "Scripting library for tmux"; homepage = https://libtmux.readthedocs.io/; |