mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
discord-screenaudio: init at 1.9.2
This commit is contained in:
parent
13cb0c1af2
commit
a09acf2903
@ -0,0 +1,56 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, wrapQtAppsHook
|
||||
, cmake
|
||||
, pkg-config
|
||||
, qtbase
|
||||
, qtwebengine
|
||||
, qtwayland
|
||||
, pipewire
|
||||
, nix-update-script
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "discord-screenaudio";
|
||||
version = "1.9.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "maltejur";
|
||||
repo = "discord-screenaudio";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-it7JSmiDz3k1j+qEZrrNhyAuoixiQuiEbXac7lbJmko=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapQtAppsHook
|
||||
cmake
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtwebengine
|
||||
qtwayland
|
||||
pipewire
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
# version.cmake either uses git tags or a version.txt file to get app version.
|
||||
# Since cmake can't access git tags, write the version to a version.txt ourselves.
|
||||
echo "${version}" > version.txt
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "A custom discord client that supports streaming with audio on Linux";
|
||||
homepage = "https://github.com/maltejur/discord-screenaudio";
|
||||
downloadPage = "https://github.com/maltejur/discord-screenaudio/releases";
|
||||
changelog = "https://github.com/maltejur/discord-screenaudio/releases/tag/v${version}";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ huantian ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
@ -41406,6 +41406,8 @@ with pkgs;
|
||||
};
|
||||
|
||||
|
||||
discord-screenaudio = qt6.callPackage ../applications/networking/instant-messengers/discord-screenaudio { };
|
||||
|
||||
discordo = callPackage ../applications/networking/discordo/default.nix { };
|
||||
|
||||
golden-cheetah = libsForQt5.callPackage ../applications/misc/golden-cheetah { };
|
||||
|
Loading…
Reference in New Issue
Block a user