21 lines
456 B
Nix
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;
|
||
|
}
|