nixpkgs/pkgs/development/python-modules/character-encoding-utils/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
777 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
, hatch-vcs
, hatchling
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "character-encoding-utils";
version = "0.0.8";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchPypi {
pname = "character_encoding_utils";
inherit version;
hash = "sha256-UXX4L/x7fP37ZEFDCPc0KRNyx47xvwY0Jz+lfxzUulg=";
};
build-system = [
hatch-vcs
hatchling
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"character_encoding_utils"
];
meta = {
description = "Some character encoding utils";
homepage = "https://github.com/TakWolf/character-encoding-utils";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ h7x4 ];
};
}