Merge pull request #26311 from rnhmjoj/colorama

update colorama and related
This commit is contained in:
Jörg Thalheim
2017-06-03 13:08:24 +01:00
committed by GitHub
4 changed files with 81 additions and 68 deletions

View File

@@ -0,0 +1,22 @@
{ stdenv, fetchPypi, buildPythonPackage }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "colorama";
version = "0.3.9";
src = fetchPypi {
inherit pname version;
sha256 = "1wd1szk0z3073ghx26ynw43gnc140ibln1safgsis6s6z3s25ss8";
};
# No tests in archive
doCheck = false;
meta = with stdenv.lib; {
homepage = https://github.com/tartley/colorama;
license = licenses.bsd3;
description = "Cross-platform colored terminal text";
};
}

View File

@@ -0,0 +1,26 @@
{ stdenv, fetchPypi, buildPythonPackage, pytest_29 }:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "libtmux";
version = "0.7.3";
src = fetchPypi {
inherit pname version;
sha256 = "111qbgq28za12la5b0aa9rr7hg8235zy0kyzzryn7fa6z3i5k5z8";
};
buildInputs = [ pytest_29 ];
patchPhase = ''
sed -i 's/==.*$//' requirements/test.txt
'';
meta = with stdenv.lib; {
description = "Scripting library for tmux";
homepage = https://libtmux.readthedocs.io/;
license = licenses.bsd3;
platforms = platforms.linux;
maintainers = with maintainers; [ jgeerds ];
};
}