8 , withInotify ? stdenv.hostPlatform.isLinux
11 python3.pkgs.buildPythonApplication rec {
16 src = fetchFromGitHub {
19 rev = "refs/tags/v${version}";
20 hash = "sha256-vYwdlFHfh59P62aYbaQSJJfkFC0WtX2UYmww3k30j08=";
28 nativeBuildInputs = with python3.pkgs; [
32 propagatedBuildInputs = with python3.pkgs; [
45 ] ++ lib.optionals (pythonOlder "3.11") [
47 ] ++ lib.optional withInotify inotify;
49 nativeCheckInputs = with python3.pkgs; [
54 updateScript = nix-update-script { };
55 tests = testers.testVersion {
57 command = "pyroadmin --version";
62 description = "RTorrent client";
63 homepage = "https://kannibalox.github.io/pyrosimple/";
64 changelog = "https://github.com/kannibalox/pyrosimple/blob/v${version}/CHANGELOG.md";
65 license = licenses.gpl3Plus;
66 maintainers = with maintainers; [ ne9z vamega ];