blob: 550c69ba006c0e627fef3e92d4f72a387a867276 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, chardet
, pytestCheckHook
, faker
}:
buildPythonPackage rec {
pname = "mbstrdecoder";
version = "1.1.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "thombashi";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-GcAxXcCYC2XAE8xu/jdDxjPxkLJzbmvWZ3OgmcvQcmk=";
};
nativeBuildInputs = [
setuptools
];
propagatedBuildInputs = [
chardet
];
nativeCheckInputs = [
pytestCheckHook
];
checkInputs = [
faker
];
meta = with lib; {
homepage = "https://github.com/thombashi/mbstrdecoder";
description = "A library for decoding multi-byte character strings";
maintainers = with maintainers; [ genericnerdyusername ];
license = licenses.mit;
};
}
|