1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/pkgs/games/instawow/default.nix
2024-05-26 14:11:08 +00:00

47 lines
1,003 B
Nix

{ lib, python3, fetchFromGitHub, plugins ? [ ] }:
python3.pkgs.buildPythonApplication rec {
pname = "instawow";
version = "4.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "layday";
repo = pname;
rev = "refs/tags/v${version}";
sha256 = "sha256-LSn8b29IEPimwLpmYU7vRRH2dcyaCCr/dk9MzBIW4U0=";
};
extras = [ ]; # Disable GUI, most dependencies are not packaged.
nativeBuildInputs = with python3.pkgs; [
hatchling
hatch-vcs
];
propagatedBuildInputs = with python3.pkgs; [
aiohttp
aiohttp-client-cache
attrs
cattrs
click
diskcache
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";
mainProgram = "instawow";
license = licenses.gpl3;
maintainers = with maintainers; [ seirl ];
};
}