1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
nixpkgs/pkgs/tools/misc/tmuxp/default.nix

37 lines
707 B
Nix
Raw Normal View History

{ stdenv, python }:
2016-08-01 15:01:02 +01:00
2018-01-20 12:14:07 +00:00
with python.pkgs;
2016-08-01 15:01:02 +01:00
2018-01-20 12:14:07 +00:00
buildPythonApplication rec {
pname = "tmuxp";
version = "1.5.1";
2016-08-01 15:01:02 +01:00
2018-01-20 12:14:07 +00:00
src = fetchPypi {
inherit pname version;
sha256 = "1s2jmi46z1as5f7124zxjd88crbgb427jqf9987nz0csbpbb12qa";
2016-08-01 15:01:02 +01:00
};
2018-01-20 12:14:07 +00:00
postPatch = ''
2017-06-01 22:32:05 +01:00
sed -i 's/==.*$//' requirements/base.txt requirements/test.txt
'';
2018-01-20 12:14:07 +00:00
checkInputs = [
pytest
pytest-rerunfailures
];
2016-09-08 12:48:45 +01:00
2018-01-20 12:14:07 +00:00
# No tests in archive
doCheck = false;
propagatedBuildInputs = [
2016-08-01 15:01:02 +01:00
click colorama kaptan libtmux
];
meta = with stdenv.lib; {
description = "Manage tmux workspaces from JSON and YAML";
2019-01-06 16:34:05 +00:00
homepage = https://tmuxp.git-pull.com/;
2016-08-01 15:01:02 +01:00
license = licenses.bsd3;
maintainers = with maintainers; [ ];
2016-08-01 15:01:02 +01:00
};
}