commit
f0793b4535
3 changed files with 18 additions and 17 deletions
11
default.nix
11
default.nix
|
@ -4,15 +4,8 @@
|
||||||
}:
|
}:
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "clash-meta";
|
pname = "clash-meta";
|
||||||
version = "1.13.1";
|
version = "dev";
|
||||||
|
src = ./.;
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "MetaCubeX";
|
|
||||||
repo = "Clash.Meta";
|
|
||||||
rev = "1684756b79a232ee8f875bcfd87371f5c0ef066b";
|
|
||||||
sha256 = "sha256-7g/Wcll0w4EhPI+KodtLHINqaR2larQNnP9YAsgNiN4=";
|
|
||||||
};
|
|
||||||
|
|
||||||
vendorSha256 = "sha256-7HjYcoqWA5gvPUc5psCgy0UTc17CBzBJ/OiGvII/iBA=";
|
vendorSha256 = "sha256-7HjYcoqWA5gvPUc5psCgy0UTc17CBzBJ/OiGvII/iBA=";
|
||||||
|
|
||||||
# Do not build testing suit
|
# Do not build testing suit
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1664614409,
|
"lastModified": 1664638641,
|
||||||
"narHash": "sha256-5y+zhLMzc/k4NYnCfW+seM9oaNuUI/UeGMGPFRj8cR0=",
|
"narHash": "sha256-r2gVLq9DD1A0Igv4AdkmpuuVykXmKVsJTAJinS/ZFrM=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b746456c6f6ef8404ef6011df5eceba8644c49a9",
|
"rev": "cb81a9ca94e7631bc67788d858e214d56571983a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
16
flake.nix
16
flake.nix
|
@ -6,14 +6,22 @@
|
||||||
inputs.utils.url = "github:numtide/flake-utils";
|
inputs.utils.url = "github:numtide/flake-utils";
|
||||||
|
|
||||||
outputs = { self, nixpkgs, utils }:
|
outputs = { self, nixpkgs, utils }:
|
||||||
(utils.lib.eachDefaultSystem
|
utils.lib.eachDefaultSystem
|
||||||
(system:
|
(system:
|
||||||
let
|
let
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
defaultPackages = pkgs.callPackage ./. { };
|
packages = rec{
|
||||||
})
|
clash-meta = pkgs.callPackage ./. { };
|
||||||
|
default = clash-meta;
|
||||||
|
};
|
||||||
|
|
||||||
|
apps = rec {
|
||||||
|
clash-meta = utils.lib.mkApp { drv = self.packages.${system}.clash-meta; };
|
||||||
|
default = clash-meta;
|
||||||
|
};
|
||||||
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue