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:
parent
d9bb81e2af
commit
82cb10cecf
1 changed files with 4 additions and 1 deletions
|
|
@ -7,13 +7,16 @@
|
||||||
let
|
let
|
||||||
# https://github.com/NixOS/nixpkgs/pull/394352
|
# https://github.com/NixOS/nixpkgs/pull/394352
|
||||||
cloudflare-dyndns-5-3 = pkgs.cloudflare-dyndns.overrideAttrs rec {
|
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 {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "kissgyorgy";
|
owner = "kissgyorgy";
|
||||||
repo = "cloudflare-dyndns";
|
repo = "cloudflare-dyndns";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-t0MqH9lDfl+cAnPYSG7P32OGO8Qpo1ep0Hj3Xl76lhU=";
|
hash = "sha256-t0MqH9lDfl+cAnPYSG7P32OGO8Qpo1ep0Hj3Xl76lhU=";
|
||||||
};
|
};
|
||||||
|
build-system = with pkgs.python3Packages; [
|
||||||
|
hatchling
|
||||||
|
];
|
||||||
dependencies = with pkgs.python3Packages; [
|
dependencies = with pkgs.python3Packages; [
|
||||||
click
|
click
|
||||||
httpx
|
httpx
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue