2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
protobuf,
|
|
|
|
six,
|
|
|
|
}:
|
2021-02-22 21:28:39 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "protobuf3-to-dict";
|
|
|
|
version = "0.1.5";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-02-22 21:28:39 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0nibblvj3n20zvq6d73zalbjqjby0w8ji5mim7inhn7vb9dw4hhy";
|
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "protobuf_to_dict" ];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
protobuf
|
|
|
|
six
|
|
|
|
];
|
2021-02-22 21:28:39 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Teeny Python library for creating Python dicts from protocol buffers and the reverse";
|
2021-02-22 21:28:39 +00:00
|
|
|
homepage = "https://github.com/kaporzhu/protobuf-to-dict";
|
|
|
|
license = licenses.publicDomain;
|
|
|
|
maintainers = with maintainers; [ nequissimus ];
|
|
|
|
};
|
|
|
|
}
|