depot/third_party/nixpkgs/pkgs/by-name/in/inv-sig-helper/package.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

53 lines
1.1 KiB
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
# nativeBuildInputs
pkg-config,
# buildInputs
openssl,
# passthru
nixosTests,
unstableGitUpdater,
}:
rustPlatform.buildRustPackage {
pname = "inv-sig-helper";
version = "0-unstable-2025-02-26";
src = fetchFromGitHub {
owner = "iv-org";
repo = "inv_sig_helper";
rev = "add99d6a654bae838b030914a7fef8252406fc45";
hash = "sha256-p1cbXYmKBoeXF4L9XKc5jc79KW8dxzDbjZiUSMJQDs8=";
};
useFetchCargoVendor = true;
cargoHash = "sha256-DnJL7kkcVn5dW3AoPCn829WmkaCjpDZtYUXnpiB857Q=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
];
passthru = {
tests = {
inherit (nixosTests) invidious;
};
updateScript = unstableGitUpdater { };
};
meta = {
description = "Rust service that decrypts YouTube signatures and manages player information";
homepage = "https://github.com/iv-org/inv_sig_helper";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ GaetanLepage ];
mainProgram = "inv_sig_helper_rust";
};
}