Files
nixpkgs/pkgs/by-name/re/retool/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

58 lines
1.1 KiB
Nix

{
lib,
stdenv,
python3,
fetchFromGitHub,
qt6,
}:
python3.pkgs.buildPythonApplication rec {
pname = "retool";
version = "2.4.2";
pyproject = true;
disabled = python3.pkgs.pythonOlder "3.10";
src = fetchFromGitHub {
owner = "unexpectedpanda";
repo = "retool";
tag = "v${version}";
hash = "sha256-jb2HJjXBxfdOY9TI37D5xwtySlYoSJwckrLC+h7YqoM=";
};
nativeBuildInputs = with python3.pkgs; [
hatchling
qt6.wrapQtAppsHook
];
pythonRelaxDeps = true;
buildInputs = [
qt6.qtbase
]
++ lib.optionals (stdenv.hostPlatform.isLinux) [
qt6.qtwayland
];
propagatedBuildInputs = with python3.pkgs; [
alive-progress
darkdetect
lxml
psutil
pyside6
strictyaml
validators
];
# Upstream has no tests
doCheck = false;
meta = with lib; {
description = "Better filter tool for Redump and No-Intro dats";
homepage = "https://github.com/unexpectedpanda/retool";
changelog = "https://github.com/unexpectedpanda/retool/blob/${src.tag}/changelog.md";
license = licenses.bsd3;
maintainers = with maintainers; [ thiagokokada ];
};
}