mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
31f5dd3f36
- remove trailing whitespace - use spaces for indentation
34 lines
661 B
Nix
34 lines
661 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pytestCheckHook
|
|
, pytest-cov
|
|
, setuptools_scm
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "cbor2";
|
|
version = "5.2.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "a33aa2e5534fd74401ac95686886e655e3b2ce6383b3f958199b6e70a87c94bf";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools_scm ];
|
|
|
|
checkInputs = [
|
|
pytest-cov
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [ "cbor2" ];
|
|
|
|
meta = with lib; {
|
|
description = "Python CBOR (de)serializer with extensive tag support";
|
|
homepage = "https://github.com/agronholm/cbor2";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ taneb ];
|
|
};
|
|
}
|