sqlite_orm: 1.9 -> 1.9.1 (#379250)
[NixPkgs.git] / pkgs / by-name / ob / obs-do / package.nix
blob5cee77568677731c2590cf3d93b06d30a7422f9a
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5   versionCheckHook,
6   nix-update-script,
7 }:
8 rustPlatform.buildRustPackage rec {
9   pname = "obs-do";
10   version = "0.1.6";
12   src = fetchFromGitHub {
13     owner = "jonhoo";
14     repo = "obs-do";
15     tag = "v${version}";
16     hash = "sha256-t6m/PX4GMCFH9wFrOaU/dcrbKitUXQlOcU7aUyJPpxA=";
17   };
19   cargoHash = "sha256-GZsTDG5lS6XpVT6mobMOCKsJ4iXAVW2NIsm4s+v52SU=";
21   nativeInstallCheckInputs = [
22     versionCheckHook
23   ];
24   versionCheckProgramArg = [ "--version" ];
25   doInstallCheck = true;
27   passthru = {
28     updateScript = nix-update-script { };
29   };
31   meta = {
32     description = "CLI for common OBS operations while streaming using WebSocket";
33     homepage = "https://github.com/jonhoo/obs-do";
34     license = with lib.licenses; [
35       asl20
36       mit
37     ];
38     maintainers = with lib.maintainers; [ GaetanLepage ];
39     mainProgram = "obs-do";
40   };