blob: 5d044b4199c6336ec3d9ddb35eb7c5704be96a79 (
plain) (
blame)
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 = "4.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "1bp9l3wdj0wm15xlmlcwbgv6hc6vcfx39nssikj8fkwnd7d1bdhp";
};
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 ];
};
}
|