diff --git a/modules/de-p1st-monitor.nix b/modules/de-p1st-monitor.nix index 668c29f..ffe1ce9 100644 --- a/modules/de-p1st-monitor.nix +++ b/modules/de-p1st-monitor.nix @@ -8,23 +8,22 @@ let ( buildPythonPackage rec { pname = "de.p1st.monitor"; - version = "0.12.1"; # TOODO 0.12.2 + # Important: When updating the version number, adjust the Git revision below accordingly! + version = "0.13.0"; # https://nixos.wiki/wiki/Packaging/Python#Fix_Missing_setup.py format = "pyproject"; - src = fetchPypi { - inherit pname version; - sha256 = "sha256-exwn7q7QvLnWRq9TrG6jztejc2A0P4CxB8lKS981ZGA="; + src = builtins.fetchGit { + url = "https://codeberg.org/privacy1st/de-p1st-monitor"; + rev = "7c57eba12a512a3a4fe72c2d5cbfa80cebdbd3bd"; }; propagatedBuildInputs = [ # Dependencies pkgs.python3Packages.psutil # Build dependencies + setuptools build twine ]; - nativeBuildInputs = with pkgs.python3Packages; [ - setuptools - ]; } ) ]; diff --git a/modules/netcup-dns.nix b/modules/netcup-dns.nix index 5f03fa4..3bf2492 100644 --- a/modules/netcup-dns.nix +++ b/modules/netcup-dns.nix @@ -5,24 +5,23 @@ let ( buildPythonPackage rec { pname = "netcup-dns"; + # Important: When updating the version number, adjust the Git revision below accordingly! version = "0.2.3"; # https://nixos.wiki/wiki/Packaging/Python#Fix_Missing_setup.py format = "pyproject"; - src = fetchPypi { - inherit pname version; - sha256 = "sha256-9iZWO5RBN/iD3qZdiI4f+kzvZm57isex2Hcmm8ai9Js="; + src = builtins.fetchGit { + url = "https://codeberg.org/privacy1st/netcup-dns"; + rev = "f231334e1b7858061efc7b3e98d21a2d10346369"; }; propagatedBuildInputs = [ # Dependencies pkgs.python3Packages.requests pkgs.python3Packages.nc-dnsapi # Build dependencies + setuptools build twine ]; - nativeBuildInputs = with pkgs.python3Packages; [ - setuptools - ]; } ) ];