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

Configure Feed

Select the types of activity you want to include in your feed.

python312Packages.log-symbols: refactor

+12 -9
+12 -9
pkgs/development/python-modules/log-symbols/default.nix
··· 2 2 buildPythonPackage, 3 3 colorama, 4 4 fetchPypi, 5 - isPy27, 6 5 lib, 6 + setuptools, 7 7 }: 8 8 9 9 buildPythonPackage rec { 10 - pname = "log_symbols"; 10 + pname = "log-symbols"; 11 11 version = "0.0.14"; 12 - disabled = isPy27; 12 + pyproject = true; 13 13 14 14 src = fetchPypi { 15 - inherit pname version; 16 - sha256 = "0mh5d0igw33libfmbsr1ri1p1y644p36nwaa2w6kzrd8w5pvq2yg"; 15 + pname = "log_symbols"; 16 + inherit version; 17 + hash = "sha256-zwu8b+Go5T8NF0pxa8YlxPhwQ8wh61XdinQM/iJoBVY="; 17 18 }; 18 19 19 - propagatedBuildInputs = [ colorama ]; 20 + build-system = [ setuptools ]; 21 + 22 + dependencies = [ colorama ]; 20 23 21 24 # Tests are not included in the PyPI distribution and the git repo does not have tagged releases 22 25 doCheck = false; 23 26 pythonImportsCheck = [ "log_symbols" ]; 24 27 25 - meta = with lib; { 28 + meta = { 26 29 description = "Colored Symbols for Various Log Levels"; 27 30 homepage = "https://github.com/manrajgrover/py-log-symbols"; 28 - license = licenses.mit; 29 - maintainers = with maintainers; [ urbas ]; 31 + license = lib.licenses.mit; 32 + maintainers = with lib.maintainers; [ urbas ]; 30 33 }; 31 34 }