50 lines
935 B
Nix
50 lines
935 B
Nix
|
|
{
|
||
|
|
stdenv,
|
||
|
|
lib,
|
||
|
|
cmake,
|
||
|
|
pkg-config,
|
||
|
|
fetchFromGitHub,
|
||
|
|
fmt,
|
||
|
|
libpsl,
|
||
|
|
cxxopts,
|
||
|
|
kdePackages,
|
||
|
|
}:
|
||
|
|
|
||
|
|
stdenv.mkDerivation (finalAttrs: {
|
||
|
|
pname = "tremotesf";
|
||
|
|
version = "2.8.2";
|
||
|
|
|
||
|
|
src = fetchFromGitHub {
|
||
|
|
owner = "equeim";
|
||
|
|
repo = "tremotesf2";
|
||
|
|
tag = finalAttrs.version;
|
||
|
|
hash = "sha256-o6GSuRKO2LNpaFUuSu6VUeZN/blfpsz/piE7RZ47YfI=";
|
||
|
|
# We need this for src/libtremotesf
|
||
|
|
fetchSubmodules = true;
|
||
|
|
};
|
||
|
|
|
||
|
|
nativeBuildInputs = [
|
||
|
|
cmake
|
||
|
|
pkg-config
|
||
|
|
kdePackages.wrapQtAppsHook
|
||
|
|
];
|
||
|
|
|
||
|
|
buildInputs = [
|
||
|
|
kdePackages.qtbase
|
||
|
|
kdePackages.qttools
|
||
|
|
fmt
|
||
|
|
libpsl
|
||
|
|
kdePackages.kwidgetsaddons
|
||
|
|
kdePackages.kwindowsystem
|
||
|
|
cxxopts
|
||
|
|
];
|
||
|
|
|
||
|
|
meta = {
|
||
|
|
description = "Remote GUI for transmission-daemon";
|
||
|
|
mainProgram = "tremotesf";
|
||
|
|
license = lib.licenses.gpl3Plus;
|
||
|
|
homepage = "https://github.com/equeim/tremotesf2";
|
||
|
|
maintainers = with lib.maintainers; [ sochotnicky ];
|
||
|
|
};
|
||
|
|
})
|