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