mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
deb59785b0
(cherry picked from commit 6fc67944bf8a9841b649c8d36f852ce65bbae0e1)
(cherry picked from commit f0d1ac6062
)
38 lines
906 B
Nix
38 lines
906 B
Nix
{ stdenv, fetchurl, pythonPackages }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
name = "tmuxp-${version}";
|
|
version = "1.2.0";
|
|
|
|
namePrefix = "";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://pypi/t/tmuxp/${name}.tar.gz";
|
|
sha256 = "05z5ssv9glsqmcy9fdq06bawy1274dnzqsqd3a4z4jd0w6j09smn";
|
|
};
|
|
|
|
patchPhase = ''
|
|
# Dependencies required for testing shouldn't pinned to
|
|
# a specific version.
|
|
substituteInPlace requirements/test.txt \
|
|
--replace "==" ">="
|
|
'';
|
|
|
|
buildInputs = with pythonPackages; [
|
|
pytest
|
|
pytest-rerunfailures
|
|
];
|
|
|
|
propagatedBuildInputs = with pythonPackages; [
|
|
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 ];
|
|
};
|
|
}
|