diff options
Diffstat (limited to 'nixpkgs/pkgs/by-name/cl/clash-nyanpasu/package.nix')
-rw-r--r-- | nixpkgs/pkgs/by-name/cl/clash-nyanpasu/package.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/cl/clash-nyanpasu/package.nix b/nixpkgs/pkgs/by-name/cl/clash-nyanpasu/package.nix new file mode 100644 index 000000000000..90da8892b094 --- /dev/null +++ b/nixpkgs/pkgs/by-name/cl/clash-nyanpasu/package.nix @@ -0,0 +1,23 @@ +{ lib +, clash-verge +, mihomo +, fetchurl +}: + +(clash-verge.override { + clash-meta = mihomo; +}).overrideAttrs (old: rec { + pname = "clash-nyanpasu"; + version = "1.4.5"; + + src = fetchurl { + url = "https://github.com/keiko233/clash-nyanpasu/releases/download/v${version}/clash-nyanpasu_${version}_amd64.deb"; + hash = "sha256-cxaq7Rndf0ytEaqc7CGQix5SOAdsTOoTj1Jlhjr5wEA="; + }; + + meta = old.meta // (with lib; { + homepage = "https://github.com/keiko233/clash-nyanpasu"; + maintainers = with maintainers; [ Guanran928 ]; + mainProgram = "clash-nyanpasu"; + }); +}) |