Files
nixpkgs/pkgs/development/python-modules/agate/default.nix
T
Martin Weinelt 8ea6bde88d treewide: prune pythonOlder 3.10/3.11
This is a post 3.10 removal cleanup.
2026-02-15 04:33:54 +01:00

66 lines
1.2 KiB
Nix

{
lib,
stdenv,
babel,
buildPythonPackage,
cssselect,
fetchFromGitHub,
glibcLocales,
isodate,
leather,
lxml,
parsedatetime,
pyicu,
pytestCheckHook,
python-slugify,
pytimeparse,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "agate";
version = "1.14.1";
pyproject = true;
src = fetchFromGitHub {
owner = "wireservice";
repo = "agate";
tag = finalAttrs.version;
hash = "sha256-REo26vSWFzWsvJzmqlc5A5xEYA2TebQFW6jFRIbH53I=";
};
build-system = [ setuptools ];
dependencies = [
babel
isodate
leather
parsedatetime
python-slugify
pytimeparse
];
nativeCheckInputs = [
cssselect
glibcLocales
lxml
pyicu
pytestCheckHook
];
disabledTests = lib.optionals stdenv.isDarwin [
# Output is slightly different on macOS
"test_cast_format_locale"
];
pythonImportsCheck = [ "agate" ];
meta = {
description = "Python data analysis library that is optimized for humans instead of machines";
homepage = "https://github.com/wireservice/agate";
changelog = "https://github.com/wireservice/agate/blob/${finalAttrs.src.tag}/CHANGELOG.rst";
license = lib.licenses.mit;
maintainers = [ ];
};
})