Unverified Commit 26170245 authored by Artturi's avatar Artturi Committed by GitHub
Browse files

Merge pull request #307233 from JohnRTitor/tmuxp

tmuxp: add pyyaml as build dep, to fix build error
parents 5fcfed90 412eab19
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
{ lib, python3Packages, fetchPypi, installShellFiles }:

python3Packages.buildPythonApplication rec {
let
  pname = "tmuxp";
  version = "1.46.0";
  hash = "sha256-+aXpsB4mjw9sZLalv3knW8okP+mh2P/nbZCiCwa3UBU=";
in
python3Packages.buildPythonApplication {
  inherit pname version;
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-+aXpsB4mjw9sZLalv3knW8okP+mh2P/nbZCiCwa3UBU=";
    inherit pname version hash;
  };

  nativeBuildInputs = [
@@ -19,6 +22,7 @@ python3Packages.buildPythonApplication rec {
  propagatedBuildInputs = with python3Packages; [
    colorama
    libtmux
    pyyaml
  ];

  # No tests in archive
@@ -30,12 +34,12 @@ python3Packages.buildPythonApplication rec {
      --zsh <(shtab --shell=zsh -u tmuxp.cli.create_parser)
  '';

  meta = with lib; {
  meta = {
    description = "tmux session manager";
    homepage = "https://tmuxp.git-pull.com/";
    changelog = "https://github.com/tmux-python/tmuxp/raw/v${version}/CHANGES";
    license = licenses.mit;
    maintainers = with maintainers; [ peterhoeg otavio ];
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ otavio ];
    mainProgram = "tmuxp";
  };
}