Merge pull request #26311 from rnhmjoj/colorama
update colorama and related
This commit is contained in:
commit
4c034921c3
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 ];
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -2,17 +2,17 @@
|
|||||||
|
|
||||||
pythonPackages.buildPythonApplication rec {
|
pythonPackages.buildPythonApplication rec {
|
||||||
name = "tmuxp-${version}";
|
name = "tmuxp-${version}";
|
||||||
version = "1.2.7";
|
version = "1.3.1";
|
||||||
|
|
||||||
namePrefix = "";
|
namePrefix = "";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://pypi/t/tmuxp/${name}.tar.gz";
|
url = "mirror://pypi/t/tmuxp/${name}.tar.gz";
|
||||||
sha256 = "19s17frgyjvyvmr16fs0gl5mnbaxbmdffmkckadwhd5mg0pz2i4s";
|
sha256 = "189mxnb2pxj3wjijn56j8y5x1r23fil00fn2q7d6bd13vgr0f85s";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
sed -i 's/==.*$//' requirements/test.txt
|
sed -i 's/==.*$//' requirements/base.txt requirements/test.txt
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = with pythonPackages; [
|
buildInputs = with pythonPackages; [
|
||||||
|
@ -1482,13 +1482,26 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
awscli = buildPythonPackage rec {
|
awscli =
|
||||||
name = "awscli-${version}";
|
let
|
||||||
version = "1.11.75";
|
colorama_3_7 = self.colorama.overrideAttrs (old: rec {
|
||||||
namePrefix = "";
|
name = "${pname}-${version}";
|
||||||
src = pkgs.fetchurl {
|
pname = "colorama";
|
||||||
url = "mirror://pypi/a/awscli/${name}.tar.gz";
|
version = "0.3.7";
|
||||||
sha256 = "0bkjyrgb78f29vvr8j2id0386d30w340wrl7krwiha725c9y3pz1";
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0avqkn6362v7k2kg3afb35g4sfdvixjgy890clip4q174p9whhz0";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
in buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "awscli";
|
||||||
|
version = "1.11.95";
|
||||||
|
namePrefix = "";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1f99cg5x5kw1p1awny64adp07rvva57srdfrbi81yl2kpw33ybjc";
|
||||||
};
|
};
|
||||||
|
|
||||||
# No tests included
|
# No tests included
|
||||||
@ -1499,7 +1512,7 @@ in {
|
|||||||
bcdoc
|
bcdoc
|
||||||
s3transfer
|
s3transfer
|
||||||
six
|
six
|
||||||
colorama_3_3
|
colorama_3_7
|
||||||
docutils
|
docutils
|
||||||
rsa
|
rsa
|
||||||
pyyaml
|
pyyaml
|
||||||
@ -3020,11 +3033,13 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
botocore = buildPythonPackage rec {
|
botocore = buildPythonPackage rec {
|
||||||
version = "1.5.38"; # This version is required by awscli
|
name = "${pname}-${version}";
|
||||||
name = "botocore-${version}";
|
pname = "botocore";
|
||||||
src = pkgs.fetchurl {
|
version = "1.5.58";
|
||||||
url = "mirror://pypi/b/botocore/${name}.tar.gz";
|
|
||||||
sha256 = "04cvsi8g8p3r5vr3vr2nb5ldyrsm0y4c2phimabbpk33wv718qyx";
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1kd9hngdqvpjm01amizsmsnc08h2a0dxiasdk0f4kg1pibpqdni5";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs =
|
propagatedBuildInputs =
|
||||||
@ -3809,36 +3824,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
colorama = callPackage ../development/python-modules/colorama { };
|
||||||
colorama = buildPythonPackage rec {
|
|
||||||
name = "colorama-${version}";
|
|
||||||
version = "0.3.7";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/c/colorama/${name}.tar.gz";
|
|
||||||
sha256 = "e043c8d32527607223652021ff648fbb394d5e19cba9f1a698670b338c9d782b";
|
|
||||||
};
|
|
||||||
|
|
||||||
# No tests in archive
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = https://github.com/tartley/colorama;
|
|
||||||
license = "bsd";
|
|
||||||
description = "Cross-platform colored terminal text";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Needed for awscli
|
|
||||||
colorama_3_3 = self.colorama.override rec {
|
|
||||||
name = "colorama-${version}";
|
|
||||||
version = "0.3.3";
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/c/colorama/${name}.tar.gz";
|
|
||||||
sha256 = "eb21f2ba718fbf357afdfdf6f641ab393901c7ca8d9f37edd0bee4806ffa269c";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
CommonMark = buildPythonPackage rec {
|
CommonMark = buildPythonPackage rec {
|
||||||
name = "CommonMark-${version}";
|
name = "CommonMark-${version}";
|
||||||
@ -5467,28 +5453,7 @@ in {
|
|||||||
|
|
||||||
libais = callPackage ../development/python-modules/libais { };
|
libais = callPackage ../development/python-modules/libais { };
|
||||||
|
|
||||||
libtmux = buildPythonPackage rec {
|
libtmux = callPackage ../development/python-modules/libtmux { };
|
||||||
name = "libtmux-${version}";
|
|
||||||
version = "0.6.4";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/l/libtmux/${name}.tar.gz";
|
|
||||||
sha256 = "0kmw7x8cxb2hj2mzibmg9nxaijhsm1kcm0vdihn99fhm5kw1phh5";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ 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 ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
locket = buildPythonPackage rec {
|
locket = buildPythonPackage rec {
|
||||||
name = "locket-${version}";
|
name = "locket-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user