depot/third_party/nixpkgs/pkgs/tools/misc/tmuxp/default.nix
Default email 0eaa97ffad Project import generated by Copybara.
GitOrigin-RevId: c59ea8b8a0e7f927e7291c14ea6cd1bd3a16ff38
2020-08-20 19:08:02 +02:00

36 lines
709 B
Nix

{ stdenv, python }:
with python.pkgs;
buildPythonApplication rec {
pname = "tmuxp";
version = "1.5.5";
src = fetchPypi {
inherit pname version;
sha256 = "1jbziyqggbfd5m884lg00h0zi99c6cvjxkl4jzr34c4affr295yd";
};
postPatch = ''
sed -i 's/==.*$//' requirements/base.txt requirements/test.txt
'';
checkInputs = [
pytest
pytest-rerunfailures
];
# No tests in archive
doCheck = false;
propagatedBuildInputs = [
click colorama kaptan libtmux
];
meta = with stdenv.lib; {
description = "Manage tmux workspaces from JSON and YAML";
homepage = "https://tmuxp.git-pull.com/";
license = licenses.bsd3;
maintainers = with maintainers; [ ];
};
}