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.1 KiB
Nix
Raw Normal View History

2023-08-23 21:48:57 +01:00
{ lib
, stdenv
, python3
, fetchFromGitHub
, qt6
}:
python3.pkgs.buildPythonApplication rec {
2023-08-23 21:48:57 +01:00
pname = "retool";
2024-05-07 20:42:12 +01:00
version = "2.3.8";
2023-08-23 21:48:57 +01:00
pyproject = true;
2023-08-23 21:48:57 +01:00
disabled = python3.pkgs.pythonOlder "3.10";
src = fetchFromGitHub {
owner = "unexpectedpanda";
repo = "retool";
2024-04-30 17:20:25 +01:00
rev = "refs/tags/v${version}";
2024-05-07 20:42:12 +01:00
hash = "sha256-KGBpGZAC0SjStp0aulxVRJMmNwlpvSG0i0rtZgvFCpc=";
2023-08-23 21:48:57 +01:00
};
nativeBuildInputs = with python3.pkgs; [
hatchling
2023-08-23 21:48:57 +01:00
qt6.wrapQtAppsHook
];
2023-09-11 19:18:18 +01:00
pythonRelaxDeps = true;
2023-08-23 21:48:57 +01:00
buildInputs = [
qt6.qtbase
] ++
lib.optionals (stdenv.hostPlatform.isLinux) [
qt6.qtwayland
];
propagatedBuildInputs = with python3.pkgs; [
alive-progress
darkdetect
2023-08-23 21:48:57 +01:00
lxml
psutil
pyside6
strictyaml
validators
2023-08-23 21:48:57 +01:00
];
# 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";
2024-06-16 21:48:03 +01:00
changelog = "https://github.com/unexpectedpanda/retool/blob/v${version}/changelog.md";
2023-08-23 21:48:57 +01:00
license = licenses.bsd3;
maintainers = with maintainers; [ thiagokokada ];
};
}