nixpkgs/pkgs/games/instawow/default.nix

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

47 lines
1,003 B
Nix
Raw Normal View History

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