python312Packages.character-encoding-utils: refactor
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, nix-update-script
|
||||
, hatch-vcs
|
||||
, hatchling
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "character-encoding-utils";
|
||||
version = "0.0.8";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
@@ -20,21 +20,22 @@ buildPythonPackage rec {
|
||||
hash = "sha256-UXX4L/x7fP37ZEFDCPc0KRNyx47xvwY0Jz+lfxzUulg=";
|
||||
};
|
||||
|
||||
format = "pyproject";
|
||||
|
||||
nativeBuildInputs = [
|
||||
build-system = [
|
||||
hatch-vcs
|
||||
hatchling
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
pythonImportsCheck = [
|
||||
"character_encoding_utils"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/TakWolf/character-encoding-utils";
|
||||
description = "Some character encoding utils";
|
||||
platforms = lib.platforms.all;
|
||||
homepage = "https://github.com/TakWolf/character-encoding-utils";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ h7x4 ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user