Merge pull request #26311 from rnhmjoj/colorama
update colorama and related
This commit is contained in:
22
pkgs/development/python-modules/colorama/default.nix
Normal file
22
pkgs/development/python-modules/colorama/default.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
|
||||
26
pkgs/development/python-modules/libtmux/default.nix
Normal file
26
pkgs/development/python-modules/libtmux/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user