pythonPackages.cbor2: init at 4.1.2 (#57507)
This commit is contained in:
parent
aacd06eb5a
commit
512833807d
23
pkgs/development/python-modules/cbor2/default.nix
Normal file
23
pkgs/development/python-modules/cbor2/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -1334,6 +1334,8 @@ in {
|
|||||||
|
|
||||||
cbor = callPackage ../development/python-modules/cbor {};
|
cbor = callPackage ../development/python-modules/cbor {};
|
||||||
|
|
||||||
|
cbor2 = callPackage ../development/python-modules/cbor2 {};
|
||||||
|
|
||||||
cassandra-driver = callPackage ../development/python-modules/cassandra-driver { };
|
cassandra-driver = callPackage ../development/python-modules/cassandra-driver { };
|
||||||
|
|
||||||
cccolutils = callPackage ../development/python-modules/cccolutils {};
|
cccolutils = callPackage ../development/python-modules/cccolutils {};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user