diff options
Diffstat (limited to 'pkgs/development/python-modules/ansimarkup/default.nix')
-rw-r--r-- | pkgs/development/python-modules/ansimarkup/default.nix | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/ansimarkup/default.nix b/pkgs/development/python-modules/ansimarkup/default.nix index 9e4ed625ba19..8be72615a24a 100644 --- a/pkgs/development/python-modules/ansimarkup/default.nix +++ b/pkgs/development/python-modules/ansimarkup/default.nix @@ -1,30 +1,34 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, pytestCheckHook -, colorama +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + pytestCheckHook, + colorama, }: buildPythonPackage rec { pname = "ansimarkup"; - version = "1.5.0"; - format = "setuptools"; + version = "2.1.0"; + pyproject = true; src = fetchFromGitHub { owner = "gvalkov"; repo = "python-ansimarkup"; - rev = "v${version}"; - hash = "sha256-HGeVapv2Z5GtPwSp3+dvUwAH0bFqu+Bmk5E6SRr7NO4="; + rev = "refs/tags/v${version}"; + hash = "sha256-+kZt8tv09RHrMRZtvJPBBiFaeCksXyrlHqIabPrXYDY="; }; - propagatedBuildInputs = [ colorama ]; + build-system = [ setuptools ]; + + dependencies = [ colorama ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "ansimarkup" ]; meta = with lib; { - description = "An XML-like markup for producing colored terminal text."; + description = "XML-like markup for producing colored terminal text"; homepage = "https://github.com/gvalkov/python-ansimarkup"; license = licenses.bsd3; maintainers = with maintainers; [ cpcloud ]; |