blob: 3bf660bd098c93db9e1c039b6ebd4da53172721a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{ lib, buildPythonPackage, fetchPypi, pytest, pytestcov, setuptools_scm }:
buildPythonPackage rec {
pname = "cbor2";
version = "5.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "1ai1i0wydxfbdakqnrlpgdk4l2ps7gw0r9nihv9p2jgyqbl13kj3";
};
nativeBuildInputs = [ setuptools_scm ];
checkInputs = [ pytest pytestcov ];
checkPhase = "pytest";
meta = with lib; {
description = "Pure Python CBOR (de)serializer with extensive tag support";
homepage = "https://github.com/agronholm/cbor2";
license = licenses.mit;
maintainers = with maintainers; [ taneb ];
};
}
|