mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 11:23:29 +00:00
python3Packages.zcbor: init at 0.7.0
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
8fc9bb20e4
commit
1646eec3be
42
pkgs/development/python-modules/zcbor/default.nix
Normal file
42
pkgs/development/python-modules/zcbor/default.nix
Normal file
@ -0,0 +1,42 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
|
||||
# build dependencies
|
||||
, setuptools
|
||||
|
||||
# dependencies
|
||||
, cbor2
|
||||
, pyyaml
|
||||
, regex
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "zcbor";
|
||||
version = "0.7.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-0mGp7Hnq8ZNEUx/9eQ6UD9/cOuLl6S5Aif1qNh1+jYA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
cbor2
|
||||
pyyaml
|
||||
regex
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "zcbor" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A low footprint CBOR library in the C language (C++ compatible), tailored for use in microcontrollers";
|
||||
homepage = "https://pypi.org/project/zcbor/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ otavio ];
|
||||
};
|
||||
}
|
@ -15881,6 +15881,8 @@ self: super: with self; {
|
||||
|
||||
zc_lockfile = callPackage ../development/python-modules/zc_lockfile { };
|
||||
|
||||
zcbor = callPackage ../development/python-modules/zcbor { };
|
||||
|
||||
zconfig = callPackage ../development/python-modules/zconfig { };
|
||||
|
||||
zcs = callPackage ../development/python-modules/zcs { };
|
||||
|
Loading…
Reference in New Issue
Block a user