3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/cbor2/default.nix
2019-03-14 12:22:29 +01:00

24 lines
605 B
Nix

{ 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 ];
};
}