about summary refs log tree commit diff
path: root/pkgs/development/python-modules/logfury/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/logfury/default.nix')
-rw-r--r--pkgs/development/python-modules/logfury/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/logfury/default.nix b/pkgs/development/python-modules/logfury/default.nix
new file mode 100644
index 000000000000..d9ce51eed1ee
--- /dev/null
+++ b/pkgs/development/python-modules/logfury/default.nix
@@ -0,0 +1,32 @@
+{ lib
+, buildPythonPackage
+, fetchPypi
+, funcsigs
+, six
+}:
+
+buildPythonPackage rec {
+  pname = "logfury";
+  name = "${pname}-${version}";
+  version = "0.1.2";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1lywirv3d1lw691mc4mfpz7ak6r49klri43bbfgdnvsfppxminj2";
+  };
+
+  propagatedBuildInputs = [
+    funcsigs
+    six
+  ];
+
+  # No tests
+  doCheck = false;
+
+  meta = {
+    description = "Logfury is for python library maintainers. It allows for responsible, low-boilerplate logging of method calls.";
+    homepage = "https://github.com/ppolewicz/logfury";
+    license = lib.licenses.bsd3;
+    maintainers = with lib.maintainers; [ jwiegley ];
+  };
+}
\ No newline at end of file