i actually wrote some nix code i am so proud of myself i am going to cry just like natsuki subaru i cant believe the lenght of this commit message is getting too long i dont even know if this sentence makes grammatical sense anymore

This commit is contained in:
Osman Faruk Bayram 2025-04-03 21:57:15 +03:00
parent d9bb81e2af
commit 82cb10cecf

View file

@ -7,13 +7,16 @@
let
# https://github.com/NixOS/nixpkgs/pull/394352
cloudflare-dyndns-5-3 = pkgs.cloudflare-dyndns.overrideAttrs rec {
version = "5.3";
version = lib.warnIfNot (pkgs.cloudflare-dyndns.version == "5.0") "The cloudflare-dyndns package is updated, you should remove this override" "5.3";
src = pkgs.fetchFromGitHub {
owner = "kissgyorgy";
repo = "cloudflare-dyndns";
rev = "v${version}";
hash = "sha256-t0MqH9lDfl+cAnPYSG7P32OGO8Qpo1ep0Hj3Xl76lhU=";
};
build-system = with pkgs.python3Packages; [
hatchling
];
dependencies = with pkgs.python3Packages; [
click
httpx