nixpkgs-suyu/pkgs/tools/misc/tmuxp/default.nix

38 lines
758 B
Nix
Raw Normal View History

2018-01-20 13:14:07 +01:00
{ stdenv, fetchurl, python }:
2016-08-01 16:01:02 +02:00
2018-01-20 13:14:07 +01:00
with python.pkgs;
2016-08-01 16:01:02 +02:00
2018-01-20 13:14:07 +01:00
buildPythonApplication rec {
pname = "tmuxp";
version = "1.4.0";
2016-08-01 16:01:02 +02:00
2018-01-20 13:14:07 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "1ghi6w0cfgs94zlz304q37h3lga2jalfm0hqi3g2060zfdnb96n7";
2016-08-01 16:01:02 +02:00
};
2018-01-20 13:14:07 +01:00
postPatch = ''
2017-06-01 23:32:05 +02:00
sed -i 's/==.*$//' requirements/base.txt requirements/test.txt
'';
2018-01-20 13:14:07 +01:00
checkInputs = [
pytest
pytest-rerunfailures
];
2016-09-08 13:48:45 +02:00
2018-01-20 13:14:07 +01:00
# No tests in archive
doCheck = false;
propagatedBuildInputs = [
2016-08-01 16:01:02 +02:00
click colorama kaptan libtmux
];
meta = with stdenv.lib; {
description = "Manage tmux workspaces from JSON and YAML";
homepage = http://tmuxp.readthedocs.io;
2016-08-01 16:01:02 +02:00
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ jgeerds ];
};
}