anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / yangson / default.nix
blob3883e3fa54f4bbea7320279968d61d38ca1b69da
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   poetry-core,
6   elementpath,
7   pyyaml,
8   setuptools,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "yangson";
14   version = "1.5.6";
15   pyproject = true;
17   src = fetchFromGitHub {
18     owner = "CZ-NIC";
19     repo = "yangson";
20     rev = "refs/tags/${version}";
21     hash = "sha256-/9MxCkcPGRNZkuwAAvlr7gtGcyxXtliski7bNtFhVBE=";
22   };
24   build-system = [ poetry-core ];
26   pythonRelaxDeps = [
27     "setuptools"
28   ];
30   dependencies = [
31     elementpath
32     pyyaml
33     setuptools
34   ];
36   nativeCheckInputs = [ pytestCheckHook ];
38   pythonImportsCheck = [ "yangson" ];
40   meta = with lib; {
41     description = "Library for working with data modelled in YANG";
42     mainProgram = "yangson";
43     homepage = "https://github.com/CZ-NIC/yangson";
44     license = with licenses; [
45       gpl3Plus
46       lgpl3Plus
47     ];
48     maintainers = [ ];
49   };