From b4d9aaabda21957cb6cbe263e99ac43496e25873 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 20 Jan 2018 13:14:07 +0100 Subject: [PATCH] tmuxp: 1.3.4 -> 1.3.5 --- pkgs/tools/misc/tmuxp/default.nix | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/pkgs/tools/misc/tmuxp/default.nix b/pkgs/tools/misc/tmuxp/default.nix index 24486980b4b..33a4ebd70b3 100644 --- a/pkgs/tools/misc/tmuxp/default.nix +++ b/pkgs/tools/misc/tmuxp/default.nix @@ -1,26 +1,29 @@ -{ stdenv, fetchurl, pythonPackages }: +{ stdenv, fetchurl, python }: -pythonPackages.buildPythonApplication rec { - name = "tmuxp-${version}"; - version = "1.3.4"; +with python.pkgs; - namePrefix = ""; +buildPythonApplication rec { + pname = "tmuxp"; + version = "1.3.5"; - src = fetchurl { - url = "mirror://pypi/t/tmuxp/${name}.tar.gz"; - sha256 = "149n35rr27n2c6yna1bla20x3w1zz9gxnjj3m3xxdfp4fbsd2y31"; + src = fetchPypi { + inherit pname version; + sha256 = "bdbbbf5980d6ec21838396a46cd5b599787e8540782b8e2e3f20d2135560a5d3"; }; - patchPhase = '' + postPatch = '' sed -i 's/==.*$//' requirements/base.txt requirements/test.txt ''; - buildInputs = with pythonPackages; [ - pytest_29 + checkInputs = [ + pytest pytest-rerunfailures ]; - propagatedBuildInputs = with pythonPackages; [ + # No tests in archive + doCheck = false; + + propagatedBuildInputs = [ click colorama kaptan libtmux ];