2023-11-25 14:02:52 +00:00
|
|
|
{ lib, python3, fetchFromGitHub, plugins ? [ ] }:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "instawow";
|
2024-05-26 15:11:08 +01:00
|
|
|
version = "4.4.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-05-26 15:11:08 +01:00
|
|
|
sha256 = "sha256-LSn8b29IEPimwLpmYU7vRRH2dcyaCCr/dk9MzBIW4U0=";
|
2023-11-25 14:02:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extras = [ ]; # Disable GUI, most dependencies are not packaged.
|
|
|
|
|
|
|
|
nativeBuildInputs = with python3.pkgs; [
|
2024-04-28 02:55:28 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|