summaryrefslogtreecommitdiff
path: root/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'default.nix')
-rw-r--r--default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/default.nix b/default.nix
new file mode 100644
index 0000000..07331d7
--- /dev/null
+++ b/default.nix
@@ -0,0 +1,19 @@
+{ pkgs ? import <nixpkgs> {} }:
+with pkgs.python313Packages;
+
+buildPythonPackage rec {
+ pname = "logformat";
+ version = "git";
+ src = ./.;
+ pyproject = true;
+
+ build-system = [
+ setuptools
+ ];
+
+ disabled = pythonOlder "3.13";
+
+ installCheckPhase = ''
+ python ${./test_logformat.py}
+ '';
+}