nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 41 lines 773 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6 setuptools-scm, 7 chardet, 8 pytestCheckHook, 9 faker, 10}: 11 12buildPythonPackage rec { 13 pname = "mbstrdecoder"; 14 version = "1.1.4"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "thombashi"; 19 repo = "mbstrdecoder"; 20 tag = "v${version}"; 21 hash = "sha256-rJ3Q7/xYPO0jBuzhYm2aIhPar2tbJIxHnHR0y0HWtik="; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools 26 setuptools-scm 27 ]; 28 29 propagatedBuildInputs = [ chardet ]; 30 31 nativeCheckInputs = [ pytestCheckHook ]; 32 33 checkInputs = [ faker ]; 34 35 meta = { 36 homepage = "https://github.com/thombashi/mbstrdecoder"; 37 description = "Library for decoding multi-byte character strings"; 38 maintainers = [ ]; 39 license = lib.licenses.mit; 40 }; 41}