Files
nixpkgs/pkgs/development/python-modules/aocd/default.nix
T
Martin Weinelt 9e4c50aecc python3Packages.aocd: 2.1.0 -> 2.2.0
https://github.com/wimglenn/advent-of-code-data/releases/tag/v2.2.0

This commit was automatically generated using update-python-libraries.
2026-02-01 16:41:39 +01:00

77 lines
1.4 KiB
Nix

{
lib,
aocd-example-parser,
beautifulsoup4,
buildPythonPackage,
fetchFromGitHub,
numpy,
pebble,
pook,
pytest-freezegun,
pytest-mock,
pytest-cov-stub,
pytest-raisin,
pytest-socket,
pytestCheckHook,
python-dateutil,
requests,
requests-mock,
rich,
setuptools,
termcolor,
tzlocal,
}:
buildPythonPackage rec {
pname = "aocd";
version = "2.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "wimglenn";
repo = "advent-of-code-data";
tag = "v${version}";
hash = "sha256-Oe+9Ur5O2GSRY7qB8oja7quJqEX/0yXKh4R5+N4kv7Q=";
};
build-system = [ setuptools ];
dependencies = [
aocd-example-parser
beautifulsoup4
pebble
python-dateutil
requests
rich # for example parser aoce. must either be here or checkInputs
termcolor
tzlocal
];
nativeCheckInputs = [
numpy
pook
pytest-freezegun
pytest-mock
pytest-raisin
pytest-socket
pytestCheckHook
pytest-cov-stub
requests-mock
];
enabledTestPaths = [
"tests/"
];
pythonImportsCheck = [ "aocd" ];
meta = {
description = "Get your Advent of Code data with a single import statement";
homepage = "https://github.com/wimglenn/advent-of-code-data";
changelog = "https://github.com/wimglenn/advent-of-code-data/releases/tag/${src.tag}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ aadibajpai ];
platforms = lib.platforms.unix;
};
}