summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/bespon/default.nix
blob: ea0196d8c52bb97be9eff4bc2a629aa7b82b7389 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
}:

buildPythonPackage rec {
  version = "0.7.0";
  pname = "bespon";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-dGtXw4uq6pdyXBVfSi9s7kCFUqA1PO7qWEGY0JNAz8Q=";
  };

  nativeBuildInputs = [ setuptools ];
  # upstream doesn't contain tests
  doCheck = false;

  pythonImportsCheck = [ "bespon" ];
  meta = {
    description = "Encodes and decodes data in the BespON format";
    homepage = "https://github.com/gpoore/bespon_py";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ synthetica ];
  };
}