4bac34ead1
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
31 lines
686 B
Nix
31 lines
686 B
Nix
{ buildPythonPackage
|
|
, fetchFromGitHub
|
|
, lib
|
|
, chardet
|
|
, pytestCheckHook
|
|
, faker
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mbstrdecoder";
|
|
version = "1.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "thombashi";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-U8F+mWKDulIRvvhswmdGnxKjM2qONQybViQ5TLZbLDY=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|