1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-11 15:15:36 +00:00
nixpkgs/pkgs/tools/misc/tmuxp/default.nix

38 lines
748 B
Nix

{ stdenv, python }:
with python.pkgs;
buildPythonApplication rec {
pname = "tmuxp";
version = "1.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "1ghi6w0cfgs94zlz304q37h3lga2jalfm0hqi3g2060zfdnb96n7";
};
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 = http://tmuxp.readthedocs.io;
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ jgeerds ];
};
}