nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

pythonPackages.colorclass: Move to own file

authored by

Elis Hirwing and committed by
Frederik Rietdijk
ece5086d cbc5202c

+21 -19
+20
pkgs/development/python-modules/colorclass/default.nix
··· 1 + { stdenv, buildPythonPackage, fetchPypi }: 2 + 3 + buildPythonPackage rec { 4 + pname = "colorclass"; 5 + version = "2.2.0"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "b05c2a348dfc1aff2d502527d78a5b7b7e2f85da94a96c5081210d8e9ee8e18b"; 10 + }; 11 + 12 + # No tests in archive 13 + doCheck = false; 14 + 15 + meta = with stdenv.lib; { 16 + homepage = https://github.com/Robpol86/colorclass; 17 + license = licenses.mit; 18 + description = "Automatic support for console colors"; 19 + }; 20 + }
+1 -19
pkgs/top-level/python-packages.nix
··· 1119 1119 1120 1120 circus = callPackage ../development/python-modules/circus {}; 1121 1121 1122 - colorclass = buildPythonPackage rec { 1123 - pname = "colorclass"; 1124 - version = "2.2.0"; 1125 - name = "${pname}-${version}"; 1126 - 1127 - src = fetchPypi { 1128 - inherit pname version; 1129 - sha256 = "b05c2a348dfc1aff2d502527d78a5b7b7e2f85da94a96c5081210d8e9ee8e18b"; 1130 - }; 1131 - 1132 - # No tests in archive 1133 - doCheck = false; 1134 - 1135 - meta = { 1136 - homepage = "https://github.com/Robpol86/colorclass"; 1137 - license = licenses.mit; 1138 - description = "Automatic support for console colors"; 1139 - }; 1140 - }; 1122 + colorclass = callPackage ../development/python-modules/colorclass {}; 1141 1123 1142 1124 colorlog = callPackage ../development/python-modules/colorlog { }; 1143 1125