From 891863830d87316f53a7bae581a53361df78d39f Mon Sep 17 00:00:00 2001 From: freezeboy Date: Sat, 31 Oct 2020 22:49:02 +0100 Subject: [PATCH] python3Packages.yamlloader: init at 0.5.5 --- .../python-modules/yamlloader/default.nix | 33 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/python-modules/yamlloader/default.nix diff --git a/pkgs/development/python-modules/yamlloader/default.nix b/pkgs/development/python-modules/yamlloader/default.nix new file mode 100644 index 000000000000..c8b2d5949cbf --- /dev/null +++ b/pkgs/development/python-modules/yamlloader/default.nix @@ -0,0 +1,33 @@ +{ lib, buildPythonPackage, fetchPypi +, pytest, pyyaml +}: + +buildPythonPackage rec { + pname = "yamlloader"; + version = "0.5.5"; + + src = fetchPypi { + inherit pname version; + sha256 = "3KtfFrObsD0Q3aTNTzDJQ2dexMd3GAf8Z+fxuzGb9Mg="; + }; + + propagatedBuildInputs = [ + pyyaml + ]; + + checkInputs = [ + pytest + ]; + + pythonImportsCheck = [ + "yaml" + "yamlloader" + ]; + + meta = with lib; { + description = "A case-insensitive list for Python"; + homepage = "https://github.com/Phynix/yamlloader"; + license = licenses.mit; + maintainers = with maintainers; [ freezeboy ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1be929c37dd5..ba7eadea2b79 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7826,6 +7826,8 @@ in { yamllint = callPackage ../development/python-modules/yamllint { }; + yamlloader = callPackage ../development/python-modules/yamlloader { }; + yamlordereddictloader = callPackage ../development/python-modules/yamlordereddictloader { }; yanc = callPackage ../development/python-modules/yanc { };