83405b6dd2
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
31 lines
696 B
Nix
31 lines
696 B
Nix
{ buildPythonPackage
|
|
, fetchFromGitHub
|
|
, lib
|
|
, chardet
|
|
, pytestCheckHook
|
|
, faker
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mbstrdecoder";
|
|
version = "1.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "thombashi";
|
|
repo = pname;
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-vLlCS5gnc7NgDN4cEZSxxInzbEq4HXAXmvlVfwn3cSM=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|