mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
54 lines
947 B
Nix
54 lines
947 B
Nix
{stdenv
|
|
,lib
|
|
, cmake
|
|
, pkg-config
|
|
, fetchFromGitHub
|
|
, qtbase
|
|
, qttools
|
|
, kwidgetsaddons
|
|
, kwindowsystem
|
|
, fmt
|
|
, libpsl
|
|
, cxxopts
|
|
, wrapQtAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "tremotesf";
|
|
version = "2.6.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "equeim";
|
|
repo = "tremotesf2";
|
|
rev = finalAttrs.version;
|
|
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";
|
|
mainProgram = "tremotesf";
|
|
license = licenses.gpl3Plus;
|
|
homepage = "https://github.com/equeim/tremotesf2";
|
|
maintainers = with maintainers; [ sochotnicky ];
|
|
};
|
|
})
|