about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/marshmallow-oneofschema
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2021-07-23 09:26:00 +0000
committerAlyssa Ross <hi@alyssa.is>2021-07-23 09:26:00 +0000
commitab63e0bb8dcf2b1bf8d4a26ed360af777b8f241d (patch)
tree504b28a058661f6c1cbb7d3f580020e50367ca7f /nixpkgs/pkgs/development/python-modules/marshmallow-oneofschema
parent55cc63c079f49e81d695a25bc2f5b3902f2bd290 (diff)
parentb09661d41fb93562fd53f31574dbf781b130ac44 (diff)
downloadnixlib-ab63e0bb8dcf2b1bf8d4a26ed360af777b8f241d.tar
nixlib-ab63e0bb8dcf2b1bf8d4a26ed360af777b8f241d.tar.gz
nixlib-ab63e0bb8dcf2b1bf8d4a26ed360af777b8f241d.tar.bz2
nixlib-ab63e0bb8dcf2b1bf8d4a26ed360af777b8f241d.tar.lz
nixlib-ab63e0bb8dcf2b1bf8d4a26ed360af777b8f241d.tar.xz
nixlib-ab63e0bb8dcf2b1bf8d4a26ed360af777b8f241d.tar.zst
nixlib-ab63e0bb8dcf2b1bf8d4a26ed360af777b8f241d.zip
Merge commit 'b09661d41fb93562fd53f31574dbf781b130ac44'
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/marshmallow-oneofschema')
-rw-r--r--nixpkgs/pkgs/development/python-modules/marshmallow-oneofschema/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/marshmallow-oneofschema/default.nix b/nixpkgs/pkgs/development/python-modules/marshmallow-oneofschema/default.nix
new file mode 100644
index 000000000000..343c5952a434
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/marshmallow-oneofschema/default.nix
@@ -0,0 +1,22 @@
+{ lib, buildPythonPackage, fetchPypi, marshmallow, setuptools }:
+
+buildPythonPackage rec {
+  pname = "marshmallow-oneofschema";
+  version = "2.1.0";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "0s0yr7nv06sfgxglghl2vq74g3m49j60k1hi2qzfsv4bj8hvs35k";
+  };
+
+  propagatedBuildInputs = [ marshmallow setuptools ];
+
+  pythonImportsCheck = [ "marshmallow_oneofschema" ];
+
+  meta = with lib; {
+    homepage = "https://github.com/marshmallow-code/marshmallow-oneofschema";
+    description = "Marshmallow library extension that allows schema (de)multiplexing";
+    license = licenses.mit;
+    maintainers = [ maintainers.ivan-tkatchev ];
+  };
+}