depot/third_party/nixpkgs/pkgs/development/python-modules/yangson/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

44 lines
748 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, pyxb
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "yangson";
version = "1.4.16";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-P447JnQ8zhalcg9k8prW1QQE3h5PqY155hFtvLvBVSI=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
pyxb
];
nativeCheckInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"yangson"
];
meta = with lib; {
description = "Library for working with data modelled in YANG";
homepage = "https://github.com/CZ-NIC/yangson";
license = with licenses; [
gpl3Plus
lgpl3Plus
];
maintainers = with maintainers; [ hexa ];
};
}