about summary refs log tree commit diff
path: root/nixpkgs/pkgs/by-name/cl/clash-nyanpasu/package.nix
blob: 90da8892b094c0518e2fcf58504e76c3522dfb9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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";
  });
})