pythonPackages.colorama: move to development/python-modules
This commit is contained in:
parent
0cbcb95e14
commit
28cbb4ae6a
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";
|
||||
};
|
||||
}
|
||||
|
@ -1519,13 +1519,26 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
awscli = buildPythonPackage rec {
|
||||
name = "awscli-${version}";
|
||||
version = "1.11.75";
|
||||
namePrefix = "";
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/a/awscli/${name}.tar.gz";
|
||||
sha256 = "0bkjyrgb78f29vvr8j2id0386d30w340wrl7krwiha725c9y3pz1";
|
||||
awscli =
|
||||
let
|
||||
colorama_3_7 = self.colorama.overrideAttrs (old: rec {
|
||||
name = "${pname}-${version}";
|
||||
pname = "colorama";
|
||||
version = "0.3.7";
|
||||
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
|
||||
@ -1536,7 +1549,7 @@ in {
|
||||
bcdoc
|
||||
s3transfer
|
||||
six
|
||||
colorama_3_3
|
||||
colorama_3_7
|
||||
docutils
|
||||
rsa
|
||||
pyyaml
|
||||
@ -3846,36 +3859,7 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
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";
|
||||
};
|
||||
};
|
||||
|
||||
colorama = callPackage ../development/python-modules/colorama { };
|
||||
|
||||
CommonMark = buildPythonPackage rec {
|
||||
name = "CommonMark-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user