mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 02:51:18 +00:00
5087dd449d
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done: - built on NixOS - ran `/nix/store/pi67w2329w1lc8wbzbbvkvjcy2jrk09z-tmuxp-1.4.0/bin/.tmuxp-wrapped --help` got 0 exit code - ran `/nix/store/pi67w2329w1lc8wbzbbvkvjcy2jrk09z-tmuxp-1.4.0/bin/.tmuxp-wrapped -V` and found version 1.4.0 - ran `/nix/store/pi67w2329w1lc8wbzbbvkvjcy2jrk09z-tmuxp-1.4.0/bin/.tmuxp-wrapped --version` and found version 1.4.0 - ran `/nix/store/pi67w2329w1lc8wbzbbvkvjcy2jrk09z-tmuxp-1.4.0/bin/tmuxp --help` got 0 exit code - ran `/nix/store/pi67w2329w1lc8wbzbbvkvjcy2jrk09z-tmuxp-1.4.0/bin/tmuxp -V` and found version 1.4.0 - ran `/nix/store/pi67w2329w1lc8wbzbbvkvjcy2jrk09z-tmuxp-1.4.0/bin/tmuxp --version` and found version 1.4.0 - found 1.4.0 with grep in /nix/store/pi67w2329w1lc8wbzbbvkvjcy2jrk09z-tmuxp-1.4.0
38 lines
758 B
Nix
38 lines
758 B
Nix
{ stdenv, fetchurl, 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 ];
|
|
};
|
|
}
|