3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/cbor2/default.nix

24 lines
605 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi, pytest, pytestcov, setuptools_scm }:
buildPythonPackage rec {
pname = "cbor2";
2020-02-01 19:42:04 +00:00
version = "5.0.1";
src = fetchPypi {
inherit pname version;
2020-02-01 19:42:04 +00:00
sha256 = "1fid6li95jx9c3v83v8c2c8lb03jgirkk9mjmck30yxcwmlxp6a2";
};
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 ];
};
}