diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2024-03-24 00:14:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-24 00:14:19 +0000 |
commit | 31a14cb69ecad9f7e98605f349368314f90abc18 (patch) | |
tree | e21363787b08e9ea05a7c08094222fdbeaa64f8f /pkgs/by-name/re/retool/package.nix | |
parent | c774347c25bf4c7e0a47e84dcbe18ca2bb9363a6 (diff) | |
parent | 79863957ca9002b96ab3e107e8cfffbd49980e12 (diff) |
Merge master into haskell-updates
Diffstat (limited to 'pkgs/by-name/re/retool/package.nix')
-rw-r--r-- | pkgs/by-name/re/retool/package.nix | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/pkgs/by-name/re/retool/package.nix b/pkgs/by-name/re/retool/package.nix new file mode 100644 index 0000000000000..18a982176d9c7 --- /dev/null +++ b/pkgs/by-name/re/retool/package.nix @@ -0,0 +1,55 @@ +{ lib +, stdenv +, python3 +, fetchFromGitHub +, qt6 +}: + +python3.pkgs.buildPythonApplication { + pname = "retool"; + version = "2.02.2-unstable-2024-03-17"; + + pyproject = true; + disabled = python3.pkgs.pythonOlder "3.10"; + + src = fetchFromGitHub { + owner = "unexpectedpanda"; + repo = "retool"; + rev = "30d547c7d04b8cbf7710b2037388bf18a00a0c22"; + hash = "sha256-5Tmi3eVJh9STP9A0dDNPDs4SlIWHw8sk+g1GgpnmqeE="; + }; + + nativeBuildInputs = with python3.pkgs; [ + hatchling + qt6.wrapQtAppsHook + ]; + + pythonRelaxDeps = true; + + buildInputs = [ + qt6.qtbase + ] ++ + lib.optionals (stdenv.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 = "A better filter tool for Redump and No-Intro dats"; + homepage = "https://github.com/unexpectedpanda/retool"; + license = licenses.bsd3; + maintainers = with maintainers; [ thiagokokada ]; + }; +} |