2024-01-02 11:29:13 +00:00
|
|
|
{ lib, python3, fetchFromGitHub, plugins ? [ ] }:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "instawow";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "4.4.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
pyproject = true;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "layday";
|
|
|
|
repo = pname;
|
2024-02-07 01:22:34 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-06-05 15:53:02 +00:00
|
|
|
sha256 = "sha256-LSn8b29IEPimwLpmYU7vRRH2dcyaCCr/dk9MzBIW4U0=";
|
2024-01-02 11:29:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extras = [ ]; # Disable GUI, most dependencies are not packaged.
|
|
|
|
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
2024-05-15 15:35:15 +00:00
|
|
|
hatchling
|
|
|
|
hatch-vcs
|
2024-01-02 11:29:13 +00:00
|
|
|
];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
aiohttp
|
|
|
|
aiohttp-client-cache
|
|
|
|
attrs
|
|
|
|
cattrs
|
|
|
|
click
|
2024-04-21 15:54:59 +00:00
|
|
|
diskcache
|
2024-01-02 11:29:13 +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-04-21 15:54:59 +00:00
|
|
|
mainProgram = "instawow";
|
2024-01-02 11:29:13 +00:00
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ seirl ];
|
|
|
|
};
|
|
|
|
}
|