504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
41 lines
818 B
Nix
41 lines
818 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, nix-update-script
|
|
, hatch-vcs
|
|
, hatchling
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "character-encoding-utils";
|
|
version = "0.0.6";
|
|
|
|
disabled = pythonOlder "3.11";
|
|
|
|
src = fetchPypi {
|
|
pname = "character_encoding_utils";
|
|
inherit version;
|
|
hash = "sha256-ugzWiSpa/xxlraVyVPTSq/uxPg11kOyePgb1cmzX3ug=";
|
|
};
|
|
|
|
format = "pyproject";
|
|
|
|
nativeBuildInputs = [
|
|
hatch-vcs
|
|
hatchling
|
|
];
|
|
|
|
checkInputs = [ pytestCheckHook ];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = {
|
|
homepage = "https://github.com/TakWolf/character-encoding-utils";
|
|
description = "Some character encoding utils";
|
|
platforms = lib.platforms.all;
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ h7x4 ];
|
|
};
|
|
}
|