mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
340eff8b0d
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
25 lines
658 B
Nix
25 lines
658 B
Nix
{ lib, buildPythonPackage, fetchPypi, protobuf, six }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "protobuf3-to-dict";
|
|
version = "0.1.5";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0nibblvj3n20zvq6d73zalbjqjby0w8ji5mim7inhn7vb9dw4hhy";
|
|
};
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "protobuf_to_dict" ];
|
|
|
|
propagatedBuildInputs = [ protobuf six ];
|
|
|
|
meta = with lib; {
|
|
description = "A teeny Python library for creating Python dicts from protocol buffers and the reverse";
|
|
homepage = "https://github.com/kaporzhu/protobuf-to-dict";
|
|
license = licenses.publicDomain;
|
|
maintainers = with maintainers; [ nequissimus ];
|
|
};
|
|
}
|