mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 13:33:12 +00:00
02dab4ab5c
Long term we should move everything over to `pyproject = true`, but in the mean time we can work towards deprecating the implicit `format` paremeter. cc https://github.com/NixOS/nixpkgs/issues/253154 cc @mweinelt @figsoda
26 lines
683 B
Nix
26 lines
683 B
Nix
{ lib, buildPythonPackage, fetchPypi, protobuf, six }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "protobuf3-to-dict";
|
|
version = "0.1.5";
|
|
format = "setuptools";
|
|
|
|
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 ];
|
|
};
|
|
}
|