1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools
5}:
6
7buildPythonPackage rec {
8 version = "0.7.0";
9 pname = "bespon";
10 format = "pyproject";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-dGtXw4uq6pdyXBVfSi9s7kCFUqA1PO7qWEGY0JNAz8Q=";
15 };
16
17 nativeBuildInputs = [ setuptools ];
18 # upstream doesn't contain tests
19 doCheck = false;
20
21 pythonImportsCheck = [ "bespon" ];
22 meta = with lib; {
23 description = "Encodes and decodes data in the BespON format.";
24 homepage = "https://github.com/gpoore/bespon_py";
25 license = licenses.bsd3;
26 maintainers = with maintainers; [ synthetica ];
27 };
28
29}