Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
744 B · 36 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637{ lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, pythonOlder, setuptools,}:
buildPythonPackage rec { pname = "ansicolor"; version = "0.3.2"; pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub { owner = "numerodix"; repo = "ansicolor"; tag = version; hash = "sha256-a/BAU42AfMR8C94GwmrLkvSvolFEjV0LbDypvS9UuOA="; };
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "ansicolor" ];
meta = with lib; { description = "Library to produce ansi color output and colored highlighting and diffing"; homepage = "https://github.com/numerodix/ansicolor/"; license = licenses.asl20; maintainers = [ ]; };}