2023-11-25 14:02:52 +00:00
|
|
|
{ lib, python3, fetchFromGitHub, plugins ? [ ] }:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "instawow";
|
2024-08-08 13:59:30 +00:00
|
|
|
version = "4.7.0";
|
2023-11-25 14:02:52 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "layday";
|
|
|
|
repo = pname;
|
2024-01-19 04:05:06 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-08-08 13:59:30 +00:00
|
|
|
sha256 = "sha256-tk/Lugjdzufl8VPcpj7R2q81SBE/+KtS3VhsXQ2VKZM=";
|
2023-11-25 14:02:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extras = [ ]; # Disable GUI, most dependencies are not packaged.
|
|
|
|
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
2024-04-28 01:55:28 +00:00
|
|
|
hatchling
|
|
|
|
hatch-vcs
|
2023-11-25 14:02:52 +00:00
|
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
aiohttp
|
|
|
|
aiohttp-client-cache
|
|
|
|
attrs
|
|
|
|
cattrs
|
|
|
|
click
|
2024-03-23 21:53:47 +00:00
|
|
|
diskcache
|
2023-11-25 14:02:52 +00:00
|
|
|
iso8601
|
|
|
|
loguru
|
|
|
|
packaging
|
|
|
|
pluggy
|
|
|
|
prompt-toolkit
|
|
|
|
rapidfuzz
|
|
|
|
truststore
|
|
|
|
typing-extensions
|
|
|
|
yarl
|
|
|
|
] ++ plugins;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/layday/instawow";
|
|
|
|
description = "World of Warcraft add-on manager CLI and GUI";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "instawow";
|
2023-11-25 14:02:52 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ seirl ];
|
|
|
|
};
|
|
|
|
}
|