summary refs log tree commit diff
path: root/pkgs/tools/misc/tmuxp
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2018-01-20 13:14:07 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2018-01-20 13:14:07 +0100
commitb4d9aaabda21957cb6cbe263e99ac43496e25873 (patch)
treeb4d94a360f556f2c32600214e9938a0ab20db256 /pkgs/tools/misc/tmuxp
parent217626a3e900ad4726237ade5aa46fddbc91484b (diff)
downloadnixpkgs-b4d9aaabda21957cb6cbe263e99ac43496e25873.tar
nixpkgs-b4d9aaabda21957cb6cbe263e99ac43496e25873.tar.gz
nixpkgs-b4d9aaabda21957cb6cbe263e99ac43496e25873.tar.bz2
nixpkgs-b4d9aaabda21957cb6cbe263e99ac43496e25873.tar.lz
nixpkgs-b4d9aaabda21957cb6cbe263e99ac43496e25873.tar.xz
nixpkgs-b4d9aaabda21957cb6cbe263e99ac43496e25873.tar.zst
nixpkgs-b4d9aaabda21957cb6cbe263e99ac43496e25873.zip
tmuxp: 1.3.4 -> 1.3.5
Diffstat (limited to 'pkgs/tools/misc/tmuxp')
-rw-r--r--pkgs/tools/misc/tmuxp/default.nix27
1 files 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
   ];