2023-10-09 19:29:22 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, python3
|
|
|
|
, fetchFromGitHub
|
|
|
|
, qt6
|
|
|
|
}:
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
python3.pkgs.buildPythonApplication rec {
|
2023-10-09 19:29:22 +00:00
|
|
|
pname = "retool";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "2.3.8";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
pyproject = true;
|
2023-10-09 19:29:22 +00:00
|
|
|
disabled = python3.pkgs.pythonOlder "3.10";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "unexpectedpanda";
|
|
|
|
repo = "retool";
|
2024-05-15 15:35:15 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-KGBpGZAC0SjStp0aulxVRJMmNwlpvSG0i0rtZgvFCpc=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
2024-04-21 15:54:59 +00:00
|
|
|
hatchling
|
2023-10-09 19:29:22 +00:00
|
|
|
qt6.wrapQtAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonRelaxDeps = true;
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
qt6.qtbase
|
|
|
|
] ++
|
2024-09-26 11:04:55 +00:00
|
|
|
lib.optionals (stdenv.hostPlatform.isLinux) [
|
2023-10-09 19:29:22 +00:00
|
|
|
qt6.qtwayland
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
alive-progress
|
2024-04-21 15:54:59 +00:00
|
|
|
darkdetect
|
2023-10-09 19:29:22 +00:00
|
|
|
lxml
|
|
|
|
psutil
|
|
|
|
pyside6
|
|
|
|
strictyaml
|
2024-04-21 15:54:59 +00:00
|
|
|
validators
|
2023-10-09 19:29:22 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# Upstream has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Better filter tool for Redump and No-Intro dats";
|
2023-10-09 19:29:22 +00:00
|
|
|
homepage = "https://github.com/unexpectedpanda/retool";
|
2024-07-27 06:49:29 +00:00
|
|
|
changelog = "https://github.com/unexpectedpanda/retool/blob/v${version}/changelog.md";
|
2023-10-09 19:29:22 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ thiagokokada ];
|
|
|
|
};
|
|
|
|
}
|