diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-05-23 18:02:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-23 18:02:28 +0000 |
commit | 76559963629f7b8054b9d85e454f9ea6c3c89ae1 (patch) | |
tree | 01800ad2719e76c195476b5b1bb4b996558c8c7b /pkgs/by-name/me | |
parent | 41272d723daabae9b3f6ba413ab6d449607c1059 (diff) | |
parent | 4e80f8a6e6acab514a039e525b8613651c301ad3 (diff) |
Merge staging-next into staging
Diffstat (limited to 'pkgs/by-name/me')
-rw-r--r-- | pkgs/by-name/me/mediasynclite/package.nix | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/pkgs/by-name/me/mediasynclite/package.nix b/pkgs/by-name/me/mediasynclite/package.nix new file mode 100644 index 0000000000000..8d2725997b0c5 --- /dev/null +++ b/pkgs/by-name/me/mediasynclite/package.nix @@ -0,0 +1,54 @@ +{ lib +, stdenv +, fetchFromGitHub +, gtk3 +, glib +, gsettings-desktop-schemas +, pkg-config +, curl +, openssl +, jansson +, wrapGAppsHook3 +}: + +stdenv.mkDerivation rec { + pname = "mediasynclite"; + version = "0.4.2"; + + src = fetchFromGitHub { + owner = "iBroadcastMediaServices"; + repo = "MediaSyncLiteLinux"; + rev = version; + hash = "sha256-ToSkR6tPJMBCcj1NUBAywKjCAPlpmh+ngIopFrT2PIA="; + }; + + buildInputs = [ + curl + glib + gtk3 + openssl + jansson + ]; + + strictDeps = true; + + nativeBuildInputs = [ + gsettings-desktop-schemas + pkg-config + wrapGAppsHook3 + ]; + + makeFlags = [ "PREFIX=$(out)" ]; + + postPatch = '' + substitute ./src/ibmsl.c ./src/ibmsl.c --subst-var out + ''; + + meta = with lib; { + description = "A Linux-native graphical uploader for iBroadcast"; + downloadPage = "https://github.com/tobz619/MediaSyncLiteLinuxNix"; + homepage = "https://github.com/iBroadcastMediaServices/MediaSyncLiteLinux"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ tobz619 ]; + }; +} |