1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-06 10:39:29 +03:00
nixpkgs/pkgs/development/python-modules/libtmux/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
915 B
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, buildPythonPackage
, poetry-core
, pytestCheckHook
, procps
, tmux
}:
2017-06-03 13:49:35 +02:00
buildPythonPackage rec {
pname = "libtmux";
version = "0.13.0";
format = "pyproject";
2017-06-03 13:49:35 +02:00
src = fetchFromGitHub {
owner = "tmux-python";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-u08lxVMuyO5CwFbmxn69QqdSWcvGaSMZgizRJlsHa0k=";
2017-06-03 13:49:35 +02:00
};
nativeBuildInputs = [
poetry-core
];
2017-06-03 13:49:35 +02:00
checkInputs = [
procps
tmux
pytestCheckHook
];
2018-01-20 12:57:34 +01:00
pytestFlagsArray = lib.optionals stdenv.isDarwin [ "--ignore=tests/test_test.py" ];
pythonImportsCheck = [ "libtmux" ];
meta = with lib; {
2022-08-13 04:45:00 +00:00
description = "Typed scripting library / ORM / API wrapper for tmux";
homepage = "https://libtmux.git-pull.com/";
changelog = "https://github.com/tmux-python/libtmux/raw/v${version}/CHANGES";
license = licenses.mit;
maintainers = with maintainers; [ ];
2017-06-03 13:49:35 +02:00
};
}