3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/libtmux/default.nix

27 lines
589 B
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonPackage, pytest }:
2017-06-03 12:49:35 +01:00
buildPythonPackage rec {
pname = "libtmux";
version = "0.10.2";
2017-06-03 12:49:35 +01:00
src = fetchPypi {
inherit pname version;
sha256 = "a0e958b85ec14cdaabecfa738a0dd51846f05e5c5e9d6749a2bf5160b9f7e1d2";
2017-06-03 12:49:35 +01:00
};
2018-01-20 11:57:34 +00:00
checkInputs = [ pytest ];
postPatch = ''
2017-06-03 12:49:35 +01:00
sed -i 's/==.*$//' requirements/test.txt
'';
2018-01-20 11:57:34 +00:00
# No tests in archive
doCheck = false;
meta = with lib; {
2017-06-03 12:49:35 +01:00
description = "Scripting library for tmux";
homepage = "https://libtmux.readthedocs.io/";
2017-06-03 12:49:35 +01:00
license = licenses.bsd3;
maintainers = with maintainers; [ ];
2017-06-03 12:49:35 +01:00
};
}