diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-08-07 19:01:27 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-08-07 19:03:18 -0600 |
| commit | da84be8c451308bbad0a70592bdcb0abd975f060 (patch) | |
| tree | 1bc520803112252bae53b5de802c7cee7b62c92a /pkgs/increment-zone-serials/default.nix | |
| parent | bcf936e19f78fc69572f0b748e83783899a55467 (diff) | |
sys/ns: implement automatic zone serial updates with a pre-commit hook
Diffstat (limited to 'pkgs/increment-zone-serials/default.nix')
| -rw-r--r-- | pkgs/increment-zone-serials/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/increment-zone-serials/default.nix b/pkgs/increment-zone-serials/default.nix new file mode 100644 index 0000000..b5b6cd6 --- /dev/null +++ b/pkgs/increment-zone-serials/default.nix @@ -0,0 +1,17 @@ +{ python3 +, stdenv +}: +stdenv.mkDerivation { + pname = "increment-zone-serials"; + version = "1.0.0"; + + propagatedBuildInputs = [ + (python3.withPackages (py: [ ])) + ]; + + dontUnpack = true; + + installPhase = '' + install -Dm755 ${./increment-zone-serials.py} $out/bin/increment-zone-serials + ''; +} |
