depot/third_party/nixpkgs/pkgs/development/python-modules/bespon/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

29 lines
632 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
}:
buildPythonPackage rec {
version = "0.7.0";
pname = "bespon";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-dGtXw4uq6pdyXBVfSi9s7kCFUqA1PO7qWEGY0JNAz8Q=";
};
nativeBuildInputs = [ setuptools ];
# upstream doesn't contain tests
doCheck = false;
pythonImportsCheck = [ "bespon" ];
meta = with lib; {
description = "Encodes and decodes data in the BespON format";
homepage = "https://github.com/gpoore/bespon_py";
license = licenses.bsd3;
maintainers = with maintainers; [ synthetica ];
};
}