mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
55 lines
1.0 KiB
Nix
55 lines
1.0 KiB
Nix
{ 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 = "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 ];
|
|
};
|
|
}
|