about summary refs log tree commit diff
path: root/pkgs/development/python-modules/yamlloader
diff options
context:
space:
mode:
authorfreezeboy <freezeboy@users.noreply.github.com>2020-10-31 22:49:02 +0100
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-11-23 06:33:53 -0800
commit891863830d87316f53a7bae581a53361df78d39f (patch)
tree81e79a6631d3c30eee3022ca9e243a8d452eb913 /pkgs/development/python-modules/yamlloader
parent33c26604ae82618074b7122e0c0fc0e033c7cab5 (diff)
python3Packages.yamlloader: init at 0.5.5
Diffstat (limited to 'pkgs/development/python-modules/yamlloader')
-rw-r--r--pkgs/development/python-modules/yamlloader/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/yamlloader/default.nix b/pkgs/development/python-modules/yamlloader/default.nix
new file mode 100644
index 0000000000000..c8b2d5949cbf7
--- /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 ];
+  };
+}