18 lines
426 B
Nix
18 lines
426 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;
|
|
}
|