1
0
Fork 0
piped-flake/packages/proxy/default.nix
2023-09-08 10:59:27 +01:00

21 lines
456 B
Nix

{
rustPlatform,
fetchFromGitHub,
}: let
meta = builtins.fromJSON (builtins.readFile ../../meta.json);
rev = meta.proxy.rev;
in
rustPlatform.buildRustPackage rec {
pname = "piped-proxy";
version = "latest-${rev}";
src = fetchFromGitHub {
owner = "TeamPiped";
repo = "piped-proxy";
inherit rev;
sha256 = "${meta.proxy.sha256}";
};
cargoLock = {lockFile = "${src}/Cargo.lock";};
doCheck = false;
}