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

37 lines
719 B
Nix
Raw Normal View History

{ lib, stdenv, python }:
2016-08-01 14:01:02 +00:00
2018-01-20 12:14:07 +00:00
with python.pkgs;
2016-08-01 14:01:02 +00:00
2018-01-20 12:14:07 +00:00
buildPythonApplication rec {
pname = "tmuxp";
2021-01-12 05:52:09 +00:00
version = "1.7.0";
2016-08-01 14:01:02 +00:00
2018-01-20 12:14:07 +00:00
src = fetchPypi {
inherit pname version;
2021-01-12 05:52:09 +00:00
sha256 = "e5135d07a8944170e39ea8b96b09123c54648cca94537b4953d8f15e5a537da2";
2016-08-01 14:01:02 +00:00
};
2018-01-20 12:14:07 +00:00
postPatch = ''
2017-06-01 21:32:05 +00: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 11:48:45 +00:00
2018-01-20 12:14:07 +00:00
# No tests in archive
doCheck = false;
propagatedBuildInputs = [
2016-08-01 14:01:02 +00:00
click colorama kaptan libtmux
];
meta = with lib; {
2016-08-01 14:01:02 +00:00
description = "Manage tmux workspaces from JSON and YAML";
homepage = "https://tmuxp.git-pull.com/";
2016-08-01 14:01:02 +00:00
license = licenses.bsd3;
maintainers = with maintainers; [ ];
2016-08-01 14:01:02 +00:00
};
}