about summary refs log tree commit diff
path: root/pkgs/development/python-modules/character-encoding-utils/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/character-encoding-utils/default.nix')
-rw-r--r--pkgs/development/python-modules/character-encoding-utils/default.nix32
1 files changed, 15 insertions, 17 deletions
diff --git a/pkgs/development/python-modules/character-encoding-utils/default.nix b/pkgs/development/python-modules/character-encoding-utils/default.nix
index dd0e3b60fe1f4..a677d8999e375 100644
--- a/pkgs/development/python-modules/character-encoding-utils/default.nix
+++ b/pkgs/development/python-modules/character-encoding-utils/default.nix
@@ -1,40 +1,38 @@
-{ lib
-, buildPythonPackage
-, fetchPypi
-, pytestCheckHook
-, pythonOlder
-, nix-update-script
-, hatch-vcs
-, hatchling
+{
+  lib,
+  buildPythonPackage,
+  fetchPypi,
+  hatch-vcs,
+  hatchling,
+  pytestCheckHook,
+  pythonOlder,
 }:
 
 buildPythonPackage rec {
   pname = "character-encoding-utils";
-  version = "0.0.6";
+  version = "0.0.8";
+  pyproject = true;
 
   disabled = pythonOlder "3.11";
 
   src = fetchPypi {
     pname = "character_encoding_utils";
     inherit version;
-    hash = "sha256-ugzWiSpa/xxlraVyVPTSq/uxPg11kOyePgb1cmzX3ug=";
+    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 ];
   };