diff options
Diffstat (limited to 'default.nix')
-rw-r--r-- | default.nix | 19 |
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} + ''; +} |