nixpkgs/pkgs/by-name/re/retool/package.nix

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

57 lines
1.0 KiB
Nix
Raw Normal View History

2023-08-23 20:48:57 +00:00
{ lib
, stdenv
, python3
, fetchFromGitHub
, qt6
}:
python3.pkgs.buildPythonApplication rec {
2023-08-23 20:48:57 +00:00
pname = "retool";
2024-05-07 19:42:12 +00:00
version = "2.3.8";
2023-08-23 20:48:57 +00:00
pyproject = true;
2023-08-23 20:48:57 +00:00
disabled = python3.pkgs.pythonOlder "3.10";
src = fetchFromGitHub {
owner = "unexpectedpanda";
repo = "retool";
2024-04-30 16:20:25 +00:00
rev = "refs/tags/v${version}";
2024-05-07 19:42:12 +00:00
hash = "sha256-KGBpGZAC0SjStp0aulxVRJMmNwlpvSG0i0rtZgvFCpc=";
2023-08-23 20:48:57 +00:00
};
nativeBuildInputs = with python3.pkgs; [
hatchling
pythonRelaxDepsHook
2023-08-23 20:48:57 +00:00
qt6.wrapQtAppsHook
];
2023-09-11 18:18:18 +00:00
pythonRelaxDeps = true;
2023-08-23 20:48:57 +00:00
buildInputs = [
qt6.qtbase
] ++
lib.optionals (stdenv.isLinux) [
qt6.qtwayland
];
propagatedBuildInputs = with python3.pkgs; [
alive-progress
darkdetect
2023-08-23 20:48:57 +00:00
lxml
psutil
pyside6
strictyaml
validators
2023-08-23 20:48:57 +00:00
];
# Upstream has no tests
doCheck = false;
meta = with lib; {
description = "A better filter tool for Redump and No-Intro dats";
homepage = "https://github.com/unexpectedpanda/retool";
license = licenses.bsd3;
maintainers = with maintainers; [ thiagokokada ];
};
}