1{ buildPythonPackage
2, fetchFromGitHub
3, lib
4, chardet
5, pytestCheckHook
6, faker
7}:
8
9buildPythonPackage rec {
10 pname = "mbstrdecoder";
11 version = "1.1.2";
12
13 src = fetchFromGitHub {
14 owner = "thombashi";
15 repo = pname;
16 rev = "refs/tags/v${version}";
17 hash = "sha256-vLlCS5gnc7NgDN4cEZSxxInzbEq4HXAXmvlVfwn3cSM=";
18 };
19
20 propagatedBuildInputs = [ chardet ];
21
22 nativeCheckInputs = [ pytestCheckHook ];
23 checkInputs = [ faker ];
24
25 meta = with lib; {
26 homepage = "https://github.com/thombashi/mbstrdecoder";
27 description = "A library for decoding multi-byte character strings";
28 maintainers = with maintainers; [ genericnerdyusername ];
29 license = licenses.mit;
30 };
31}