depot/third_party/nixpkgs/pkgs/development/python-modules/character-encoding-utils/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

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 ];
};
}