about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/remarshal/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/tools/remarshal/default.nix')
-rw-r--r--nixpkgs/pkgs/development/tools/remarshal/default.nix22
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/remarshal/default.nix b/nixpkgs/pkgs/development/tools/remarshal/default.nix
new file mode 100644
index 000000000000..67137fb1ed93
--- /dev/null
+++ b/nixpkgs/pkgs/development/tools/remarshal/default.nix
@@ -0,0 +1,22 @@
+{ lib, python3Packages }:
+
+python3Packages.buildPythonApplication rec {
+  pname = "remarshal";
+  version = "0.14.0";
+
+  src = python3Packages.fetchPypi {
+    inherit pname version;
+    sha256 = "16425aa1575a271dd3705d812b06276eeedc3ac557e7fd28e06822ad14cd0667";
+  };
+
+  propagatedBuildInputs = with python3Packages; [
+    pyyaml cbor2 python-dateutil tomlkit u-msgpack-python
+  ];
+
+  meta = with lib; {
+    description = "Convert between TOML, YAML and JSON";
+    license = licenses.mit;
+    homepage = "https://github.com/dbohdan/remarshal";
+    maintainers = with maintainers; [ offline ];
+  };
+}