nixpkgs/pkgs/games/instawow/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

49 lines
1.0 KiB
Nix
Raw Normal View History

2023-11-25 14:02:52 +00:00
{ lib, python3, fetchFromGitHub, plugins ? [ ] }:
python3.pkgs.buildPythonApplication rec {
pname = "instawow";
2024-01-19 04:05:06 +00:00
version = "3.2.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}";
sha256 = "sha256-eBpX+ojlrWwRXuMijnmb4lNlxIJ40Q9RUqS6txPBDiM=";
2023-11-25 14:02:52 +00:00
};
extras = [ ]; # Disable GUI, most dependencies are not packaged.
nativeBuildInputs = with python3.pkgs; [
poetry-core
poetry-dynamic-versioning
];
propagatedBuildInputs = with python3.pkgs; [
aiohttp
aiohttp-client-cache
alembic
attrs
cattrs
click
iso8601
loguru
mako
packaging
pluggy
prompt-toolkit
questionary
rapidfuzz
sqlalchemy
truststore
typing-extensions
yarl
] ++ plugins;
meta = with lib; {
homepage = "https://github.com/layday/instawow";
description = "World of Warcraft add-on manager CLI and GUI";
license = licenses.gpl3;
maintainers = with maintainers; [ seirl ];
};
}