evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / in / inv-sig-helper / package.nix
bloba6b295a0fbf21bcbb1cbb8372d07549be673b7e0
2   lib,
3   stdenv,
4   rustPlatform,
5   fetchFromGitHub,
7   # nativeBuildInputs
8   pkg-config,
10   # buildInputs
11   openssl,
12   darwin,
15 rustPlatform.buildRustPackage {
16   pname = "inv-sig-helper";
17   version = "0-unstable-2024-09-24";
19   src = fetchFromGitHub {
20     owner = "iv-org";
21     repo = "inv_sig_helper";
22     rev = "5025e49e6106f93ec06d0e3fd542a51e1c44c25a";
23     hash = "sha256-fMRjkZRMvcro3pOO20l5zRDOwn/E5KTVBOiDmcGROz4=";
24   };
26   cargoHash = "sha256-AisolMo++xMDesdfafeGx37r7sGbk0P0vMsHq0YTUL4=";
28   nativeBuildInputs = [
29     pkg-config
30   ];
32   buildInputs =
33     [ openssl ]
34     ++ lib.optionals stdenv.hostPlatform.isDarwin [
35       darwin.apple_sdk.frameworks.Security
36       darwin.apple_sdk.frameworks.SystemConfiguration
37     ];
39   meta = {
40     description = "Rust service that decrypts YouTube signatures and manages player information";
41     homepage = "https://github.com/iv-org/inv_sig_helper";
42     license = lib.licenses.agpl3Only;
43     maintainers = with lib.maintainers; [ GaetanLepage ];
44     mainProgram = "inv_sig_helper_rust";
45   };