mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-31 18:15:54 +00:00
303a2b2bb0
* maintainers: add sochotnicky * tremotesf: init at 2.4.0 --------- Co-authored-by: Stanislav Ochotnický <stanislav@ochotnicky.com>
53 lines
916 B
Nix
53 lines
916 B
Nix
{stdenv
|
|
,lib
|
|
, cmake
|
|
, pkg-config
|
|
, fetchFromGitHub
|
|
, qtbase
|
|
, qttools
|
|
, kwidgetsaddons
|
|
, kwindowsystem
|
|
, fmt
|
|
, libpsl
|
|
, cxxopts
|
|
, wrapQtAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "tremotesf";
|
|
version = "2.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "equeim";
|
|
repo = "tremotesf2";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-TKtBgMpCWIUl1bohAKCbTcZX2uaPmzeWut/OeNs/rME=";
|
|
# We need this for src/libtremotesf
|
|
fetchSubmodules = true;
|
|
};
|
|
|
|
buildInputs = [
|
|
qtbase
|
|
qttools
|
|
fmt
|
|
libpsl
|
|
kwidgetsaddons
|
|
kwindowsystem
|
|
cxxopts
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
propagatedBuildInputs = [ wrapQtAppsHook ];
|
|
|
|
meta = with lib; {
|
|
description = "Remote GUI for transmission-daemon";
|
|
license = licenses.gpl3Plus;
|
|
homepage = "https://github.com/equeim/tremotesf2";
|
|
maintainers = with maintainers; [ sochotnicky ];
|
|
};
|
|
})
|