Files
nixpkgs/pkgs/development/python-modules/mbstrdecoder/default.nix
2025-05-25 03:23:49 +02:00

42 lines
822 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
setuptools-scm,
chardet,
pytestCheckHook,
faker,
}:
buildPythonPackage rec {
pname = "mbstrdecoder";
version = "1.1.4";
format = "pyproject";
src = fetchFromGitHub {
owner = "thombashi";
repo = "mbstrdecoder";
tag = "v${version}";
hash = "sha256-rJ3Q7/xYPO0jBuzhYm2aIhPar2tbJIxHnHR0y0HWtik=";
};
nativeBuildInputs = [
setuptools
setuptools-scm
];
propagatedBuildInputs = [ chardet ];
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = [ faker ];
meta = with lib; {
homepage = "https://github.com/thombashi/mbstrdecoder";
description = "Library for decoding multi-byte character strings";
maintainers = with maintainers; [ genericnerdyusername ];
license = licenses.mit;
};
}