nixpkgs/pkgs/development/python-modules/ansiconv/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

24 lines
619 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, pytest }:
buildPythonPackage rec {
pname = "ansiconv";
version = "1.0.0";
format = "setuptools";
src = fetchFromGitHub {
owner = "ansible";
repo = pname;
rev = "v${version}";
sha256 = "0ljfpl8x069arzginvpi1v6hlaq4x2qpjqj01qds2ylz33scq8r4";
};
nativeCheckInputs = [ pytest ];
meta = with lib; {
description = "A module for converting ANSI coded text and converts it to either plain text or HTML";
homepage = "https://github.com/ansible/ansiconv";
license = licenses.mit;
maintainers = with maintainers; [ psyanticy ];
};
}