pythonPackages.cbor2: init at 4.1.2 (#57507)

This commit is contained in:
Nathan van Doorn
2019-03-14 11:22:29 +00:00
committed by Robert Schütz
parent aacd06eb5a
commit 512833807d
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,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 ];
};
}