nixpkgs/pkgs/applications/networking/p2p/tremotesf/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

53 lines
916 B
Nix
Raw Normal View History

{stdenv
,lib
, cmake
, pkg-config
, fetchFromGitHub
, qtbase
, qttools
, kwidgetsaddons
, kwindowsystem
, fmt
, libpsl
, cxxopts
, wrapQtAppsHook
}:
stdenv.mkDerivation (finalAttrs: {
pname = "tremotesf";
2024-01-08 07:31:12 +01:00
version = "2.6.0";
src = fetchFromGitHub {
owner = "equeim";
repo = "tremotesf2";
rev = finalAttrs.version;
2024-01-08 07:31:12 +01:00
hash = "sha256-9iV4UsKZWaIxhqtRZXTFHgjOKVFJE2bCJOD2O/qL+DY=";
# 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 ];
};
})